CVE-2018-20184

NameCVE-2018-20184
DescriptionIn GraphicsMagick 1.4 snapshot-20181209 Q8, there is a heap-based buffer overflow in the WriteTGAImage function of tga.c, which allows attackers to cause a denial of service via a crafted image file, because the number of rows or columns can exceed the pixel-dimension restrictions of the TGA specification.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-1619-1
Debian Bugs916721

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
graphicsmagick (PTS)buster1.4+really1.3.35-1~deb10u2fixed
buster (security)1.4+really1.3.35-1~deb10u3fixed
bullseye (security), bullseye1.4+really1.3.36+hg16481-2+deb11u1fixed
bookworm1.4+really1.3.40-4fixed
trixie1.4+really1.3.42-1fixed
sid1.4+really1.3.43-1fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
graphicsmagicksourcejessie1.3.20-3+deb8u5DLA-1619-1
graphicsmagicksourcestretch1.3.30+hg15796-1~deb9u3
graphicsmagicksource(unstable)1.4~hg15873-1916721

Notes

http://hg.graphicsmagick.org/hg/GraphicsMagick/rev/15d1b5fd003b
Upstream patch contains unrelated refactoring, trimmed down version available on
the Debian bug report: https://bugs.debian.org/916721#15
https://sourceforge.net/p/graphicsmagick/bugs/583/

Search for package or bug name: Reporting problems