Gentoo Logo

libpng: Denial of Service


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200611-09 / libpng
Release Date November 17, 2006
Latest Revision November 17, 2006: 01
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
media-libs/libpng < 1.2.13 >= 1.2.13 All supported architectures

Related bugreports: #154380


A vulnerability in libpng may allow a remote attacker to crash applications that handle untrusted images.

2.  Impact Information


libpng is a free ANSI C library used to process and manipulate PNG images.


Tavis Ormandy of the Gentoo Linux Security Audit Team discovered that a vulnerability exists in the sPLT chunk handling code of libpng, a large sPLT chunk may cause an application to attempt to read out of bounds.


A remote attacker could craft an image that when processed or viewed by an application using libpng causes the application to terminate abnormally.

3.  Resolution Information


There is no known workaround at this time.


All libpng users should upgrade to the latest version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=media-libs/libpng-1.2.13"

4.  References


Page updated November 17, 2006

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Copyright 2001-2015 Gentoo Foundation, Inc. Questions, Comments? Contact us.