CVE-2025-68431
No exploitation reported by the sources we read.
- Published2025-12-29
- Fixed in1.21.0
- WeaknessCWE-125 · CWE-190
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
Description
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.
Timeline
dates in UTC- 2025-12-2919:15CVE publishedNVD
Versions per branch
NVD| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 1.21 | < 1.21.0 | 1.21.0 | NVD |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA1 product
As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- strukturag libheifAffected
- = < 1.21.0no fix stated
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2025-12-29
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- libheifUbuntu:Pro:22.04:LTSall versions · fixed in 1.12.0-2ubuntu0.1~esm2
- libheifUbuntu:Pro:20.04:LTSall versions · fixed in 1.6.1-1ubuntu0.1~esm2
- libheifUbuntu:Pro:18.04:LTSall versions · fixed in 1.1.0-2ubuntu0.1~esm2
- libheifUbuntu:26.04:LTSall versions · fixed in 1.21.2-1
- libheifUbuntu:25.10all versions · fixed in 1.20.2-1ubuntu0.1
- libheifUbuntu:24.04:LTSall versions · fixed in 1.17.6-1ubuntu4.2
- libheifSUSE:Linux Enterprise Server for SAP applications 16.0all versions · fixed in 1.19.7-160000.3.1
- libheifSUSE:Linux Enterprise Server for SAP applications 16.0all versions · fixed in 1.23.0-160000.1.1
35 more package ranges on OSV.dev
Vendor advisories
- CVE-2025-68431 Red Hat Product Security
libheif: libheif has Potential Heap Buffer Over-Read
Fix
- Update Struktur libheif to 1.21.0
Advisories and patches
- github.comPatch
- github.comRelease Notes
- github.comPatch · Vendor Advisory
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHubno public repository identifiedread 2026-11-10
- Metasploit modules
- none listed Metasploit Framework
Sources
Identifiers
- EUVD-2025-205646same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- JLSEC-2026-156same flawJulia Security Advisories · CC-BY-4.0
- openSUSE-SU-2026:10019-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2026:20076-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2026:20974-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- SUSE-SU-2026:0087-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2026:0377-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2026:20121-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2026:22153-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2026:2622-1advisory covering several CVEsSUSE · LicenseRef-unstated
- USN-7952-1advisory covering several CVEsUbuntu
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H
- Published
- 2025-12-29
- Last Modified
- 2026-10-07
- NVD status
- Analyzed
Frequently asked questions
What is CVE-2025-68431?
Is CVE-2025-68431 actively exploited?
What is the CVSS score for CVE-2025-68431?
Running libheif? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0