CVE-2025-68431
Publication date 29 December 2025
Last updated 12 January 2026
Ubuntu priority
Cvss 3 Severity Score
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.
Status
| Package | Ubuntu Release | Status |
|---|---|---|
| libheif | 25.10 questing |
Fixed 1.20.2-1ubuntu0.1
|
| 25.04 plucky |
Fixed 1.19.7-1ubuntu0.1
|
|
| 24.04 LTS noble |
Fixed 1.17.6-1ubuntu4.2
|
|
| 22.04 LTS jammy |
Fixed 1.12.0-2ubuntu0.1~esm2
|
|
| 20.04 LTS focal |
Fixed 1.6.1-1ubuntu0.1~esm2
|
|
| 18.04 LTS bionic |
Fixed 1.1.0-2ubuntu0.1~esm2
|
Get expanded security coverage with Ubuntu Pro
Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.
Get Ubuntu Pro 30-day free trialNotes
Severity score breakdown
| Parameter | Value |
|---|---|
| Base score |
|
| Attack vector | Network |
| Attack complexity | Low |
| Privileges required | None |
| User interaction | Required |
| Scope | Unchanged |
| Confidentiality | None |
| Integrity impact | None |
| Availability impact | High |
| Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
References
Related Ubuntu Security Notices (USN)
- USN-7952-1
- libheif vulnerabilities
- 12 January 2026