| Name | CVE-2018-20184 |
| Description | In 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| References | DLA-1619-1 |
| Debian Bugs | 916721 |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| graphicsmagick (PTS) | bullseye (security), bullseye | 1.4+really1.3.36+hg16481-2+deb11u1 | fixed |
| bookworm, bookworm (security) | 1.4+really1.3.40-4+deb12u1 | fixed | |
| forky, sid, trixie | 1.4+really1.3.45+hg17696-1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| graphicsmagick | source | jessie | 1.3.20-3+deb8u5 | DLA-1619-1 | ||
| graphicsmagick | source | stretch | 1.3.30+hg15796-1~deb9u3 | |||
| graphicsmagick | source | (unstable) | 1.4~hg15873-1 | 916721 |
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/