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, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-1619-1
Debian Bugs916719

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~hg15880-1916719

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