CVE-2026-61861: ImageMagick before 7.1.2-26 contains a use-after-free vulnerability in the FormatMagickCaption method when mem
CVE-2026-61861 is a low-severity flaw (CVSS 3.7) affecting imagemagick. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 3.7 (Low) |
| Attack vector | Network (remote) |
| Attack complexity | High |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 0.6% (top 54%) |
| CISA exploited list | No |
| Weakness | CWE-416 |
| Published | 2026-07-11 |
| Last modified | 2026-07-13 |
Last updated 2026-07-13 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-61861?
imagemagick: upgrade to 6.9.13-51, 7.1.2-26. Exact commands for each OS are on this page.
Is CVE-2026-61861 being exploited?
CVE-2026-61861 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-61861 affect?
CVE-2026-61861 affects imagemagick. Severity is low (CVSS 3.7). 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, pote
How urgent is CVE-2026-61861?
Priority 29/100. Remotely exploitable, no login, no user action
Software pages
Related CVEs
- CVE-2026-56371 MEDIUM 5.3 UPGRADE ImageMagick before 7.1.2-15 and 6.9.13-40 contains a memory leak in coders/txt.c when processing TXT files wit
- CVE-2026-56368 LOW 3.7 UPGRADE ImageMagick before 7.1.2-15 contains a memory leak vulnerability in multiple coders that write raw pixel data
- CVE-2026-56376 LOW 3.7 UPGRADE ImageMagick before 7.1.2-15 and 6.9.13-40 contains a heap use-after-free in the meta coder: when memory alloca
- CVE-2026-56374 LOW 3.3 UPGRADE ImageMagick before 7.1.2-19 contains a heap buffer overflow vulnerability in the FTXT encoder due to missing b
- CVE-2026-56365 LOW 3.7 UPGRADE ImageMagick before 7.1.2-19 contains a memory leak vulnerability in the PNG encoder when writing MNG images