CVE-2025-66628: ImageMagick is vulnerable to an Integer Overflow in TIM decoder leading to out of bounds read (32-bit only)
Noroxi assessment
Priority: Monitor (action score 30/100)
- Public proof-of-concept code exists (GitHub); there is no record of exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.51% (FIRST EPSS).
- Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. No special conditions are required; it is repeatable.
- According to CISA the attack is automatable: targets can be found by mass scanning.
- Fixed version: ImageMagick ImageMagick 7.1.2-10.
Low priority for now. Upgrade to ImageMagick ImageMagick 7.1.2-10 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
ImageMagick is a software suite to create, edit, compose, or convert bitmap images. In versions 7.1.2-9 and prior, the TIM (PSX TIM) image parser contains a critical integer overflow vulnerability in its ReadTIMImage function (coders/tim.c). The code reads width and height (16-bit values) from the file header and calculates image_size = 2 * width * height without checking for overflow. On 32-bit systems (or where size_t is 32-bit), this calculation can overflow if width and height are large (e.g., 65535), wrapping around to a small value. This results in a small heap allocation via AcquireQuantumMemory and later operations relying on the dimensions can trigger an out of bounds read. This issue is fixed in version 7.1.2-10.
- Published
- Dec 10, 2025
- Updated
- Sep 25, 2026
- EPSS
- 0.5% · 43th percentile
- CWE
- CWE-125
Report tools
Action score
30
Monitor
Low priority for now.
- CVSS
- 30 / 40 · 7.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.5%
CISA SSVC decision
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- —
- CNA · GitHub_M
- 7.5
- 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.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- Proof of concept exists, no weaponized module
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Running WordPress? Scan your site free with WP Lens
Noroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| 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-10
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-10affected
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:11 | imagemagick | before 8:6.9.11.60+dfsg-1.3+deb11u8 | 8:6.9.11.60+dfsg-1.3+deb11u8 |
| Debian:12 | imagemagick | before 8:6.9.11.60+dfsg-1.6+deb12u5 | 8:6.9.11.60+dfsg-1.6+deb12u5 |
| Debian:13 | imagemagick | before 8:7.1.1.43+dfsg1-1+deb13u4 | 8:7.1.1.43+dfsg1-1+deb13u4 |
| Debian:14 | imagemagick | before 8:7.1.2.12+dfsg1-1 | 8:7.1.2.12+dfsg1-1 |
| NuGet | Magick.NET-Q16-AnyCPU | before 14.10.0 | 14.10.0 |
| NuGet | Magick.NET-Q16-HDRI-AnyCPU | before 14.10.0 | 14.10.0 |
| NuGet | Magick.NET-Q16-HDRI-x86 | before 14.10.0 | 14.10.0 |
| NuGet | Magick.NET-Q16-x86 | before 14.10.0 | 14.10.0 |
| NuGet | Magick.NET-Q8-AnyCPU | before 14.10.0 | 14.10.0 |
| NuGet | Magick.NET-Q8-x86 | before 14.10.0 | 14.10.0 |
| openSUSE:Leap 15.6 | ImageMagick | before 7.1.1.21-150600.3.32.1 | 7.1.1.21-150600.3.32.1 |
| openSUSE:Leap 16.0 | ImageMagick | before 7.1.2.0-160000.5.1 | 7.1.2.0-160000.5.1 |
| openSUSE:Tumbleweed | ImageMagick | before 7.1.2.10-2.1 | 7.1.2.10-2.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | ImageMagick | before 7.0.7.34-150200.10.68.1 | 7.0.7.34-150200.10.68.1 |
| SUSE:Linux Enterprise Module for Desktop Applications 15 SP7 | ImageMagick | before 7.1.1.43-150700.3.27.1 | 7.1.1.43-150700.3.27.1 |
| SUSE:Linux Enterprise Module for Desktop Applications 15 SP7 | ImageMagick | before 7.1.0.9-150400.6.58.1 | 7.1.0.9-150400.6.58.1 |
| SUSE:Linux Enterprise Server 12 SP5-LTSS | ImageMagick | before 6.8.8.1-71.218.1 | 6.8.8.1-71.218.1 |
| SUSE:Linux Enterprise Server 15 SP6-LTSS | ImageMagick | before 7.1.1.21-150600.3.32.1 | 7.1.1.21-150600.3.32.1 |
| SUSE:Linux Enterprise Server 16.0 | ImageMagick | before 7.1.2.0-160000.5.1 | 7.1.2.0-160000.5.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
Published before and after this one in the same product
- ← EarlierCVE-2025-62594Oct 27, 2025 · ImageMagick CLAHE : Unsigned underflow and division-by-zero lead to OOB pointer arithmetic and process crash (DoS)22Monitor
- ← EarlierCVE-2025-65955Dec 2, 2025 · ImageMagick has a use-after-free/double-free risk in Options::fontFamily when clearing family24Monitor
- Later →CVE-2025-68469Dec 18, 2025 · ImageMagick vulnerable to heap-buffer-overflow8Monitor
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-10 · description | Vendor (CNA) |
| debian:imagemagick | 8:6.9.11.60+dfsg-1.6+deb12u5 · Debian:12 | Package registry (OSV) |
| NuGet:Magick.NET-Q16-AnyCPU | 14.10.0 | Package registry (OSV) |
| NuGet:Magick.NET-Q16-HDRI-AnyCPU | 14.10.0 | Package registry (OSV) |
| NuGet:Magick.NET-Q16-HDRI-x86 | 14.10.0 | Package registry (OSV) |
| NuGet:Magick.NET-Q16-x86 | 14.10.0 | Package registry (OSV) |
| NuGet:Magick.NET-Q8-AnyCPU | 14.10.0 | Package registry (OSV) |
| NuGet:Magick.NET-Q8-x86 | 14.10.0 | Package registry (OSV) |
| opensuse:ImageMagick | 7.1.1.21-150600.3.32.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| suse:ImageMagick | 7.1.1.21-150600.3.32.1 · SUSE:Linux Enterprise Server 15 SP6-LTSS | Package registry (OSV) |
| suse:ImageMagick | 7.1.1.43-150700.3.27.1 · SUSE:Linux Enterprise Module for Desktop Applications 15 SP7 | Package registry (OSV) |
Exploit status
Proof of concept available
A public proof of concept or detection signature exists. Exploit knowledge is out there; don't delay patching.
Evidence
- Proof-of-concept repository on GitHub ×1
Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.
| Source | Kind | Date |
|---|---|---|
| Proof-of-concept repository on GitHub | stars:1 | 2025-12-11 |
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.
- Published
- First PoCsame day
- TodayNov 1, 2026+326 d
No history yet (it accumulates with the daily EPSS job).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
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-2025-53014149 days apartImageMagick has Heap Buffer Overflow in InterpretImageFilename39Monitor
- CVE-2026-2589875 days apartImagemagick Has Global Buffer Overflow (OOB Read) via Negative Pixel Index in UIL and XPM Writer36Monitor
- CVE-2026-2598775 days apartImageMagick has heap buffer over-read in MAP image decoder36Monitor
- CVE-2026-2869390 days apartImageMagick has an integer overflow in DIB coder can result in out of bounds read or write32Monitor
- CVE-2026-2448175 days apartImageMagick has Possible Heap Information Disclosure in PSD ZIP Decompression30Monitor
- CVE-2025-53019149 days apartImageMagick has Memory Leak in magick stream30Monitor
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
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- none
- Availability
- none
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- None
- Availability impact
- None
Weakness class (CWE)
CWE-125 · Out-of-bounds ReadCVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
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.
Attack patterns (CAPEC)
ATT&CK techniques
—
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (1 more)Show less
Vendor advisories and official records. Exploit/PoC links are deliberately left out.