Buffer overflow in Imagemagick
CVE-2019-13305
ImageMagick 7.0.8-50 Q16 has a stack-based buffer overflow at coders/pnm.c in WritePNMImage because of a misplaced strncpy and an off-by-one error.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.021 (80.8th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 81st percentile — 80.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.021 · newest: 0.021 · change: 0.000
Affected products
- Imagemagick — versions 7.0.8-50
- Canonical Ubuntu Linux — versions 16.04, 18.04, 19.04
- Debian Linux — versions 8.0, 9.0, 10.0
- openSUSE Leap — versions 15.0, 15.1
Weakness classification (CWE)
References
- github.com/ImageMagick/ImageMagick/issues/1613 (Exploit, Patch, Third Party Advisory, Issue Tracking)
- github.com/ImageMagick/ImageMagick6/commit/5c7fbf9a14fb83c9685ad69d48899f490a37… (Patch)
- github.com/ImageMagick/ImageMagick/commit/29efd648f38b73a64d73f14cd2019d869a585… (Patch)
- lists.debian.org/debian-lts-announce/2019/08/msg00021.html (mailing-list, Mailing List, Third Party Advisory)
- lists.opensuse.org/opensuse-security-announce/2019-08/msg00069.html (vendor-advisory, Mailing List, Third Party Advisory)
- usn.ubuntu.com/4192-1/ (vendor-advisory, Third Party Advisory)
- www.debian.org/security/2020/dsa-4712 (vendor-advisory, Third Party Advisory)
- www.debian.org/security/2020/dsa-4715 (vendor-advisory, Third Party Advisory)
Frequently asked questions
- What is CVE-2019-13305?
- CVE-2019-13305 is a high-severity vulnerability in Imagemagick, classified under Off-by-one Error. CVSS score: 7.8/10. Published 2019-07-05.
- How severe is CVE-2019-13305?
- High severity. CVSS v3 base score is 7.8 out of 10.