CVE-2010-1205: Buffer Overflow
Buffer overflow in pngpread.c in libpng before 1.2.44 and 1.4.x before 1.4.3, as used in progressive applications, might allow remote attackers to execute arbitrary code via a PNG image that triggers an additional data row.
Other sources
Description of problem:
http://www.libpng.org/pub/png/libpng.html
Several versions of libpng through 1.4.2 (and through 1.2.43 in the older series) contain a bug whereby progressive applications such as web browsers (or the rpng2 demo app included in libpng) could receive an extra row of image data beyond the height reported in the header, potentially leading to an out-of-bounds write to memory (depending on how the application is written) and the possibility of execution of an attacker's code with the privileges of the libpng user (including remote compromise in the case of a libpng-based browser visiting a hostile web site). This vulnerability has been assigned ID CVE-2010-1205 (via Mozilla).
An additional memory-leak bug, involving images with malformed sCAL chunks, is also present; it could lead to an application crash (denial of service) when viewing such images.
Version-Release number of selected component (if applicable):
How reproducible:
Steps to Reproduce: 1. 2. 3. Actual results:
Expected results:
Additional info:
— Red Hat
libpng is vulnerable to a buffer overflow, caused by improper bounds checking by progressive applications when handling image row data. By sending an extra image row data beyond the reported height in the header, a remote attacker could overflow a buffer and execute arbitrary code on the system with the privileges of the victim.
— IBM
Affected Software
Remediation
Patch Available
Patch Available
Event History
Parent advisories
This vulnerability appears in the following advisories.
Frequently Asked Questions
What is the severity of CVE-2010-1205?
CVE-2010-1205 is a high severity vulnerability due to the potential for remote code execution via crafted PNG images.
How do I fix CVE-2010-1205?
To fix CVE-2010-1205, update to the latest versions of libpng which are 1.2.44 and later for the 1.2.x series or 1.4.3 and later for the 1.4.x series.
Which systems are affected by CVE-2010-1205?
CVE-2010-1205 affects various software packages that utilize libpng versions prior to 1.2.44 and 1.4.3.
Can CVE-2010-1205 impact web browsers?
Yes, CVE-2010-1205 can impact web browsers like Firefox and SeaMonkey that use vulnerable versions of libpng.
Is CVE-2010-1205 specific to any operating system?
CVE-2010-1205 affects multiple operating systems including Fedora, Red Hat, and Ubuntu, depending on the version of libpng used.