[GLSA-200903-28] libpng: Multiple vulnerabilities
Multiple vulnerabilities were found in libpng, which might result in the execution of arbitrary code
Background
libpng is the official PNG reference library used to read, write and
manipulate PNG images.
Description
Multiple vulnerabilities were discovered in libpng:
- A memory leak bug was reported in png_handle_tEXt(), a function that is used while reading PNG images (CVE-2008-6218).
- A memory overwrite bug was reported by Jon Foster in png_check_keyword(), caused by writing overlong keywords to a PNG file (CVE-2008-5907).
- A memory corruption issue, caused by an incorrect handling of an out of memory condition has been reported by Tavis Ormandy of the Google Security Team. That vulnerability affects direct uses of png_read_png(), pCAL chunk and 16-bit gamma table handling (CVE-2009-0040).
Impact
A remote attacker may execute arbitrary code with the privileges of the
user opening a specially crafted PNG file by exploiting the erroneous
out-of-memory handling. An attacker may also exploit the
png_check_keyword() error to set arbitrary memory locations to 0, if
the application allows overlong, user-controlled keywords when writing
PNG files. The png_handle_tEXT() vulnerability may be exploited by an
attacker to potentially consume all memory on a users system when a
specially crafted PNG file is opened.
Workaround
There is no known workaround at this time.
Resolution
All libpng users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose ">=media-libs/libpng-1.2.35"
Package | Affected Version |
---|---|
pkg:ebuild/media-libs/libpng?distro=gentoo | < 1.2.35 |
Package | Unaffected Version |
---|---|
pkg:ebuild/media-libs/libpng?distro=gentoo | >= 1.2.35 |
- ID
- GLSA-200903-28
- Severity
- normal
- URL
- https://security.gentoo.org/glsa/200903-28
- Published
-
2009-03-15T00:00:00
(15 years ago) - Modified
-
2009-03-15T00:00:00
(15 years ago) - Rights
- Gentoo Foundation, Inc.
- Other Advisories
-
- ELSA-2009-0315
- ELSA-2009-0333
- FEDORA-2009-1976
- FEDORA-2009-2045
- FEDORA-2009-2112
- FEDORA-2009-2128
- FEDORA-2009-2131
- FEDORA-2009-2882
- FEDORA-2009-2884
- FEDORA-2009-6531
- FEDORA-2009-6603
- FREEBSD:EA2411A4-08E8-11DE-B88A-0022157515B2
- GLSA-201209-25
- GLSA-201412-08
- SSA:2009-051-01
- USN-728-1
- USN-730-1
- VU:649212
Source | # ID | Name | URL |
---|---|---|---|
CVE | CVE-2008-5907 | CVE-2008-5907 | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-5907 |
CVE | CVE-2008-6218 | CVE-2008-6218 | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-6218 |
CVE | CVE-2009-0040 | CVE-2009-0040 | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-0040 |
Bugzilla | 244808 | Bugzilla #244808 | https://bugs.gentoo.org/show_bug.cgi?id=244808 |
Bugzilla | 255231 | Bugzilla #255231 | https://bugs.gentoo.org/show_bug.cgi?id=255231 |
Bugzilla | 259578 | Bugzilla #259578 | https://bugs.gentoo.org/show_bug.cgi?id=259578 |
# CVE | Description | CVSS | EPSS | EPSS Trend (30 days) | Affected Products | Weaknesses | Security Advisories | Exploits | PoC | Pubblication Date | Modification Date |
---|---|---|---|---|---|---|---|---|---|---|---|
# CVE | Description | CVSS | EPSS | EPSS Trend (30 days) | Affected Products | Weaknesses | Security Advisories | PoC | Pubblication Date | Modification Date |