libheif 1.22.0 before 1.23.4 contains a heap out-of-bounds read vulnerability in aom_encode_sequence_frame() and x265_encode_sequence_frame() that allows attackers to disclose heap memory via crafted images with mismatched luma and chroma bit depths. Attackers can supply a crafted 'unci' file with 10-bit luma and 8-bit chroma so re-encoding reads chroma rows at twice their width, leaking heap bytes into encoded output.
https://github.com/strukturag/libheif/security/advisories/GHSA-fqpw-fj22-78w4
https://github.com/strukturag/libheif/releases/tag/v1.23.4
https://github.com/strukturag/libheif/commit/51360e193a1288f54592aa6fc0b7037160636514
https://github.com/strukturag/libheif/blob/v1.23.3/libheif/plugins/encoder_aom.cc#L1250-L1312
Published: 2026-12-02
Updated: 2026-12-03
Base Score: 6.4
Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:P
Severity: Medium
Base Score: 3.1
Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N
Severity: Low
Base Score: 2.3
Vector: CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
Severity: Low
EPSS: 0.00361