CVE-2018-20185
What it is
In 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.
At a glance
- Exploitability
- Can be exploited over the network without logging in, but needs a user to act. High risk of service disruption.
- Exploit odds
- 2.1% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 2.1% in the next 30 days (EPSS).
- Severity: 5.3 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 2.1% · EPSS, next 30 days
- Weakness
- CWE-125 · Out-of-bounds read
- Record status
- Modified
Affected
- Graphicsmagick 1.4
- Debian Linux 8.0
- Debian Linux 9.0
- Debian Linux 10.0
- Canonical Ubuntu Linux 18.04
Attack profile CVSS 3.1 · 5.3
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Raw vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2018-20185.md and follow it. Check whether this project is affected by CVE-2018-20185. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- http://hg.graphicsmagick.org/hg/GraphicsMagick/rev/648e3977a293
- http://hg.graphicsmagick.org/hg/GraphicsMagick/rev/648e3977a293
References
- http://hg.graphicsmagick.org/hg/GraphicsMagick/rev/648e3977a293
- http://www.securityfocus.com/bid/106229
- https://lists.debian.org/debian-lts-announce/2018/12/msg00018.html
- https://sourceforge.net/p/graphicsmagick/bugs/582/
- https://usn.ubuntu.com/4207-1/
- https://www.debian.org/security/2020/dsa-4640
- http://hg.graphicsmagick.org/hg/GraphicsMagick/rev/648e3977a293
- http://www.securityfocus.com/bid/106229
- https://lists.debian.org/debian-lts-announce/2018/12/msg00018.html
- https://sourceforge.net/p/graphicsmagick/bugs/582/
- https://usn.ubuntu.com/4207-1/
- https://www.debian.org/security/2020/dsa-4640