CVE-2026-142502

libheif 1.16.0 before 1.23.6 Out-of-Bounds Read via Sharp-YUV Conversion

Published Dec 2, 2026 CVSS 4.0 · 7.1 High EPSS n/a KEV · Not listed
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.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
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.
Title libheif 1.16.0 before 1.23.6 Out-of-Bounds Read via Sharp-YUV Conversion
First Time appeared Struktur
Struktur libheif
Weaknesses CWE-129
CPEs cpe:2.3:a:struktur:libheif:*:*:*:*:*:*:*:*
Vendors & Products Struktur
Struktur libheif
References
Metrics cvssV3_1

{'score': 7.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H'}

cvssV4_0

{'score': 7.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-129

    Improper Validation of Array Index

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Dec 2, 2026, 5:42 PM
Reserved
Dec 2, 2026, 5:20 PM
Status
Deferred
Published
Dec 2, 2026, 6:19 PM
Modified
Dec 2, 2026, 6:19 PM