Out-of-bounds Read in Strukturag Libheif
CVE-2025-68431
libheif is an HEIF and AVIF file format decoder and encoder. Prior to version 1.21.0, a crafted HEIF that exercises the overlay image item path triggers a heap buffer over-read in `HeifPixelImage::overlay()`. The function computes a negati…
Vulnerability class: Buffer Overflow
EPSS: 0.000 (13.3th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H.
Affected products
- Strukturag Libheif — versions < 1.21.0
Weakness classification (CWE)
References
- https://github.com/strukturag/libheif/security/advisories/GHSA-j87x-4gmq-cqfq (x_refsource_CONFIRM)
- https://github.com/strukturag/libheif/commit/b8c12a7b70f46c9516711a988483bed377b78d46 (x_refsource_MISC)
- https://github.com/strukturag/libheif/releases/tag/v1.21.0 (x_refsource_MISC)
Frequently asked questions
- What is CVE-2025-68431?
- CVE-2025-68431 is a medium-severity vulnerability in Strukturag Libheif, classified under Out-of-bounds Read. CVSS score: 6.5/10. Published 2025-12-29.
- How severe is CVE-2025-68431?
- Medium severity. CVSS v3 base score is 6.5 out of 10.