CVE Explorer
CVE-2025-66628
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
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"ImageMagick","vendor":"ImageMagick","versions":[{"status":"affected","version":"< 7.1.2-10"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:1c7f5f6600318dc32aaa5d3ee923da89c5b12f0f1d116c2fd09f3d38087b23c1 · sha256:a09583beee3fde4e… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:1c7f5f6600318dc32aaa5d3ee923da89c5b12f0f1d116c2fd09f3d38087b23c1 · sha256:a09583beee3fde4e… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-125","description":"CWE-125: Out-of-bounds Read","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:1c7f5f6600318dc32aaa5d3ee923da89c5b12f0f1d116c2fd09f3d38087b23c1 · sha256:a09583beee3fde4e… · /containers/cna/problemTypes/0/descriptions/0
Source references
2 source assertions{"name":"https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-6hjr-v6g4-3fm8","tags":["x_refsource_CONFIRM"],"url":"https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-6hjr-v6g4-3fm8"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:1c7f5f6600318dc32aaa5d3ee923da89c5b12f0f1d116c2fd09f3d38087b23c1 · sha256:a09583beee3fde4e… · /containers/cna/references/0
{"name":"https://github.com/dlemstra/Magick.NET/commit/2dfa08e15cfd11016a79615994787b14f9048b1c","tags":["x_refsource_MISC"],"url":"https://github.com/dlemstra/Magick.NET/commit/2dfa08e15cfd11016a79615994787b14f9048b1c"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:1c7f5f6600318dc32aaa5d3ee923da89c5b12f0f1d116c2fd09f3d38087b23c1 · sha256:a09583beee3fde4e… · /containers/cna/references/1
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.