CVE-2026-142502

7.1High

Published Dec 2, 2026 · NVD status: Deferred · AI triage by gemini-3.1-flash-lite

7.1CVSS

High

0CVSS v3.110

Attack vector
Network
Complexity
Low
Privileges
None
User action
Required
Impact
High impact on availability
Weakness
CWE-129

What an attacker gets

Remote attackers can crash applications or leak memory by providing a malicious HEIF image. This requires a user to open or process the crafted file.

Root cause

The library fails to validate 10-bit or 12-bit RGB samples before passing them to the SharpYuvConvert function, leading to an out-of-bounds read.

Affected versions

libheif 1.16.0 through 1.23.5

CVSS v3.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H

Fix & remediation

Upgrade to libheif version 1.23.6 or later. If you cannot patch, disable image processing for untrusted HEIF files.

remediation — bash
$ sudo apt-get update && sudo apt-get install --only-upgrade libheif1

AI-suggested. Run it in staging first and check it against the vendor advisory. Why?

NVD description

libheif 1.16.0 before 1.23.6 contains an out-of-bounds read vulnerability in Op_Any_RGB_to_YCbCr_420_Sharp::convert_colorspace() that passes unchecked 10-bit or 12-bit RGB samples to SharpYuvConvert(). Attackers can supply a crafted HEIF file producing samples above the declared bit depth so libsharpyuv gamma table lookups read out of bounds, crashing the process or leaking memory into output pixels.

References

Source: nvd.nist.gov/vuln/detail/CVE-2026-142502

More fully triaged vulnerabilities you may want to check next.