CVE-2015-8472: Buffer Overflow

Published Nov 12, 2015
·
Updated

Buffer overflow in libpng allows remote attackers to cause a denial of service

Other sources

Buffer overflow in the pngsetPLTE function in libpng before 1.0.65, 1.1.x and 1.2.x before 1.2.55, 1.3.x, 1.4.x before 1.4.18, 1.5.x before 1.5.25, and 1.6.x before 1.6.20 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 (aka image header) chunk in a PNG image. NOTE: this vulnerability exists because of an incomplete fix for CVE-2015-8126.

It was discovered that the pnggetPLTE() and pngsetPLTE() functions of libpng did not correctly calculate the maximum palette sizes for bit depths of less than 8. In case an application tried to use these functions in combination with properly calculated palette sizes, this could lead to a buffer overflow or out-of-bounds reads. An attacker could exploit this to cause a crash or potentially execute arbitrary code by tricking an unsuspecting user into processing a specially crafted PNG image. However, the exact impact is dependent on the application using the library.

Affected Software

136 affected componentsFixes available
redhat/java<1.7.0-oracle-1:1.7.0.95-1jpp.1.el5_11
1.7.0-oracle-1:1.7.0.95-1jpp.1.el5_11
redhat/java<1.6.0-sun-1:1.6.0.111-1jpp.3.el5_11
1.6.0-sun-1:1.6.0.111-1jpp.3.el5_11
redhat/java<1.8.0-oracle-1:1.8.0.71-1jpp.1.el6_7
1.8.0-oracle-1:1.8.0.71-1jpp.1.el6_7
redhat/java<1.7.0-oracle-1:1.7.0.95-1jpp.1.el6_7
1.7.0-oracle-1:1.7.0.95-1jpp.1.el6_7
redhat/java<1.6.0-sun-1:1.6.0.111-1jpp.3.el6_7
1.6.0-sun-1:1.6.0.111-1jpp.3.el6_7
redhat/java<1.8.0-oracle-1:1.8.0.71-1jpp.1.el7
1.8.0-oracle-1:1.8.0.71-1jpp.1.el7
redhat/java<1.7.0-oracle-1:1.7.0.95-1jpp.2.el7
1.7.0-oracle-1:1.7.0.95-1jpp.2.el7
redhat/java<1.6.0-sun-1:1.6.0.111-1jpp.1.el7
1.6.0-sun-1:1.6.0.111-1jpp.1.el7
redhat/java<1.7.0-ibm-1:1.7.0.9.30-1jpp.1.el5
1.7.0-ibm-1:1.7.0.9.30-1jpp.1.el5
redhat/java<1.6.0-ibm-1:1.6.0.16.20-1jpp.1.el5
1.6.0-ibm-1:1.6.0.16.20-1jpp.1.el5
redhat/libpng<2:1.2.49-2.el6_7
2:1.2.49-2.el6_7
redhat/java<1.7.1-ibm-1:1.7.1.3.30-1jpp.2.el6_7
1.7.1-ibm-1:1.7.1.3.30-1jpp.2.el6_7
redhat/java<1.6.0-ibm-1:1.6.0.16.20-1jpp.1.el6_7
1.6.0-ibm-1:1.6.0.16.20-1jpp.1.el6_7
redhat/libpng12<0:1.2.50-7.el7_2
0:1.2.50-7.el7_2
redhat/libpng<2:1.5.13-7.el7_2
2:1.5.13-7.el7_2
redhat/java<1.8.0-ibm-1:1.8.0.2.10-1jpp.1.el7
1.8.0-ibm-1:1.8.0.2.10-1jpp.1.el7
redhat/java<1.7.1-ibm-1:1.7.1.3.30-1jpp.1.el7
1.7.1-ibm-1:1.7.1.3.30-1jpp.1.el7
redhat/java<1.7.0-ibm-1:1.7.0.9.40-1jpp.1.el5
1.7.0-ibm-1:1.7.0.9.40-1jpp.1.el5
redhat/java<1.7.1-ibm-1:1.7.1.3.40-1jpp.1.el6_7
1.7.1-ibm-1:1.7.1.3.40-1jpp.1.el6_7
redhat/spacewalk-java<0:2.0.2-109.el6
0:2.0.2-109.el6
redhat/spacewalk-java<0:2.3.8-146.el6
0:2.3.8-146.el6
Apple iOS and macOS<=10.11.3
libpng LIBPNG=1.0.64
libpng LIBPNG=1.2.0
libpng LIBPNG=1.2.1
libpng LIBPNG=1.2.2
libpng LIBPNG=1.2.3
libpng LIBPNG=1.2.4
libpng LIBPNG=1.2.10
libpng LIBPNG=1.2.11
libpng LIBPNG=1.2.12
libpng LIBPNG=1.2.13
libpng LIBPNG=1.2.14
libpng LIBPNG=1.2.15
libpng LIBPNG=1.2.16
libpng LIBPNG=1.2.17
libpng LIBPNG=1.2.18
libpng LIBPNG=1.2.19
libpng LIBPNG=1.2.20
libpng LIBPNG=1.2.21
libpng LIBPNG=1.2.22
libpng LIBPNG=1.2.23
libpng LIBPNG=1.2.24
libpng LIBPNG=1.2.25
libpng LIBPNG=1.2.26
libpng LIBPNG=1.2.27
libpng LIBPNG=1.2.28
libpng LIBPNG=1.2.29
libpng LIBPNG=1.2.30
libpng LIBPNG=1.2.31
libpng LIBPNG=1.2.32
libpng LIBPNG=1.2.33
libpng LIBPNG=1.2.34
libpng LIBPNG=1.2.35
libpng LIBPNG=1.2.36
libpng LIBPNG=1.2.37
libpng LIBPNG=1.2.38
libpng LIBPNG=1.2.39
libpng LIBPNG=1.2.40
libpng LIBPNG=1.2.41
libpng LIBPNG=1.2.42
libpng LIBPNG=1.2.43
libpng LIBPNG=1.2.44
libpng LIBPNG=1.2.45
libpng LIBPNG=1.2.46
libpng LIBPNG=1.2.47
libpng LIBPNG=1.2.48
libpng LIBPNG=1.2.49
libpng LIBPNG=1.2.50
libpng LIBPNG=1.2.51
libpng LIBPNG=1.2.52
libpng LIBPNG=1.2.53
libpng LIBPNG=1.2.54
libpng LIBPNG=1.4.0
libpng LIBPNG=1.4.1
libpng LIBPNG=1.4.2
libpng LIBPNG=1.4.3
libpng LIBPNG=1.4.4
libpng LIBPNG=1.4.5
libpng LIBPNG=1.4.6
libpng LIBPNG=1.4.7
libpng LIBPNG=1.4.8
libpng LIBPNG=1.4.9
libpng LIBPNG=1.4.10
libpng LIBPNG=1.4.11
libpng LIBPNG=1.4.12
libpng LIBPNG=1.4.13
libpng LIBPNG=1.4.14
libpng LIBPNG=1.4.15
libpng LIBPNG=1.4.16
libpng LIBPNG=1.4.17
libpng LIBPNG=1.5.1
libpng LIBPNG=1.5.2
libpng LIBPNG=1.5.3
libpng LIBPNG=1.5.4
libpng LIBPNG=1.5.5
libpng LIBPNG=1.5.6
libpng LIBPNG=1.5.7
libpng LIBPNG=1.5.8
libpng LIBPNG=1.5.9
libpng LIBPNG=1.5.10
libpng LIBPNG=1.5.11
libpng LIBPNG=1.5.12
libpng LIBPNG=1.5.13
libpng LIBPNG=1.5.14
libpng LIBPNG=1.5.15
libpng LIBPNG=1.5.16
libpng LIBPNG=1.5.17
libpng LIBPNG=1.5.18
libpng LIBPNG=1.5.19
libpng LIBPNG=1.5.20
libpng LIBPNG=1.5.21
libpng LIBPNG=1.5.22
libpng LIBPNG=1.5.23
libpng LIBPNG=1.5.24
libpng LIBPNG=1.6.0
libpng LIBPNG=1.6.1
libpng LIBPNG=1.6.2
libpng LIBPNG=1.6.3
libpng LIBPNG=1.6.4
libpng LIBPNG=1.6.5
libpng LIBPNG=1.6.6
libpng LIBPNG=1.6.7
libpng LIBPNG=1.6.8
libpng LIBPNG=1.6.9
libpng LIBPNG=1.6.10
libpng LIBPNG=1.6.11
libpng LIBPNG=1.6.12
libpng LIBPNG=1.6.13
libpng LIBPNG=1.6.14
libpng LIBPNG=1.6.15
libpng LIBPNG=1.6.16
libpng LIBPNG=1.6.17
libpng LIBPNG=1.6.18
libpng LIBPNG=1.6.19
Microsoft azl3 fltk 1.3.8-1

Event History

Nov 12, 2015
CVE Published
12:00 AM
Jan 21, 2016
CVE Published
via MITRE·03:00 PM
Data Sourced
via MITRE·03:00 PM
Description
Mar 14, 2025
Data Sourced
via Microsoft·07:00 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·07:00 AM
Affected Software
Updated
via Microsoft·07:00 AM
DescriptionSeverity

Frequently Asked Questions

1

What is the severity of CVE-2015-8472?

CVE-2015-8472 has a severity rating of moderate due to its potential to cause application crashes and denial of service.

2

What types of attacks can exploit CVE-2015-8472?

CVE-2015-8472 can be exploited by remote attackers to trigger a buffer overflow, leading to application crashes or other unspecified impacts.

3

How do I fix CVE-2015-8472?

To fix CVE-2015-8472, upgrade to a version of libpng that is patched, specifically to version 1.0.65 or later, 1.2.55 or later, or the appropriate version listed by your software vendor.

4

Which software versions are affected by CVE-2015-8472?

CVE-2015-8472 affects various versions of libpng prior to 1.0.65, 1.1.x, 1.2.x before 1.2.55, and several other versions detailed in the vulnerability report.

5

What are the potential impacts of CVE-2015-8472?

The potential impacts of CVE-2015-8472 include application crashes and denial of service, which can affect the availability of services relying on the vulnerable software.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203