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.
Published: 2026-12-02
Score: 7.1 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 02 Dec 2026 18:00:00 +0000

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'}


Subscriptions

Struktur Libheif
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-12-02T17:42:25.463Z

Reserved: 2026-12-02T17:20:50.085Z

Link: CVE-2026-142502

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-12-02T18:19:02.870

Modified: 2026-12-02T18:19:03.000

Link: CVE-2026-142502

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses