GHSA-vg96-jmxw-665f
ImageMagick versions before 7.1.2-26 contain a use-after-free vulnerability in the FormatMagickCaption method triggered when memory allocation fails. This flaw can cause a dangling pointer to reference freed memory, potentially leading to denial of service or code execution.
AI Analysis
Technical Summary
The vulnerability identified as CVE-2026-61861 affects ImageMagick prior to version 7.1.2-26. It arises in the FormatMagickCaption method when a memory allocation failure occurs, resulting in a use-after-free condition. Attackers can exploit this by deliberately causing memory allocation failures, which leads to a dangling pointer referencing freed memory. This can enable denial of service or potentially code execution. The vulnerability is classified under CWE-416 (Use After Free).
Potential Impact
Successful exploitation may allow attackers to cause denial of service or execute arbitrary code due to the use-after-free condition in the affected ImageMagick versions. No known exploits in the wild have been reported.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.
GHSA-vg96-jmxw-665f
Description
ImageMagick versions before 7.1.2-26 contain a use-after-free vulnerability in the FormatMagickCaption method triggered when memory allocation fails. This flaw can cause a dangling pointer to reference freed memory, potentially leading to denial of service or code execution.
CVSS v4.0
Affected software
pkg:github/imagemagick/ImageMagickRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability identified as CVE-2026-61861 affects ImageMagick prior to version 7.1.2-26. It arises in the FormatMagickCaption method when a memory allocation failure occurs, resulting in a use-after-free condition. Attackers can exploit this by deliberately causing memory allocation failures, which leads to a dangling pointer referencing freed memory. This can enable denial of service or potentially code execution. The vulnerability is classified under CWE-416 (Use After Free).
Potential Impact
Successful exploitation may allow attackers to cause denial of service or execute arbitrary code due to the use-after-free condition in the affected ImageMagick versions. No known exploits in the wild have been reported.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-vg96-jmxw-665f
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-61861"]
- Ecosystems
- []
- Database Specific Severity
- MODERATE
- Cvss Version
- 4.0
Threat ID: 6a535c0268715ace43ad5838
Added to database: 07/12/2026, 09:18:58 UTC
Last enriched: 07/12/2026, 09:22:47 UTC
Last updated: 07/12/2026, 19:47:36 UTC
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.