{"schemaVersion":3,"id":"CVE-2026-23876","aliases":["UBUNTU-CVE-2026-23876","USN-8021-1","DEBIAN-CVE-2026-23876","CGA-3wwr-3fvp-f24m","CGA-mq64-rpjr-cfhf"],"status":"published","duplicateOf":null,"title":null,"description":"ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-13 and 6.9.13-38, a heap buffer overflow vulnerability in the XBM image decoder (ReadXBMImage) allows an attacker to write controlled data past the allocated heap buffer when processing a maliciously crafted image file. Any operation that reads or identifies an image can trigger the overflow, making it exploitable via common image upload and processing pipelines. Versions 7.1.2-13 and 6.9.13-38 fix the issue.","dates":{"published":"2026-01-20T01:01:38.527Z","modified":"2026-07-15T01:17:54.887Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.8,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":8.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Chainguard","score":8.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":5.6,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00678,"percentile":0.51429,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0.014999999999999996,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00663},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00601,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00601,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00601,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00663,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00663,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00663,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00663,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00663,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00663,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00663,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00663,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00663,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00663,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00663,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00663,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00663,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00663,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00663,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00663,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00663,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00663,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00663,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00663,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00663,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00663,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00663,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00663,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00663,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00663,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00663,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00663,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00663,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00678,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00678,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00678,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00678,"percentile":0.51429}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00663,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00663,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00663,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00663,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00663,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00663,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00663,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00663,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00663,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00663,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00663,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00663,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00663,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00663,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00663,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00663,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00663,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00663,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00663,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00663,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00663,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00663,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00663,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00663,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00663,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00663,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00663,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00678,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00678,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00678,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00678,"percentile":0.51429}]},"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":[{"id":"GITHUB_IMAGEMAGICK_IMAGEMAGICK","name":"Imagemagick","source":"github","url":"https://github.com/ImageMagick/ImageMagick/commit/5511ef530576ed18fd636baa3bb4eda3d667665d","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-122","name":"Heap-based Buffer Overflow","description":"A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc().","type":"weakness","status":"Draft","abstraction":"Variant","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/122.html"},{"id":"CWE-190","name":"Integer Overflow or Wraparound","description":"The product performs a calculation that can\n         produce an integer overflow or wraparound when the logic\n         assumes that the resulting value will always be larger than\n         the original value. This occurs when an integer value is\n         incremented to a value that is too large to store in the\n         associated representation. When this occurs, the value may\n         become a very small or negative number.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/190.html"},{"id":"CWE-787","name":"Out-of-bounds Write","description":"The product writes data past the end, or before the beginning, of the intended buffer.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/787.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":"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+deb12u6","noFixRecorded":false,"fixedIn":null},{"text":"< 8:7.1.1.43+dfsg1-1+deb13u5","noFixRecorded":false,"fixedIn":null},{"text":"< 8:7.1.2.13+dfsg1-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 8:6.9.11.60+dfsg-1.6+deb12u6 | < 8:7.1.1.43+dfsg1-1+deb13u5 | < 8:7.1.2.13+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},{"text":"< 8:6.7.7.10-6ubuntu3.13+esm18","noFixRecorded":false,"fixedIn":null},{"text":"< 8:6.8.9.9-7ubuntu5.16+esm17","noFixRecorded":false,"fixedIn":null},{"text":"< 8:6.9.7.4+dfsg-16ubuntu6.15+esm9","noFixRecorded":false,"fixedIn":null},{"text":"< 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm7","noFixRecorded":false,"fixedIn":null},{"text":"< 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm7","noFixRecorded":false,"fixedIn":null},{"text":"< 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm6","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions (No fix recorded) | < 8:6.7.7.10-6ubuntu3.13+esm18 | < 8:6.8.9.9-7ubuntu5.16+esm17 | < 8:6.9.7.4+dfsg-16ubuntu6.15+esm9 | < 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm7 | < 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm7 | < 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm6","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-13","noFixRecorded":false,"fixedIn":null},{"text":"< 6.9.13-38","noFixRecorded":false,"fixedIn":null},{"text":"≥ 7.0.0-0, < 7.1.2-13","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 7.1.2-13 | < 6.9.13-38 | ≥ 7.0.0-0, < 7.1.2-13","eol":null,"hubHref":"/vendor/imagemagick/imagemagick"}],"affectedCount":4,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-r49w-jqq3-3gx8","label":"github.com/ImageMagick/ImageMagick/security/advisories/GHSA-r49w-jqq3-3gx8","hostname":"github.com","tags":["X Refsource CONFIRM","REPORT","Advisory","Exploit","Vendor Advisory"]},{"url":"https://github.com/ImageMagick/ImageMagick/commit/2fae24192b78fdfdd27d766fd21d90aeac6ea8b8","label":"github.com/ImageMagick/ImageMagick/commit/2fae24192b78fdfdd27d766fd21d90aeac6ea8b8","hostname":"github.com","tags":["X Refsource MISC","REPORT","FIX","Patch"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-23876","label":"access.redhat.com/security/cve/CVE-2026-23876","hostname":"access.redhat.com","tags":["VDB Entry","X Refsource REDHAT","Advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2431038","label":"bugzilla.redhat.com/show_bug.cgi?id=2431038","hostname":"bugzilla.redhat.com","tags":["Issue Tracking","X Refsource REDHAT","REPORT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-23876.json","label":"security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-23876.json","hostname":"security.access.redhat.com","tags":["X Sadp Csaf Vex","WEB"]},{"url":"https://access.redhat.com/errata/RHSA-2026:3058","label":"access.redhat.com/errata/RHSA-2026:3058","hostname":"access.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT","Advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-23876","label":"ubuntu.com/security/CVE-2026-23876","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-23876","label":"www.cve.org/CVERecord?id=CVE-2026-23876","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-8021-1","label":"ubuntu.com/security/notices/USN-8021-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-23876","label":"security-tracker.debian.org/tracker/CVE-2026-23876","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/23xxx/CVE-2026-23876.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2026/23xxx/CVE-2026-23876.json","hostname":"github.com","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-23876","label":"nvd.nist.gov/vuln/detail/CVE-2026-23876","hostname":"nvd.nist.gov","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["DLA-4448-1","DSA-6111-1","OPENSUSE-SU-2026:10119-1","OPENSUSE-SU-2026:20337-1","RHSA-2026:3058","SUSE-SU-2026:0384-1","SUSE-SU-2026:0437-1","SUSE-SU-2026:0438-1","SUSE-SU-2026:0503-1"],"duplicates":[],"related":["CGA-HXCR-79PR-FR87","OPENSUSE-SU-2026:10119-1","OPENSUSE-SU-2026:20337-1","SUSE-SU-2026:0384-1","SUSE-SU-2026:0437-1","SUSE-SU-2026:0438-1","SUSE-SU-2026:0503-1"]},"timeline":[{"kind":"published","date":"2026-01-20T01:01:38.527Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-07-15T01:17:54.887Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T22:51:16.261Z","stale":false,"partial":false}}