Date: Wed, 19 Jul 2006 18:54:44 +0200
From: Thierry Carrez <koon@gentoo.org.>
To: [email protected]Subject: [ GLSA 200607-06 ] libpng: Buffer overflow
X-Enigmail-Version: 0.94.0.0
Content-Type: multipart/signed; micalg=pgp-sha1;
protocol="application/pgp-signature";
boundary="------------enig9CB59E66F0E7189076BE06A3"
X-Virus-Scanned: antivirus-gw at tyumen.ru
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig9CB59E66F0E7189076BE06A3
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory GLSA 200607-06
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Severity: Normal
Title: libpng: Buffer overflow
Date: July 19, 2006
Bugs: #138433, #138672
ID: 200607-06
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Synopsis
=3D=3D=3D=3D=3D=3D=3D=3D
A buffer overflow has been found in the libpng library that could lead
to the execution of arbitrary code.
Background
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
libpng is an open, extensible image format library, with lossless
compression.
Affected packages
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
-------------------------------------------------------------------
Package / Vulnerable / Unaffected
-------------------------------------------------------------------
1 libpng < 1.2.12 >=3D 1.2.12
2 emul-linux-x86-baselibs < 2.5.1 >=3D 2.5.1
-------------------------------------------------------------------
# Package 2 [app-emulation/emul-linux-x86-baselibs] only applies
to AMD64 users.
NOTE: Any packages listed without architecture tags apply to all
architectures...
-------------------------------------------------------------------
2 affected packages
-------------------------------------------------------------------
Description
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
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
=3D=3D=3D=3D=3D=3D
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
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
There is no known workaround at this time.
Resolution
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
All libpng users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose ">=3Dmedia-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
">=3Dapp-emulation/emul-linux-x86-baselibs-2.5.1"
References
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
[ 1 ] libpng Changelog
http://heanet.dl.sourceforge.net/sourceforge/libpng/libpng-1.2.12-README.=
txt
[ 2 ] CVE-2006-3334
http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=3DCVE-2006-3334=
Availability
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:
http://security.gentoo.org/glsa/glsa-200607-06.xml
Concerns?
=3D=3D=3D=3D=3D=3D=3D=3D=3D
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
[email protected] or alternatively, you may file a bug at
http://bugs.gentoo.org.
License
=3D=3D=3D=3D=3D=3D=3D
Copyright 2006 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.
http://creativecommons.org/licenses/by-sa/2.5
--------------enig9CB59E66F0E7189076BE06A3
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFEvmPavcL1obalX08RAuf1AJ9csVulfvVwh2QOLSkEf5bP7h9sqQCfX1ji
h3FWHJSLZyi1s8rcRkf8YLU=
=zdcs
-----END PGP SIGNATURE-----
--------------enig9CB59E66F0E7189076BE06A3--