{"schemaVersion":4,"id":"CVE-2026-140376","aliases":["DEBIAN-CVE-2026-140376","UBUNTU-CVE-2026-140376"],"status":"published","duplicateOf":null,"title":"ImageMagick before 7.1.2-36 Use After Free in MPC Decoder","description":"ImageMagick before 6.9.13-61 and 7.x before 7.1.2-36 contains a use after free vulnerability in the MPC image decoder when processing a crafted MPC image together with its associated cache file. Attackers who supply such a crafted MPC image and cache file can trigger the use after free, crashing the application and causing a denial of service.","dates":{"published":"2026-12-01T14:29:33.070Z","modified":"2026-12-01T15:46:46.891Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.5,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":2.1,"severity":"low","vector":"CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":2.9,"severity":"low","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":2.1,"severity":"low","vector":"CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","exploitability":4.6,"impact":6,"computed":true}]},"epss":{"probability":0.00226,"percentile":0.14097,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-12-02T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00226,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00226,"percentile":0.14097}],"last30":[{"date":"2026-12-02T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00226,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00226,"percentile":0.14097}]},"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-416","name":"Use After Free","description":"The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory \"belongs\" to the code that operates on the new pointer.","type":"weakness","status":"Stable","abstraction":"Variant","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/416.html"}],"affected":[{"vendor":"debian","product":"imagemagick","name":"imagemagick","label":"imagemagick","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/imagemagick","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}}],"versionsText":"All versions (No fix recorded)","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,"bounds":{"kind":"all"}}],"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.0.0, < 7.1.2-36","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"7.0.0","startInclusive":true,"end":"7.1.2-36","endInclusive":false}},{"text":"< 6.9.13-61","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"6.9.13-61","endInclusive":false}},{"text":"≥ 7.0.0-0, < 7.1.2-36","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"7.0.0-0","startInclusive":true,"end":"7.1.2-36","endInclusive":false}}],"versionsText":"≥ 7.0.0, < 7.1.2-36 | < 6.9.13-61 | ≥ 7.0.0-0, < 7.1.2-36","eol":null,"hubHref":"/vendor/imagemagick/imagemagick"}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-v56x-r6p7-8v88","label":"github.com/ImageMagick/ImageMagick/security/advisories/GHSA-v56x-r6p7-8v88","hostname":"github.com","tags":["Vendor Advisory","REPORT"]},{"url":"https://www.vulncheck.com/advisories/imagemagick-before-7.1.2-36-use-after-free-in-mpc-decoder","label":"www.vulncheck.com/advisories/imagemagick-before-7.1.2-36-use-after-free-in-mpc-decoder","hostname":"www.vulncheck.com","tags":["Third Party Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-140376","label":"security-tracker.debian.org/tracker/CVE-2026-140376","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-140376","label":"ubuntu.com/security/CVE-2026-140376","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-140376","label":"www.cve.org/CVERecord?id=CVE-2026-140376","hostname":"www.cve.org","tags":["REPORT"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2026:12760-1"],"duplicates":[],"related":["OPENSUSE-SU-2026:12760-1"]},"timeline":[{"kind":"published","date":"2026-12-01T14:29:33.070Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-12-01T15:46:46.891Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 2.1, local access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,0,21],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00226,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-12-01T15:46:46.891Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":2.1,"vector":"CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","version":"4.0","headline":true},{"type":"cvss","source":"cve.org","date":"2026-12-01T15:46:46.891Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":2.9,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L","version":"3.1"},{"type":"cvss","source":"nvd","date":"2026-12-01T15:46:46.891Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":2.1,"vector":"CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","version":"4.0"},{"type":"cvss","source":"nvd","date":"2026-12-01T15:46:46.891Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},{"type":"cvss","source":"osv_debian","date":"2026-12-01T15:46:46.891Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2026-12-01T15:46:19.824Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.00226,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T12:01:28.220Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T12:01:28.725Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T12:01:28.919Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T12:01:03.802Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T12:01:26.562Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T12:01:25.560Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T12:33:54.360Z","stale":false,"partial":false}}