libheif before 1.23.6 fails to verify that decoded images match the bit depth reported by the image handle, causing out-of-bounds reads in calling applications. Attackers can supply crafted HEIF files with contradicting hvcC or av1C boxes, mixed-depth grid tiles, or iovl overlays to crash applications or disclose memory.
https://github.com/strukturag/libheif/security/advisories/GHSA-vv35-6hxg-95x8
https://github.com/strukturag/libheif/releases/tag/v1.23.6
https://github.com/strukturag/libheif/commit/770b0d8d7e1e57b0f4d2b8dc53ff3f82b712fbac
https://github.com/strukturag/libheif/commit/64a5bba75ad64aa8c010b8ad61e32091025442b3
https://github.com/strukturag/libheif/blob/v1.23.5/libheif/image-items/grid.cc#L590
Published: 2026-12-02
Updated: 2026-12-05
Base Score: 7.5
Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P
Severity: High
Base Score: 5.9
Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:H
Severity: Medium
Base Score: 6
Vector: CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N
Severity: Medium
EPSS: 0.00642