{"schemaVersion":3,"id":"CVE-2025-66628","aliases":["SUSE-SU-2025:4429-1","UBUNTU-CVE-2025-66628","DEBIAN-CVE-2025-66628","openSUSE-SU-2025:15829-1","CGA-c4w3-4mgg-wqr6","CGA-f46j-p4rw-qmgp","CGA-gr9f-54qj-vqc3","CGA-h922-hgm2-7x7f","CGA-j4wh-vphr-5g67","CGA-p638-wv85-hqcr","GHSA-6hjr-v6g4-3fm8","CGA-w74v-9hfq-w4gm","CGA-x7h2-x87c-fv6r"],"status":"published","duplicateOf":null,"title":null,"description":"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.","dates":{"published":"2025-12-10T22:04:49.639Z","modified":"2025-12-11T15:38:56.050Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Chainguard","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Nuget","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.0051,"percentile":0.42335,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.0051},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.0051,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.0051,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.0051,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.0051,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.0051,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.0051,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0051,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0051,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0051,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0051,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0051,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0051,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0051,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0051,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0051,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0051,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0051,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0051,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0051,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0051,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0051,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0051,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0051,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0051,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0051,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0051,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0051,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0051,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0051,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0051,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0051,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0051,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0051,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0051,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0051,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0051,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.0051,"percentile":0.42335}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.0051,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0051,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0051,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0051,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0051,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0051,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0051,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0051,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0051,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0051,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0051,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0051,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0051,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0051,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0051,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0051,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0051,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0051,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0051,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0051,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0051,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0051,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0051,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0051,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0051,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0051,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0051,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0051,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0051,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0051,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.0051,"percentile":0.42335}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-125","name":"Out-of-bounds Read","description":"The product reads data past the end, or before the beginning, of the intended buffer.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/125.html"}],"affected":[{"vendor":"chainguard","product":"imagemagick-6","name":"imagemagick-6","label":"imagemagick-6","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/imagemagick-6","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"imagemagick-6-dev","name":"imagemagick-6-dev","label":"imagemagick-6-dev","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/imagemagick-6-dev","purlType":"apk","versions":[{"text":"< 6.9.13.46-r1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 6.9.13.46-r1","eol":null,"hubHref":null},{"vendor":"chainguard","product":"imagemagick-6-doc","name":"imagemagick-6-doc","label":"imagemagick-6-doc","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/imagemagick-6-doc","purlType":"apk","versions":[{"text":"< 6.9.13.46-r1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 6.9.13.46-r1","eol":null,"hubHref":null},{"vendor":"chainguard","product":"imagemagick-6-static","name":"imagemagick-6-static","label":"imagemagick-6-static","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/imagemagick-6-static","purlType":"apk","versions":[{"text":"< 6.9.13.46-r1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 6.9.13.46-r1","eol":null,"hubHref":null},{"vendor":"debian","product":"imagemagick","name":"imagemagick","label":"imagemagick","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/imagemagick","purlType":"deb","versions":[{"text":"< 8:6.9.11.60+dfsg-1.6+deb12u5","noFixRecorded":false,"fixedIn":null},{"text":"< 8:7.1.1.43+dfsg1-1+deb13u4","noFixRecorded":false,"fixedIn":null},{"text":"< 8:7.1.2.12+dfsg1-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 8:6.9.11.60+dfsg-1.6+deb12u5 | < 8:7.1.1.43+dfsg1-1+deb13u4 | < 8:7.1.2.12+dfsg1-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"imagemagick","name":"imagemagick","label":"imagemagick","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/imagemagick","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"imagemagick","product":"imagemagick","name":"imagemagick","label":"imagemagick","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 7.1.2-10","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 7.1.2-10","eol":null,"hubHref":"/vendor/imagemagick/imagemagick"},{"vendor":"NuGet","product":"magick.net-q16-anycpu","name":"magick.net-q16-anycpu","label":"magick.net-q16-anycpu","ecosystem":"NuGet","cpePart":null,"purl":"pkg:nuget/magick.net-q16-anycpu","purlType":"nuget","versions":[{"text":"< 14.10.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 14.10.0","eol":null,"hubHref":null},{"vendor":"NuGet","product":"magick.net-q16-hdri-anycpu","name":"magick.net-q16-hdri-anycpu","label":"magick.net-q16-hdri-anycpu","ecosystem":"NuGet","cpePart":null,"purl":"pkg:nuget/magick.net-q16-hdri-anycpu","purlType":"nuget","versions":[{"text":"< 14.10.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 14.10.0","eol":null,"hubHref":null},{"vendor":"NuGet","product":"Magick.NET-Q16-HDRI-x86","name":"Magick.NET-Q16-HDRI-x86","label":"Magick.NET-Q16-HDRI-x86","ecosystem":"NuGet","cpePart":null,"purl":"pkg:nuget/Magick.NET-Q16-HDRI-x86","purlType":"nuget","versions":[{"text":"< 14.10.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 14.10.0","eol":null,"hubHref":null},{"vendor":"NuGet","product":"Magick.NET-Q16-x86","name":"Magick.NET-Q16-x86","label":"Magick.NET-Q16-x86","ecosystem":"NuGet","cpePart":null,"purl":"pkg:nuget/Magick.NET-Q16-x86","purlType":"nuget","versions":[{"text":"< 14.10.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 14.10.0","eol":null,"hubHref":null},{"vendor":"NuGet","product":"magick.net-q8-anycpu","name":"magick.net-q8-anycpu","label":"magick.net-q8-anycpu","ecosystem":"NuGet","cpePart":null,"purl":"pkg:nuget/magick.net-q8-anycpu","purlType":"nuget","versions":[{"text":"< 14.10.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 14.10.0","eol":null,"hubHref":null},{"vendor":"NuGet","product":"Magick.NET-Q8-x86","name":"Magick.NET-Q8-x86","label":"Magick.NET-Q8-x86","ecosystem":"NuGet","cpePart":null,"purl":"pkg:nuget/Magick.NET-Q8-x86","purlType":"nuget","versions":[{"text":"< 14.10.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 14.10.0","eol":null,"hubHref":null},{"vendor":"opensuse","product":"ImageMagick&distro=openSUSE Tumbleweed","name":"ImageMagick","label":"ImageMagick&distro=openSUSE Tumbleweed","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/ImageMagick&distro=openSUSE Tumbleweed","purlType":"rpm","versions":[{"text":"< 7.1.2.10-2.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 7.1.2.10-2.1","eol":null,"hubHref":null},{"vendor":"suse","product":"ImageMagick&distro=SUSE Linux Enterprise Server 12 SP5-LTSS","name":"ImageMagick","label":"ImageMagick&distro=SUSE Linux Enterprise Server 12 SP5-LTSS","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/ImageMagick&distro=SUSE Linux Enterprise Server 12 SP5-LTSS","purlType":"rpm","versions":[{"text":"< 6.8.8.1-71.218.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 6.8.8.1-71.218.1","eol":null,"hubHref":null},{"vendor":"suse","product":"ImageMagick&distro=SUSE Linux Enterprise Server LTSS Extended Security 12 SP5","name":"ImageMagick","label":"ImageMagick&distro=SUSE Linux Enterprise Server LTSS Extended Security 12 SP5","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/ImageMagick&distro=SUSE Linux Enterprise Server LTSS Extended Security 12 SP5","purlType":"rpm","versions":[{"text":"< 6.8.8.1-71.218.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 6.8.8.1-71.218.1","eol":null,"hubHref":null}],"affectedCount":16,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-6hjr-v6g4-3fm8","label":"github.com/ImageMagick/ImageMagick/security/advisories/GHSA-6hjr-v6g4-3fm8","hostname":"github.com","tags":["X Refsource CONFIRM","REPORT","Advisory","WEB","Vendor Advisory"]},{"url":"https://github.com/dlemstra/Magick.NET/commit/2dfa08e15cfd11016a79615994787b14f9048b1c","label":"github.com/dlemstra/Magick.NET/commit/2dfa08e15cfd11016a79615994787b14f9048b1c","hostname":"github.com","tags":["X Refsource MISC","REPORT","FIX","WEB","Patch"]},{"url":"https://www.suse.com/support/update/announcement/2025/suse-su-20254429-1/","label":"www.suse.com/support/update/announcement/2025/suse-su-20254429-1/","hostname":"www.suse.com","tags":["Advisory"]},{"url":"https://bugzilla.suse.com/1254820","label":"bugzilla.suse.com/1254820","hostname":"bugzilla.suse.com","tags":["REPORT"]},{"url":"https://www.suse.com/security/cve/CVE-2025-66628","label":"www.suse.com/security/cve/CVE-2025-66628","hostname":"www.suse.com","tags":["WEB"]},{"url":"https://ubuntu.com/security/CVE-2025-66628","label":"ubuntu.com/security/CVE-2025-66628","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-66628","label":"www.cve.org/CVERecord?id=CVE-2025-66628","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2025-66628","label":"security-tracker.debian.org/tracker/CVE-2025-66628","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/66xxx/CVE-2025-66628.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2025/66xxx/CVE-2025-66628.json","hostname":"github.com","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-66628","label":"nvd.nist.gov/vuln/detail/CVE-2025-66628","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/ImageMagick/ImageMagick","label":"github.com/ImageMagick/ImageMagick","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":["DLA-4429-1","OPENSUSE-SU-2026:20118-1","SUSE-SU-2025:4427-1","SUSE-SU-2025:4428-1","SUSE-SU-2026:0011-1","SUSE-SU-2026:0013-1","SUSE-SU-2026:20183-1"],"duplicates":[],"related":["CGA-C5RW-54QQ-V9VM","OPENSUSE-SU-2026:20118-1","SUSE-SU-2025:4427-1","SUSE-SU-2025:4428-1","SUSE-SU-2026:0011-1","SUSE-SU-2026:0013-1","SUSE-SU-2026:20183-1"]},"timeline":[{"kind":"published","date":"2025-12-10T22:04:49.639Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-12-11T15:38:56.050Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":30,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T15:31:57.041Z","stale":false,"partial":false}}