Buffer overflow in Imagemagick

CVE-2026-31853

ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to 7.1.2-16 and 6.9.13-41, an overflow on 32-bit systems can cause a crash in the SFW decoder when processing extremely large images. This vulnerability is fixed in 7.1.2-16 and 6.9.13-41.

Vulnerability class: Buffer Overflow

Published · last modified .

CVSS v3 metric

CVSS v3 base score 5.7 (Medium). Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H.

EPSS exploit prediction

EPSS: 0.001 (2.1th percentile), scored .

Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 2nd percentile — 2.1% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2026-31853: held from 0.001 to 0.001.

EPSS over last 30 days · oldest: 0.001 · newest: 0.001 · change: +0.000

Affected products

  • Imagemagick — versions >= 7.0.0, < 7.1.2-16, < 6.9.13-41

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-31853?
CVE-2026-31853 is a medium-severity vulnerability in Imagemagick, classified under Heap-based Buffer Overflow. CVSS score: 5.7/10. Published 2026-03-11.
How severe is CVE-2026-31853?
Medium severity. CVSS v3 base score is 5.7 out of 10.