Name | CVE-2018-5685 |
Description | In GraphicsMagick 1.3.27, there is an infinite loop and application hang in the ReadBMPImage function (coders/bmp.c). Remote attackers could leverage this vulnerability to cause a denial of service via an image file with a crafted bit-field mask value. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-1245-1, DLA-1456-1, DSA-4321-1 |
Debian Bugs | 887158 |
Vulnerable and fixed packages
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 | 1.4+really1.3.40-4 | fixed |
| sid, trixie | 1.4+really1.3.45-1 | fixed |
The information below is based on the following data on fixed versions.
Notes
http://hg.graphicsmagick.org/hg/GraphicsMagick/rev/52a91ddb1aa6
https://sourceforge.net/p/graphicsmagick/bugs/541/
Before 1.3.27, the problem only affects 32-bit architectures (i.e., 4-byte long) it
expanded to 64-bit architectures with upstream commit be5e89e6032d