CVE-2017-16938

NameCVE-2017-16938
DescriptionA global buffer overflow in OptiPNG 0.7.6 allows remote attackers to cause a denial-of-service attack or other unspecified impact with a maliciously crafted GIF format file, related to an uncontrolled loop in the LZWReadByte function of the gifread.c file.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-1196-1, DSA-4058-1
Debian Bugs878839

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
optipng (PTS)jessie, jessie (lts)0.7.5-1+deb8u3fixed
stretch (security)0.7.6-1+deb9u1fixed
stretch (lts), stretch0.7.6-1+deb9u2fixed
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+deb7u4DLA-1196-1
optipngsourcejessie0.7.5-1+deb8u2DSA-4058-1
optipngsourcestretch0.7.6-1+deb9u1DSA-4058-1
optipngsource(unstable)0.7.6-1.1878839

Notes

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

Search for package or bug name: Reporting problems