Description
The sPLT chunk handling code (png_set_sPLT function in pngset.c) in libpng 1.0.6 through 1.2.12 uses a sizeof operator on the wrong data type, which allows context-dependent attackers to cause a denial of service (crash) via malformed sPLT chunks that trigger an out-of-bounds read.
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.
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 5 | libpng +1 | 2:1.2.10-7.0.2 | RHSA-2007:0356 |
| RHEL 4 | libpng +1 | 2:1.2.7-3.el4 | RHSA-2007:0356 |
| RHEL 4 | libpng10 +1 | 1.0.16-3 | RHSA-2007:0356 |
| RHEL 3 | libpng +1 | 2:1.2.2-27 | RHSA-2007:0356 |
| RHEL 3 | libpng10 +1 | 1.0.13-17 | RHSA-2007:0356 |
| RHEL 2 | libpng +1 | 2:1.0.14-10 | RHSA-2007:0356 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | libpng16 | 1.6.37-3.3 | openSUSE-SU-2024:10972-1 |
Advisories 2
- RHSA-2007:0356 Red Hat Security Advisory: libpng security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- openSUSE-SU-2024:10972-1 libpng16-16-1.6.37-3.3 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
References
- http://support.avaya.com/elmodocs2/security/ASA-2007-254.htm
- MDKSA-2006:209 vendor-advisory
- 22941 third-party-advisory
- oval:org.mitre.oval:def:10324 vdb-entry signature
- 22956 third-party-advisory
- https://issues.rpath.com/browse/RPL-824
- 22958 third-party-advisory
- http://www.coresecurity.com/?action=item&id=2148
- http://bugs.gentoo.org/show_bug.cgi?id=154380
- SUSE-SR:2006:028 vendor-advisory
- ADV-2008-0924 vdb-entry
- 21078 vdb-entry
- 22951 third-party-advisory
- https://issues.rpath.com/browse/RPL-790
- GLSA-200611-09 vendor-advisory
- 23335 third-party-advisory
- 25329 third-party-advisory
- ADV-2006-4521 vdb-entry
- 29420 third-party-advisory
- 1017244 vdb-entry
- http://sourceforge.net/project/shownotes.php?release_id=464278
- APPLE-SA-2008-03-18 vendor-advisory
- 20061204 rPSA-2006-0211-2 doxygen libpng mailing-list
- MDKSA-2006:210 vendor-advisory
- 23208 third-party-advisory
- http://android-developers.blogspot.com/2008/03/android-sdk-update-m5-rc15-released.html
- MDKSA-2006:212 vendor-advisory
- 22889 third-party-advisory
- http://bugs.gentoo.org/attachment.cgi?id=101400&action=view
- 20061115 rPSA-2006-0211-1 libpng mailing-list
- RHSA-2007:0356 vendor-advisory
- OpenPKG-SA-2006.036 vendor-advisory
- USN-383-1 vendor-advisory
- http://docs.info.apple.com/article.html?artnum=307562
- 22950 third-party-advisory
- libpng-pngsetsplt-dos(30290) vdb-entry
- 22900 third-party-advisory
- MDKSA-2006:211 vendor-advisory
- ADV-2006-4568 vdb-entry
- SSA:2006-335-03 vendor-advisory
- 25742 third-party-advisory
- 2006-0065 vendor-advisory
- 20080304 CORE-2008-0124: Multiple vulnerabilities in Google's Android SDK mailing-list