{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-62289","id":"CVE-2026-62289","title":"libheif: Integer underflow in Fraction constructor via double clap transform application","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_","descriptionLong":"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.","published":"2026-08-18T21:19:18.107Z","updated":"2026-10-28T10:55:03.589107669Z","reserved":"2026-07-13T18:37:08.488Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L","rating":"medium","source":"github.com"},{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L","rating":"medium","source":"OSV"}],"rating":"medium","products":["strukturag libheif"],"affectedProducts":[{"vendor":"strukturag","product":"libheif","defaultStatus":null,"versions":[{"version":"< 1.23.1","status":"affected"}],"platforms":[]}],"packages":[],"cwes":["CWE-191","CWE-617"],"aliases":["GHSA-jc8f-p23p-5hjg"],"references":[{"url":"https://github.com/strukturag/libheif/security/advisories/GHSA-jc8f-p23p-5hjg","tags":["x_refsource_CONFIRM","advisory"]},{"url":"https://github.com/strukturag/libheif/commit/f01870c1d7323a3003796d58eba7fff502be994c","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/strukturag/libheif/releases/tag/v1.23.1","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/62xxx/CVE-2026-62289.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-62289","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00302,"epssPercentile":0.23513,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-62289","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-62289","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-62289","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-62289","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}