CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H
Lifecycle Timeline
5Description
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.
Analysis
A remote code execution vulnerability in versions (CVSS 7.4). Risk factors: public PoC available. Vendor patch is available.
Technical Context
Vulnerability type: remote code execution. CVSS 7.4 indicates high severity. Affects versions.
Affected Products
['versions']
Remediation
Apply the vendor-supplied patch immediately.
Priority Score
Vendor Status
Ubuntu
Priority: Medium| Release | Status | Version |
|---|---|---|
| upstream | released | 7.1.2-0, 6.9.13-26 |
| bionic | released | 8:6.9.7.4+dfsg-16ubuntu6.15+esm4 |
| plucky | ignored | end of life, was needed |
| focal | released | 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm2 |
| jammy | released | 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm2 |
| noble | released | 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm1 |
| trusty | released | 8:6.7.7.10-6ubuntu3.13+esm13 |
| xenial | released | 8:6.8.9.9-7ubuntu5.16+esm12 |
| questing | not-affected | 8:7.1.1.43+dfsg1-1ubuntu1 |
Debian
Bug #1109339| Release | Status | Fixed Version | Urgency |
|---|---|---|---|
| bullseye | fixed | 8:6.9.11.60+dfsg-1.3+deb11u6 | - |
| bullseye (security) | fixed | 8:6.9.11.60+dfsg-1.3+deb11u10 | - |
| bookworm | fixed | 8:6.9.11.60+dfsg-1.6+deb12u4 | - |
| bookworm (security) | fixed | 8:6.9.11.60+dfsg-1.6+deb12u7 | - |
| trixie | fixed | 8:7.1.1.43+dfsg1-1+deb13u1 | - |
| trixie (security) | fixed | 8:7.1.1.43+dfsg1-1+deb13u6 | - |
| forky | fixed | 8:7.1.2.15+dfsg1-2 | - |
| sid | fixed | 8:7.1.2.16+dfsg1-1 | - |
| (unstable) | fixed | 8:7.1.1.47+dfsg1-2 | - |
Share
External POC / Exploit Code
Leaving vuln.today
EUVD-2025-21389
GHSA-qh3h-j545-h8c9