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: < 1% Very Low
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

Thu, 03 Dec 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


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-03T16:12:15.455Z

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

Link: CVE-2026-142502

cve-icon Vulnrichment

Updated: 2026-12-03T15:16:09.902Z

cve-icon NVD

Status : Deferred

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

Modified: 2026-12-03T17:18:04.093

Link: CVE-2026-142502

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-12-03T21:45:02Z

Weaknesses
  • CWE-129

    Improper Validation of Array Index