CVE-2026-61861
ImageMagick before 7.1.2-26 Use-After-Free in FormatMagickCaption
- State
- Published
- Severity
- 6.3 Medium
- Published
- Jul 11, 2026
- Updated
- Oct 29, 2026
- Reserved
- Jul 10, 2026
Description
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 6.3 Medium | CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N | VulnCheck |
| 3.1 | 3.7 Low | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L | VulnCheck |
Weaknesses
- CWE-416 Use After Free
Affected Products
| Product | Versions |
|---|---|
ImageMagickImageMagick |
|
ImageMagickImageMagick |
|
References
- GitHub Security Advisory (GHSA-qvxh-prvr-85w2)vendor-advisory
- VulnCheck Advisory: ImageMagick before 7.1.2-26 Use-After-Free in FormatMagickCaptionthird-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.