strukturag libheif up to 1.20.x AVIF File Parser HeifPixelImage::overlay out-of-bounds
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.9 | $0-$5k | 0.00 |
Summary
A vulnerability described as problematic has been identified in strukturag libheif up to 1.20.x. Affected is the function HeifPixelImage::overlay of the component AVIF File Parser. The manipulation results in out-of-bounds.
This vulnerability is known as CVE-2025-68431. It is possible to launch the attack remotely. No exploit is available.
Upgrading the affected component is recommended.
Details
A vulnerability, which was classified as problematic, was found in strukturag libheif up to 1.20.x. Affected is the function HeifPixelImage::overlay of the component AVIF File Parser. The manipulation with an unknown input leads to a out-of-bounds vulnerability. CWE is classifying the issue as CWE-125. The product reads data past the end, or before the beginning, of the intended buffer. This is going to have an impact on availability. CVE summarizes:
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 negative row length (likely from an unclipped overlay rectangle or invalid offsets), which then underflows when converted to `size_t` and is passed to `memcpy`, causing a very large read past the end of the source plane and a crash. Version 1.21.0 contains a patch. As a workaround, avoid decoding images using `iovl` overlay boxes.
The advisory is shared for download at github.com. This vulnerability is traded as CVE-2025-68431 since 12/17/2025. The exploitability is told to be easy. It is possible to launch the attack remotely. The exploitation doesn't require any form of authentication. Successful exploitation requires user interaction by the victim. There are known technical details, but no exploit is available.
The vulnerability scanner Nessus provides a plugin with the ID 280130 (Linux Distros Unpatched Vulnerability : CVE-2025-68431), which helps to determine the existence of the flaw in a target environment.
Upgrading to version 1.21.0 eliminates this vulnerability. The upgrade is hosted for download at github.com. Applying the patch b8c12a7b70f46c9516711a988483bed377b78d46 is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.
The vulnerability is also documented in the databases at Tenable (280130) and EUVD (EUVD-2025-205646). Once again VulDB remains the best source for vulnerability data.
Product
Vendor
Name
Version
License
Website
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔒VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 6.0VulDB Meta Temp Score: 5.9
VulDB Base Score: 4.3
VulDB Temp Score: 4.1
VulDB Vector: 🔒
VulDB Reliability: 🔍
NVD Base Score: 7.1
NVD Vector: 🔒
CNA Base Score: 6.5
CNA Vector (GitHub_M): 🔒
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploiting
Class: Out-of-boundsCWE: CWE-125 / CWE-119
CAPEC: 🔒
ATT&CK: 🔒
Physical: No
Local: No
Remote: Yes
Availability: 🔒
Status: Not defined
EPSS Score: 🔒
EPSS Percentile: 🔒
Price Prediction: 🔍
Current Price Estimation: 🔒
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 280130
Nessus Name: Linux Distros Unpatched Vulnerability : CVE-2025-68431
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔒
Upgrade: libheif 1.21.0
Patch: b8c12a7b70f46c9516711a988483bed377b78d46
Timeline
12/17/2025 CVE reserved12/29/2025 Advisory disclosed
12/29/2025 VulDB entry created
02/26/2026 VulDB entry last update
Sources
Product: github.comAdvisory: GHSA-j87x-4gmq-cqfq
Status: Confirmed
CVE: CVE-2025-68431 (🔒)
GCVE (CVE): GCVE-0-2025-68431
GCVE (VulDB): GCVE-100-338700
EUVD: 🔒
Entry
Created: 12/29/2025 21:35Updated: 02/26/2026 11:13
Changes: 12/29/2025 21:35 (69), 12/30/2025 05:47 (1), 12/30/2025 11:19 (2), 02/26/2026 11:13 (11)
Complete: 🔍
Cache ID: 216::103
Once again VulDB remains the best source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.