CVE-2026-25971: ImageMagick - Buffer Overflow
- Cve: CVE-2026-25971
- Name: ImageMagick - Buffer Overflow
- 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, Magick fails to check for circular references between two MSLs, leading to a stack overflow. Versions 7.1.2-15 and 6.9.13-40 contain a patch.
- Impact: Attackers can cause a stack overflow leading to denial of service or potential code execution.
- Remediation: Update to versions 7.1.2-15 or 6.9.13-40 or later.
- Vulnerability type: buffer_overflow
- Vulnerability impact: 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.00247
- Epss percentile: 0.16052
- Assignee: [email protected]
- Published at: 2026-02-24T02:16:02Z
- Age in days: 273
- Modified at: 2026-06-17T10:25:31Z
- Patch available: yes
- References total: 1
- Products total: 1
- Oss: yes
- Projects total: 2
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-25971
- 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-674 | Uncontrolled Recursion |
| CWE-787 | Out-of-bounds Write |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-8mpr-6xr2-chhc | 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 | 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