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, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
ReferencesDLA-1619-1
NVD severitymedium (attack range: remote)
Debian Bugs916721

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
graphicsmagick (PTS)jessie1.3.20-3+deb8u2vulnerable
jessie (security)1.3.20-3+deb8u7fixed
stretch (security), stretch1.3.30+hg15796-1~deb9u2vulnerable
buster1.4~hg15978-1fixed
bullseye, sid1.4+really1.3.33-1fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
graphicsmagicksource(unstable)1.4~hg15873-1medium916721
graphicsmagicksourcejessie1.3.20-3+deb8u5mediumDLA-1619-1

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