Description
Heap-based buffer overflow in the png_combine_row function in libpng before 1.5.21 and 1.6.x before 1.6.16, when running on 64-bit systems, might allow context-dependent attackers to execute arbitrary code via a "very wide interlaced" PNG image.
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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | libpng1.6 | 1.6.16-1 | — |
| Debian 14 | texlive-bin | 2014.20140926.35254-4 | — |
| Debian 13 | libpng1.6 | 1.6.16-1 | — |
| Debian 13 | texlive-bin | 2014.20140926.35254-4 | — |
| Debian 12 | libpng1.6 | 1.6.16-1 | — |
| Debian 12 | texlive-bin | 2014.20140926.35254-4 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 1 repository
-
Enessar/LibPNG_OSS-Fuzz ★ 1 · Oct 25, 2025
Security research project on fuzzing libpng with OSS-Fuzz. Includes seed corpus analysis, custom read/write fuzzers, and a proof-of-concept exploit for CVE-2014-9495.
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- [oss-security] 20150103 Re: CVE Request: libpng 1.6.15 Heap Overflow mailing-list
- 71820 vdb-entry
- APPLE-SA-2016-03-21-5 vendor-advisory
- https://support.apple.com/HT206167
- [png-mng-announce] 20141222 libpng-1.5.21 and 1.6.16 are available mailing-list
- [oss-security] 20150109 Re: CVE Request: libpng 1.6.15 Heap Overflow mailing-list
- http://www.oracle.com/technetwork/topics/security/bulletinjul2015-2511963.html
- [oss-security] 20150110 Re: CVE Request: libpng 1.6.15 Heap Overflow mailing-list
- [png-mng-implement] 20141221 Re: libpng-1.5.21rc02 and 1.6.16rc02 are available mailing-list
- 1031444 vdb-entry
- 62725 third-party-advisory