ImageMagick: Heap Buffer Over-Write in fx operation
ImageMagick is free and open-source software used for editing and manipulating digital images. In versions prior to 7.1.2-27, a heap buffer over-write can occur in the fx operation by passing a crafted argument. This issue has been fixed in version 7.1.2-27.
- Published
- Jul 29, 2026
- Updated
- Aug 3, 2026
- EPSS
- 0.1% · 2th percentile
- CWE
- CWE-787
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
20
Monitor
Low priority for now.
- CVSS
- 20 / 40 · 5.0 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.1%
CISA SSVC decision
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- —
- CNA · GitHub_M
- 5.0
- NVD has not scored this yet; the score shown is the CNA’s.
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Affected systems
| Vendor | Product | CPE |
|---|---|---|
| imagemagick | imagemagick | cpe:2.3:a:imagemagick:imagemagick |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- imagemagick imagemagickbefore 7.1.2-27
Versions reported by the vendor
Affected version ranges reported by the assigning authority (GitHub_M). Independent of NVD's CPE analysis and usually ahead of it.
ImageMagick ImageMagick
- < 7.1.2-27affected
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | imagemagick | all versions | — |
| Debian:14 | imagemagick | before 8:7.1.2.27+dfsg1-1 | 8:7.1.2.27+dfsg1-1 |
| NuGet | Magick.NET-Q16-AnyCPU | before 14.15.0 | 14.15.0 |
| NuGet | Magick.NET-Q16-arm64 | before 14.15.0 | 14.15.0 |
| NuGet | Magick.NET-Q16-HDRI-AnyCPU | before 14.15.0 | 14.15.0 |
| NuGet | Magick.NET-Q16-HDRI-arm64 | before 14.15.0 | 14.15.0 |
| NuGet | Magick.NET-Q16-HDRI-OpenMP-arm64 | before 14.15.0 | 14.15.0 |
| NuGet | Magick.NET-Q16-HDRI-x64 | before 14.15.0 | 14.15.0 |
| NuGet | Magick.NET-Q16-HDRI-x86 | before 14.15.0 | 14.15.0 |
| NuGet | Magick.NET-Q16-OpenMP-arm64 | before 14.15.0 | 14.15.0 |
| NuGet | Magick.NET-Q16-OpenMP-x64 | before 14.15.0 | 14.15.0 |
| NuGet | Magick.NET-Q16-x64 | before 14.15.0 | 14.15.0 |
| NuGet | Magick.NET-Q16-x86 | before 14.15.0 | 14.15.0 |
| NuGet | Magick.NET-Q8-AnyCPU | before 14.15.0 | 14.15.0 |
| NuGet | Magick.NET-Q8-arm64 | before 14.15.0 | 14.15.0 |
| NuGet | Magick.NET-Q8-OpenMP-arm64 | before 14.15.0 | 14.15.0 |
| NuGet | Magick.NET-Q8-OpenMP-x64 | before 14.15.0 | 14.15.0 |
| NuGet | Magick.NET-Q8-x64 | before 14.15.0 | 14.15.0 |
| NuGet | Magick.NET-Q8-x86 | before 14.15.0 | 14.15.0 |
| openSUSE:Leap 16.0 | ImageMagick | before 7.1.2.0-160000.14.1 | 7.1.2.0-160000.14.1 |
| openSUSE:Tumbleweed | ImageMagick | before 7.1.2.28-1.1 | 7.1.2.28-1.1 |
| SUSE:Linux Enterprise Module for Desktop Applications 15 SP7 | ImageMagick | before 7.1.1.43-150700.3.76.1 | 7.1.1.43-150700.3.76.1 |
| SUSE:Linux Enterprise Server 15 SP6-LTSS | ImageMagick | before 7.1.1.21-150600.3.87.1 | 7.1.1.21-150600.3.87.1 |
| SUSE:Linux Enterprise Server 16.0 | ImageMagick | before 7.1.2.0-160000.14.1 | 7.1.2.0-160000.14.1 |
Same product
imagemagick: all recordsOther highest-scoring records for the same primary product.
- CVE-2016-3714The (1) EPHEMERAL, (2) HTTPS, (3) MVG, (4) MSL, (5) TEXT, (6) SHOW, (7) WIN, and (8) PLT coders in ImageMagick before 6.9.3-10 and 7.x beforKEV92Now
- CVE-2016-3718The (1) HTTP and (2) FTP coders in ImageMagick before 6.9.3-10 and 7.x before 7.0.1-1 allow remote attackers to conduct server-side request KEV75This week
- CVE-2016-3715The EPHEMERAL coder in ImageMagick before 6.9.3-10 and 7.x before 7.0.1-1 allows remote attackers to delete arbitrary files via a crafted imKEV75This week
- CVE-2022-44268ImageMagick 7.1.0-49 is vulnerable to Information Disclosure.53Plan
- CVE-2022-44267ImageMagick 7.1.0-49 is vulnerable to Denial of Service.49Plan
- CVE-2016-5841Integer overflow in MagickCore/profile.c in ImageMagick before 7.0.2-1 allows remote attackers to cause a denial of service (segmentation fa43Plan
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| ImageMagick ImageMagick | 7.1.2-27 · description | Vendor (CNA) |
| debian:imagemagick | 8:7.1.2.27+dfsg1-1 · Debian:14 | Package registry (OSV) |
| NuGet:Magick.NET-Q16-AnyCPU | 14.15.0 | Package registry (OSV) |
| NuGet:Magick.NET-Q16-arm64 | 14.15.0 | Package registry (OSV) |
| NuGet:Magick.NET-Q16-HDRI-AnyCPU | 14.15.0 | Package registry (OSV) |
| NuGet:Magick.NET-Q16-HDRI-arm64 | 14.15.0 | Package registry (OSV) |
| NuGet:Magick.NET-Q16-HDRI-OpenMP-arm64 | 14.15.0 | Package registry (OSV) |
| NuGet:Magick.NET-Q16-HDRI-x64 | 14.15.0 | Package registry (OSV) |
| NuGet:Magick.NET-Q16-HDRI-x86 | 14.15.0 | Package registry (OSV) |
| NuGet:Magick.NET-Q16-OpenMP-arm64 | 14.15.0 | Package registry (OSV) |
| NuGet:Magick.NET-Q16-OpenMP-x64 | 14.15.0 | Package registry (OSV) |
| NuGet:Magick.NET-Q16-x64 | 14.15.0 | Package registry (OSV) |
| NuGet:Magick.NET-Q16-x86 | 14.15.0 | Package registry (OSV) |
| NuGet:Magick.NET-Q8-AnyCPU | 14.15.0 | Package registry (OSV) |
| NuGet:Magick.NET-Q8-arm64 | 14.15.0 | Package registry (OSV) |
| NuGet:Magick.NET-Q8-OpenMP-arm64 | 14.15.0 | Package registry (OSV) |
| NuGet:Magick.NET-Q8-OpenMP-x64 | 14.15.0 | Package registry (OSV) |
| NuGet:Magick.NET-Q8-x64 | 14.15.0 | Package registry (OSV) |
| NuGet:Magick.NET-Q8-x86 | 14.15.0 | Package registry (OSV) |
| opensuse:ImageMagick | 7.1.2.28-1.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| suse:ImageMagick | 7.1.2.0-160000.14.1 · SUSE:Linux Enterprise Server 16.0 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
- CVE-2026-25986156 days apartImageMagick has a heap buffer overflow in YUV 4:2:2 decoder39Monitor
- CVE-2026-5346149 days apartImageMagick: Out-of-bounds write in ICON decoder due to incorrect loop30Monitor
- CVE-2026-32636133 days apartImageMagick has a heap-buffer-overflow in NewXMLTree which could result in crash30Monitor
- CVE-2026-4872449 days apartImageMagick: Heap Buffer Underwrite in Floyd-Steinberg depth dithering22Monitor
- CVE-2026-33535125 days apartImageMagick has an Out-of-Bounds write of a zero byte in its X11 display interaction22Monitor
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Someone with local access to the system can trigger it.
- A low-privileged account is enough.
- A user must open a link or visit a page.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- none
- Integrity
- none
- Availability
- high · the service can be disrupted
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality impact
- None
- Integrity impact
- None
- Availability impact
- High
Weakness class (CWE)
CWE-787 · Out-of-bounds WriteCVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H
nvd-secondary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for helpChange log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Vendor advisories and official records. Exploit/PoC links are deliberately left out.