CVE-2026-25983: ImageMagick - Use After Free
- Cve: CVE-2026-25983
- Name: ImageMagick - Use After Free
- Description: ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-15 and 6.9.13-40, a crafted MSL script triggers a heap-use-after-free. The operation element handler replaces and frees the image while the parser continues reading from it, leading to a UAF in ReadBlobString during further parsing. Versions 7.1.2-15 and 6.9.13-40 contain a patch.
- Impact: Attackers can cause memory corruption leading to potential remote code execution or denial of service.
- Remediation: Update to versions 7.1.2-15 or 6.9.13-40 or later.
- Vulnerability type: use_after_free
- Vulnerability impact: remote_code_execution, denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.00487
- Epss percentile: 0.42488
- Assignee: [email protected]
- Published at: 2026-02-24T02:16:02Z
- Age in days: 273
- Modified at: 2026-06-17T10:25:32Z
- Patch available: yes
- References total: 1
- Products total: 1
- Oss: yes
- Projects total: 2
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-25983
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-416 | Use After Free |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-fwqw-2x5x-w566 | nvd | Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| imagemagick:imagemagick | < 6.9.13-40; >= 7.0.0-0, < 7.1.2-15 | no | nvd | /v1/products/imagemagick/imagemagick |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| ImageMagick/ImageMagick | commit, fix, package, security_advisory | yes | /v1/repositories/ImageMagick/ImageMagick |
| dlemstra/Magick.NET | releases | yes | /v1/repositories/dlemstra/Magick.NET |
Index
- Repositories: 13
- Repositories high signal: 10
- Packages: 1
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts