CVE-2025-53101: ImageMagick - Buffer Overflow
- Cve: CVE-2025-53101
- Name: ImageMagick - Buffer Overflow
- Description: ImageMagick is free and open-source software used for editing and manipulating digital images. In versions prior to 7.1.2-0 and 6.9.13-26, in ImageMagick's `magick mogrify` command, specifying multiple consecutive `%d` format specifiers in a filename template causes internal pointer arithmetic to generate an address below the beginning of the stack buffer, resulting in a stack overflow through `vsnprintf()`. Versions 7.1.2-0 and 6.9.13-26 fix the issue.
- Impact: Attackers can cause a stack overflow, potentially leading to remote code execution or denial of service.
- Remediation: Upgrade to version 7.1.2-0 or 6.9.13-26 or later.
- Vulnerability type: buffer_overflow
- 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.0095
- Epss percentile: 0.61964
- Assignee: [email protected]
- Published at: 2025-07-14T20:15:29Z
- Age in days: 498
- Modified at: 2026-06-17T09:37:37Z
- Patch available: yes
- Public exploits total: 1
- References total: 3
- Products total: 1
- Oss: yes
- Projects total: 3
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-53101
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-124 | Buffer Underwrite |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-qh3h-j545-h8c9 | nvd | 2025-07-14 |
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| imagemagick:imagemagick | < 6.9.13-26; >= 7.0.0-0, < 7.1.2-0 | no | nvd | /v1/products/imagemagick/imagemagick |
Projects
Same in every row:
- Indexed: yes
| Repository | Link kinds | Url |
|---|---|---|
| ImageMagick/ImageMagick | commit, fix, package, security_advisory | /v1/repositories/ImageMagick/ImageMagick |
| dlemstra/Magick.NET | releases | /v1/repositories/dlemstra/Magick.NET |
| ImageMagick/ImageMagick6 | commit, fix | /v1/repositories/ImageMagick/ImageMagick6 |
Index
- Repositories: 13
- Repositories high signal: 10
- Packages: 1
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2025-07-14
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts