DescriptionHeap-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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub advisories/code/issues, web search, more)
Debian Bugs773823, 773824

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libpng1.6 (PTS)buster1.6.36-6fixed
bookworm, sid1.6.39-2fixed
texlive-bin (PTS)buster2018.20181218.49446-1fixed
bookworm, sid2022.20220321.62855-5fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
icedovesource(unstable)(not affected)
iceweaselsource(unstable)(not affected)
libpngsource(unstable)(not affected)
texlive-binsourcesqueeze(not affected)
texlive-binsourcewheezy(not affected)


- libpng <not-affected> (Affects 1.5.x and 1.6.x series)
[squeeze] - texlive-bin <not-affected> (has a copy of libpng 1.2)
[wheezy] - texlive-bin <not-affected> (uses system libpng)
- iceweasel <not-affected> (squeeze used the system libpng, and later versions define their own limits)
- icedove <not-affected> (squeeze used the system libpng, and later versions define their own limits)

Search for package or bug name: Reporting problems