{"schemaVersion":3,"id":"CVE-2026-32882","aliases":["UBUNTU-CVE-2026-32882","DEBIAN-CVE-2026-32882"],"status":"published","duplicateOf":null,"title":null,"description":"libheif is a HEIF and AVIF file format decoder and encoder. Versions 1.21.2 and prior contain a heap buffer over-read in HeifPixelImage::overlay() in libheif/pixelimage.cc. When compositing an overlay image (iovl) whose child image has a different bit depth for the alpha channel than for the color channels, the function indexes into the alpha plane using the color channel stride (in_stride) instead of the previously retrieved alpha_stride, causing reads past the end of the alpha buffer (up to 3,123 bytes for a 100×50 image with 10-bit color and 8-bit alpha). A crafted HEIF file can exploit this to cause a denial of service (crash) or potentially disclose adjacent heap memory through leaked bytes embedded in the decoded output pixels. This issue has been fixed in versionThis issue has been fixed in version 1.22.0.","dates":{"published":"2026-05-19T20:07:21.464Z","modified":"2026-07-15T01:07:28.902Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.1,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H","exploitability":7.2,"impact":7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":7.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H","exploitability":7.2,"impact":7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00708,"percentile":0.52594,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0.373,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00335},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00323,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00323,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00323,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00323,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00323,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00423,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00592,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00592,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00592,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00592,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00592,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00708,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00708,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00708,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00708,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00708,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00708,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00708,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00708,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00708,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00708,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00708,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00708,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00708,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00708,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00708,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00708,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00708,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00708,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00708,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00708,"percentile":0.52594}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00423,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00592,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00592,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00592,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00592,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00592,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00708,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00708,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00708,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00708,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00708,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00708,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00708,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00708,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00708,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00708,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00708,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00708,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00708,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00708,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00708,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00708,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00708,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00708,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00708,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00708,"percentile":0.52594}]},"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":"debian","product":"libheif","name":"libheif","label":"libheif","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/libheif","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 1.19.8-1+deb13u1","noFixRecorded":false,"fixedIn":null},{"text":"< 1.23.1-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions (No fix recorded) | < 1.19.8-1+deb13u1 | < 1.23.1-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"libheif","name":"libheif","label":"libheif","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/libheif","purlType":"deb","versions":[{"text":"< 1.1.0-2ubuntu0.1~esm3","noFixRecorded":false,"fixedIn":null},{"text":"< 1.6.1-1ubuntu0.1~esm3","noFixRecorded":false,"fixedIn":null},{"text":"< 1.12.0-2ubuntu0.1~esm3","noFixRecorded":false,"fixedIn":null},{"text":"< 1.17.6-1ubuntu4.4","noFixRecorded":false,"fixedIn":null},{"text":"< 1.20.2-1ubuntu0.4","noFixRecorded":false,"fixedIn":null},{"text":"< 1.21.2-3ubuntu0.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.1.0-2ubuntu0.1~esm3 | < 1.6.1-1ubuntu0.1~esm3 | < 1.12.0-2ubuntu0.1~esm3 | < 1.17.6-1ubuntu4.4 | < 1.20.2-1ubuntu0.4 | < 1.21.2-3ubuntu0.1","eol":null,"hubHref":null},{"vendor":"strukturag","product":"libheif","name":"libheif","label":"libheif","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.22.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.22.0","eol":null,"hubHref":"/vendor/strukturag/libheif"}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/strukturag/libheif/security/advisories/GHSA-hg7q-rjr2-8x46","label":"github.com/strukturag/libheif/security/advisories/GHSA-hg7q-rjr2-8x46","hostname":"github.com","tags":["X Refsource CONFIRM","REPORT"]},{"url":"https://github.com/strukturag/libheif/releases/tag/v1.22.0","label":"github.com/strukturag/libheif/releases/tag/v1.22.0","hostname":"github.com","tags":["X Refsource MISC","REPORT"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-32882","label":"access.redhat.com/security/cve/CVE-2026-32882","hostname":"access.redhat.com","tags":["VDB Entry","X Refsource REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2480000","label":"bugzilla.redhat.com/show_bug.cgi?id=2480000","hostname":"bugzilla.redhat.com","tags":["Issue Tracking","X Refsource REDHAT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-32882.json","label":"security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-32882.json","hostname":"security.access.redhat.com","tags":["X Sadp Csaf Vex"]},{"url":"https://ubuntu.com/security/CVE-2026-32882","label":"ubuntu.com/security/CVE-2026-32882","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-32882","label":"www.cve.org/CVERecord?id=CVE-2026-32882","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-8454-1","label":"ubuntu.com/security/notices/USN-8454-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-32882","label":"security-tracker.debian.org/tracker/CVE-2026-32882","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["MGASA-2026-0247","OPENSUSE-SU-2026:10878-1","OPENSUSE-SU-2026:20974-1","SUSE-SU-2026:22153-1","SUSE-SU-2026:2622-1"],"duplicates":[],"related":["OPENSUSE-SU-2026:10878-1","OPENSUSE-SU-2026:20974-1","SUSE-SU-2026:22153-1","SUSE-SU-2026:2622-1","USN-8454-1"]},"timeline":[{"kind":"published","date":"2026-05-19T20:07:21.464Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-07-15T01:07:28.902Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":29,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T13:10:16.939Z","stale":false,"partial":false}}