CVE-2016-3981

NameCVE-2016-3981
DescriptionHeap-based buffer overflow in the bmp_read_rows function in pngxrbmp.c in OptiPNG before 0.7.6 allows remote attackers to cause a denial of service (out-of-bounds read or write access and crash) or possibly execute arbitrary code via a crafted image file.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDSA-3546-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
optipng (PTS)buster, bullseye0.7.7-1fixed
bookworm0.7.7-2fixed
sid, trixie0.7.8+ds-1fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
optipngsourcewheezy0.6.4-1+deb7u2DSA-3546-1
optipngsourcejessie0.7.5-1+deb8u1DSA-3546-1
optipngsource(unstable)0.7.6-1

Notes

https://sourceforge.net/p/optipng/bugs/56/

Search for package or bug name: Reporting problems