CVE-2026-142493

medium

Description

libheif 1.21.0 before 1.23.4 contains an out-of-bounds read vulnerability in the WebCodecs HEVC decoder plugin that allows attackers to disclose heap memory via crafted HEIF files. Attackers can set an HEVC SPS conformance window so codedWidth and codedHeight exceed the visible rectangle, causing megabyte-scale heap over-reads returned as decoded image pixels.

References

https://www.vulncheck.com/advisories/libheif-1.21.0-before-1.23.4-out-of-bounds-read-via-webcodecs-decoder-plugin

https://github.com/strukturag/libheif/security/advisories/GHSA-rhgw-q5g8-xjh2

https://github.com/strukturag/libheif/releases/tag/v1.23.4

https://github.com/strukturag/libheif/commit/fb8d945732b0c58600cfb1101cfe595c74a6322b

https://github.com/strukturag/libheif/blob/v1.23.3/libheif/plugins/decoder_webcodecs.cc#L767-L773

https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-141731

Details

Source: Mitre, NVD

Published: 2026-12-02

Updated: 2026-12-03

Risk Information

CVSS v2

Base Score: 7.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

Severity: High

CVSS v3

Base Score: 4.3

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N

Severity: Medium

CVSS v4

Base Score: 5.3

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

Severity: Medium

EPSS

EPSS: 0.00383