Use After Free in Imagemagick
CVE-2026-61861
ImageMagick before 7.1.2-26 contains a use-after-free vulnerability in the FormatMagickCaption method when memory allocation fails. Attackers can trigger memory allocation failures to cause a dangling pointer to reference freed memory, potentially enabling denial of service or code execution.
Vulnerability class: Use-After-Free
Published · last modified .
CVSS v3 metric
CVSS v3 base score 3.7 (Low). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L.
EPSS exploit prediction
EPSS: 0.006 (44.6th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 45th percentile — 44.6% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.003 · newest: 0.006 · change: +0.002
Affected products
- Imagemagick — versions 0, 7.1.2-26, 6.9.13-51
Weakness classification (CWE)
References
- github.com/ImageMagick/ImageMagick/security/advisories/GHSA-qvxh-prvr-85w2 (vendor-advisory, Vendor Advisory)
- www.vulncheck.com/advisories/imagemagick-before-26-use-after-free-in-formatmagi… (Broken Link, third-party-advisory)
Frequently asked questions
- What is CVE-2026-61861?
- CVE-2026-61861 is a low-severity vulnerability in Imagemagick, classified under Use After Free. CVSS score: 3.7/10. Published 2026-07-11.
- How severe is CVE-2026-61861?
- Low severity. CVSS v3 base score is 3.7 out of 10.