CVE-2026-142504
published medium CVSS 4.0 · 6.0libheif before 1.23.6 Bit Depth Mismatch Leads to Out-of-Bounds Read
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| strukturag | — | libheif0 to < 1.23.6 · Other versions: unaffected | Affected | Not stated | VulnCheck |
| Amazon Linux | AL2023 | Release evaluation | Pending Fix | Not stated | Amazon Linux assessment |
| Debian | bookworm | libheif | Advisory build | 1.15.1-1+deb12u2 | DLA-4959-1 |
| Debian | trixie | libheif | Advisory build | 1.23.6-2~deb13u1 | DSA-6583-1 |
Description
libheif before 1.23.6 fails to verify that decoded images match the bit depth reported by the image handle, causing out-of-bounds reads in calling applications. Attackers can supply crafted HEIF files with contradicting hvcC or av1C boxes, mixed-depth grid tiles, or iovl overlays to crash applications or disclose memory.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.0 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 5.9 | medium | VulnCheck · cna | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| strukturag | libheif | 0 to < 1.23.6 (affected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-1284 Improper Validation of Specified Quantity in Input
References
6- https://github.com/strukturag/libheif/blob/v1.23.5/libheif/image-items/grid.cc#L590
- https://github.com/strukturag/libheif/commit/64a5bba75ad64aa8c010b8ad61e32091025442b3
- https://github.com/strukturag/libheif/commit/770b0d8d7e1e57b0f4d2b8dc53ff3f82b712fbac
- libheif v1.23.6 Release Notes https://github.com/strukturag/libheif/releases/tag/v1.23.6
- GitHub Security Advisory (GHSA-vv35-6hxg-95x8) https://github.com/strukturag/libheif/security/advisories/GHSA-vv35-6hxg-95x8
- VulnCheck Advisory: libheif before 1.23.6 Bit Depth Mismatch Leads to Out-of-Bounds Read https://www.vulncheck.com/advisories/libheif-before-1.23.6-bit-depth-mismatch-leads-to-out-of-bounds-read
Provider assertions
1VulnCheck · cna
libheif before 1.23.6 Bit Depth Mismatch Leads to Out-of-Bounds Read
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 53c301f470653a6cb36bff4e4d9bbafa849882fdc4302d31dc0f427ab9772f3a
- Ingested
- 02 Dec 2026, 17:49:11 UTC
- Source record
- Official CVE record