PT-2012-1090 · Libpng+3 · Libpng+3

Jüri Aedla

·

Published

2012-04-25

·

Updated

2024-09-06

·

CVE-2011-3048

CVSS v2.0

7.8

High

VectorAV:N/AC:L/Au:N/C:N/I:N/A:C
Name of the Vulnerable Software and Affected Versions libpng versions 1.0.x through 1.0.58 libpng versions 1.2.x through 1.2.48 libpng versions 1.4.x through 1.4.10 libpng versions 1.5.x through 1.5.9
Description The issue is related to the png set text 2 function in pngset.c, which allows remote attackers to cause a denial of service or execute arbitrary code via a crafted text chunk in a PNG image file. This triggers a memory allocation failure that is not properly handled, leading to a heap-based buffer overflow. The vulnerability can be exploited remotely and may lead to a disruption of confidentiality, integrity, and availability of protected information.
Recommendations For libpng versions 1.0.x through 1.0.58, update to version 1.0.59 or later. For libpng versions 1.2.x through 1.2.48, update to version 1.2.49 or later. For libpng versions 1.4.x through 1.4.10, update to version 1.4.11 or later. For libpng versions 1.5.x through 1.5.9, update to version 1.5.10 or later. As a temporary workaround, consider disabling the png set text 2 function until a patch is available. Restrict access to PNG image files to minimize the risk of exploitation. Avoid using crafted text chunks in PNG image files until the issue is resolved.

Fix

DoS

Buffer Overflow

Memory Leak

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BDU:2015-07018
BDU:2015-07025
BDU:2015-07346
BDU:2015-07349
BDU:2015-07351
BDU:2015-07353
BDU:2015-08784
BDU:2015-08785
BDU:2015-08786
BDU:2015-08787
BDU:2015-08788
BDU:2015-08789
BDU:2015-09650
CESA-2012_0523
CVE-2011-3048
DSA-2446-1
OESA-2024-2091
RHSA-2012:0523
RHSA-2012_0523
SUSE-SU-2012_0732-1

Affected Products

Centos
Red Hat
Suse
Libpng