PT-2015-2646 · Libpng Development Team+9 · Libpng+9

Adam Mariš

·

Published

2015-11-12

·

Updated

2024-09-06

·

CVE-2015-8126

CVSS v2.0

7.5

High

VectorAV:N/AC:L/Au:N/C:P/I:P/A:P
Name of the Vulnerable Software and Affected Versions libpng versions 1.0.0 through 1.0.63 libpng versions 1.1.x libpng versions 1.2.x through 1.2.53 libpng versions 1.3.x through 1.4.16 libpng versions 1.4.x through 1.4.16 libpng versions 1.5.x through 1.5.23 libpng versions 1.6.x through 1.6.18
Description The issue is caused by multiple buffer overflows in the png set PLTE and png get PLTE functions in libpng. This allows remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact via a small bit-depth value in an IHDR chunk in a PNG image. The vulnerability can be exploited by inserting a crafted IHDR header in a PNG image, potentially leading to a buffer overflow and allowing a remote attacker to execute arbitrary code on the system or cause the application to crash.
Recommendations For libpng versions 1.0.0 through 1.0.63, update to version 1.0.64 or later. For libpng versions 1.1.x, update to version 1.2.54 or later. For libpng versions 1.2.x through 1.2.53, update to version 1.2.54 or later. For libpng versions 1.3.x through 1.4.16, update to version 1.4.17 or later. For libpng versions 1.4.x through 1.4.16, update to version 1.4.17 or later. For libpng versions 1.5.x through 1.5.23, update to version 1.5.24 or later. For libpng versions 1.6.x through 1.6.18, update to version 1.6.19 or later. As a temporary workaround, consider disabling the png set PLTE and png get PLTE functions until a patch is available. Restrict access to PNG images with crafted IHDR headers to minimize the risk of exploitation. Avoid using the png check keyword function in pngwutil.c with overly long arguments until the issue is resolved.

Exploit

Fix

DoS

Buffer Overflow

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

Weakness Enumeration

Related Identifiers

ALT-PU-2015-2013
ALT-PU-2016-1283
ALT-PU-2019-1318
AZL-45078
BDU:2015-12011
CESA-2015_2594
CESA-2015_2595
CESA-2015_2596
CVE-2015-8126
DLA-343-1
DLA-410-1
DSA-3399-1
DSA-3443-1
DSA-3507-1
MGASA-2015-0451
OESA-2024-2091
OPENSUSE-SU-2015_2099-1
OPENSUSE-SU-2015_2100-1
OPENSUSE-SU-2016_0263-1
OPENSUSE-SU-2016_0268-1
OPENSUSE-SU-2016_0270-1
OPENSUSE-SU-2016_0272-1
OPENSUSE-SU-2016_0279-1
OPENSUSE-SU-2016_0664-1
OPENSUSE-SU-2016_0684-1
OPENSUSE-SU-2016_0729-1
OPENSUSE-SU-2016_1652-1
OPENSUSE-SU-2024:10050-1
OPENSUSE-SU-2024:10064-1
OPENSUSE-SU-2024:10171-1
OPENSUSE-SU-2024:10197-1
OPENSUSE-SU-2024:10534-1
OPENSUSE-SU-2024:12948-1
RHSA-2015:2594
RHSA-2015:2595
RHSA-2015:2596
RHSA-2015_2594
RHSA-2015_2595
RHSA-2015_2596
RHSA-2016:0055
RHSA-2016:0056
RHSA-2016:0057
RHSA-2016:0098
RHSA-2016:0099
RHSA-2016:0100
RHSA-2016:0101
RHSA-2016:1430
RHSA-2016_0055
RHSA-2016_0056
RHSA-2016_0057
RHSA-2016_0098
RHSA-2016_0099
RHSA-2016_0101
SUSE-SU-2015:2013-1
SUSE-SU-2015:2017-1
SUSE-SU-2015:2024-1
SUSE-SU-2015_2013-1
SUSE-SU-2016:0027-1
SUSE-SU-2016:0041-1
SUSE-SU-2016:0050-1
SUSE-SU-2016:0061-1
SUSE-SU-2016:0256-1
SUSE-SU-2016:0265-1
SUSE-SU-2016:0269-1
SUSE-SU-2016:0390-1
SUSE-SU-2016:0399-1
SUSE-SU-2016:0401-1
SUSE-SU-2016:0428-1
SUSE-SU-2016:0431-1
SUSE-SU-2016:0433-1
SUSE-SU-2016:0636-1
SUSE-SU-2016:0770-1
SUSE-SU-2016_0027-1
SUSE-SU-2016_0041-1
SUSE-SU-2016_0050-1
SUSE-SU-2016_0061-1
USN-2815-1

Affected Products

Alt Linux
Centos
Google Chrome
Ibm Aix
Java Platform
Opera
Red Hat
Suse
Ubuntu
Libpng