GLSA 200408-03: libpng: Numerous vulnerabilities

Title:libpng: Numerous vulnerabilities
Bugs: #59424


libpng contains numerous vulnerabilities potentially allowing an attacker to perform a Denial of Service attack or even execute arbitrary code.


libpng is a standard library used to process PNG (Portable Network Graphics) images. It is used by several other programs, including web browsers and potentially server processes.

Affected packages

Package Vulnerable Unaffected Architecture(s)
media-libs/libpng <= 1.2.5-r7 >= 1.2.5-r8 All supported architectures


libpng contains numerous vulnerabilities including null pointer dereference errors and boundary errors in various functions.


An attacker could exploit these vulnerabilities to cause programs linked against the library to crash or execute arbitrary code with the permissions of the user running the vulnerable program, which could be the root user.


There is no known workaround at this time. All users are encouraged to upgrade to the latest available version.


All libpng users should upgrade to the latest stable version:

    # emerge sync

    # emerge -pv ">=media-libs/libpng-1.2.5-r8"
    # emerge ">=media-libs/libpng-1.2.5-r8"

You should also run revdep-rebuild to rebuild any packages that depend on older versions of libpng :

# revdep-rebuild



This GLSA and any updates to it are available for viewing at the Gentoo Security Website:


Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users machines is of utmost importance to us. Any security concerns should be addressed to or alternatively, you may file a bug at


Copyright 2010 Gentoo Foundation, Inc; referenced text belongs to its owner(s). The contents of this document are licensed under the Creative Commons - Attribution / Share Alike license.

Thank you!