Skip to content
OpenAdvisories
Unscored CVE-2011-3048 EUVD-2011-3016GHSA-mmpj-hr4h-5g99

The png_set_text_2 function in pngset.c in libpng 1.0.x before 1.0.59, 1.2.x before 1.2.49, 1.4.x before 1.4.11, and 1.5.x before 1.5.10 al…

Published May 29, 2012 · Updated Aug 6, 2024 · Assigned by mitre

Description

The png_set_text_2 function in pngset.c in libpng 1.0.x before 1.0.59, 1.2.x before 1.2.49, 1.4.x before 1.4.11, and 1.5.x before 1.5.10 allows remote attackers to cause a denial of service (crash) or execute arbitrary code via a crafted text chunk in a PNG image file, which triggers a memory allocation failure that is not properly handled, leading to a heap-based buffer overflow.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 6.0 libpng 1.2.44-1+squeeze4 DSA-2446-1
ReleasePackageFixed inAdvisory
RHEL 6 libpng +2 2:1.2.49-1.el6_2 RHSA-2012:0523
RHEL 5 libpng +1 2:1.2.10-17.el5_8 RHSA-2012:0523

Advisories 2

References