GLSA-200607-06 : libpng: Buffer overflow

High Nessus Plugin ID 22080


The remote Gentoo host is missing one or more security-related patches.


The remote host is affected by the vulnerability described in GLSA-200607-06 (libpng: Buffer overflow)

In pngrutil.c, the function png_decompress_chunk() allocates insufficient space for an error message, potentially overwriting stack data, leading to a buffer overflow.
Impact :

By enticing a user to load a maliciously crafted PNG image, an attacker could execute arbitrary code with the rights of the user, or crash the application using the libpng library, such as the emul-linux-x86-baselibs.
Workaround :

There is no known workaround at this time.


All libpng users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=media-libs/libpng-1.2.12' All AMD64 emul-linux-x86-baselibs users should also upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=app-emulation/emul-linux-x86-baselibs-2.5.1'

See Also

Plugin Details

Severity: High

ID: 22080

File Name: gentoo_GLSA-200607-06.nasl

Version: $Revision: 1.13 $

Type: local

Published: 2006/07/20

Modified: 2015/04/13

Dependencies: 12634

Risk Information

Risk Factor: High


Base Score: 7.5

Temporal Score: 6.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

Temporal Vector: CVSS2#E:ND/RL:OF/RC:C

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:emul-linux-x86-baselibs, p-cpe:/a:gentoo:linux:libpng, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list, Host/Gentoo/arch

Exploit Available: false

Exploit Ease: No known exploits are available

Patch Publication Date: 2006/07/19

Vulnerability Publication Date: 2006/06/27

Reference Information

CVE: CVE-2006-3334

BID: 18698

OSVDB: 28160

GLSA: 200607-06