CVE-2018-20185

NameCVE-2018-20185
DescriptionIn GraphicsMagick 1.4 snapshot-20181209 Q8 on 32-bit platforms, there is a heap-based buffer over-read in the ReadBMPImage function of bmp.c, which allows attackers to cause a denial of service via a crafted bmp image file. This only affects GraphicsMagick installations with customized BMP limits.
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 severitylow (attack range: remote)
Debian Bugs916719

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+hg16117-1fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
graphicsmagicksource(unstable)1.4~hg15880-1low916719
graphicsmagicksourcejessie1.3.20-3+deb8u5lowDLA-1619-1

Notes

Partial fix: http://hg.graphicsmagick.org/hg/GraphicsMagick/rev/648e3977a293
https://sourceforge.net/p/graphicsmagick/bugs/582/
Partial fix adressed in 1.4~hg15873-1, but according to maintainer not yet
complete: Cf. https://bugs.debian.org/916719#15
Fix causes more issues: https://bugzilla.suse.com/show_bug.cgi?id=1119823#c1
Followup: http://hg.graphicsmagick.org/hg/GraphicsMagick/rev/c38fc0e3e465

Search for package or bug name: Reporting problems