{"schemaVersion":3,"id":"CVE-2026-62289","aliases":["UBUNTU-CVE-2026-62289","DEBIAN-CVE-2026-62289"],"status":"published","duplicateOf":null,"title":null,"description":"libheif is a HEIF and AVIF file format decoder and encoder. In 1.23.0 and earlier, a crafted HEIF or AVIF file containing a clean aperture box can reduce an image dimension to zero and crash or corrupt tiling results when heif_image_handle_get_image_tiling(handle, 1, &tiling) is called. ImageItem::get_heif_image_tiling() returns already transformed dimensions, and process_image_transformations_on_tiling() applies the clean aperture transformation again. The second application passes zero to Box_clap::left_rounded(0), where image_width minus one underflows and constructs Fraction(0xFFFFFFFF, 2). Debug builds reach an assertion and abort, while release builds can return a corrupt crop and zero-width tiling result. The affected implementation spans libheif/image-items/image_item.cc, libheif/context.cc, and libheif/box.cc. This issue is fixed in version 1.23.1.","dates":{"published":"2026-08-18T21:19:18.107Z","modified":"2026-08-19T16:51:42.360Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":4.3,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":4.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":4.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L","exploitability":7.2,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":4.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L","exploitability":7.2,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":4.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00302,"percentile":0.21579,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00302},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00302,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00302,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00302,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00302,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00302,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00302,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00302,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00302,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00302,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00302,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00302,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00302,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00302,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00302,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00302,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00302,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00302,"percentile":0.21579}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00302,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00302,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00302,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00302,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.004,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00302,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00302,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00302,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00302,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00302,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00302,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00302,"percentile":0.21579}]},"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-191","name":"Integer Underflow (Wrap or Wraparound)","description":"The product subtracts one value from another, such that the result is less than the minimum allowable integer value, which produces a value that is not equal to the correct result.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/191.html"},{"id":"CWE-617","name":"Reachable Assertion","description":"The product contains an assert() or similar statement that can be triggered by an attacker, which leads to an application exit or other behavior that is more severe than necessary.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/617.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~esm4","noFixRecorded":false,"fixedIn":null},{"text":"< 1.6.1-1ubuntu0.1~esm4","noFixRecorded":false,"fixedIn":null},{"text":"< 1.12.0-2ubuntu0.1~esm4","noFixRecorded":false,"fixedIn":null},{"text":"< 1.17.6-1ubuntu4.7","noFixRecorded":false,"fixedIn":null},{"text":"< 1.21.2-3ubuntu0.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.1.0-2ubuntu0.1~esm4 | < 1.6.1-1ubuntu0.1~esm4 | < 1.12.0-2ubuntu0.1~esm4 | < 1.17.6-1ubuntu4.7 | < 1.21.2-3ubuntu0.4","eol":null,"hubHref":null},{"vendor":"strukturag","product":"libheif","name":"libheif","label":"libheif","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.23.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.23.1","eol":null,"hubHref":"/vendor/strukturag/libheif"}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/strukturag/libheif/security/advisories/GHSA-jc8f-p23p-5hjg","label":"github.com/strukturag/libheif/security/advisories/GHSA-jc8f-p23p-5hjg","hostname":"github.com","tags":["X Refsource CONFIRM","REPORT"]},{"url":"https://github.com/strukturag/libheif/commit/f01870c1d7323a3003796d58eba7fff502be994c","label":"github.com/strukturag/libheif/commit/f01870c1d7323a3003796d58eba7fff502be994c","hostname":"github.com","tags":["X Refsource MISC"]},{"url":"https://github.com/strukturag/libheif/releases/tag/v1.23.1","label":"github.com/strukturag/libheif/releases/tag/v1.23.1","hostname":"github.com","tags":["X Refsource MISC"]},{"url":"https://ubuntu.com/security/CVE-2026-62289","label":"ubuntu.com/security/CVE-2026-62289","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-62289","label":"www.cve.org/CVERecord?id=CVE-2026-62289","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-8649-1","label":"ubuntu.com/security/notices/USN-8649-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/notices/USN-8683-1","label":"ubuntu.com/security/notices/USN-8683-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-62289","label":"security-tracker.debian.org/tracker/CVE-2026-62289","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2026:11416-1","OPENSUSE-SU-2026:21644-1","SUSE-SU-2026:23320-1","SUSE-SU-2026:3597-1","USN-8683-1"],"duplicates":[],"related":["OPENSUSE-SU-2026:11416-1","OPENSUSE-SU-2026:21644-1","SUSE-SU-2026:23320-1","SUSE-SU-2026:3597-1","USN-8649-1","USN-8683-1"]},"timeline":[{"kind":"published","date":"2026-08-18T21:19:18.107Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-08-19T16:51:42.360Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":17,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T14:47:09.536Z","stale":false,"partial":false}}