Bug 2425902 (CVE-2025-68431) - CVE-2025-68431 libheif: libheif has Potential Heap Buffer Over-Read
Summary: CVE-2025-68431 libheif: libheif has Potential Heap Buffer Over-Read
Keywords:
Status: NEW
Alias: CVE-2025-68431
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2426446 2426447 2426448 2426449
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-12-29 20:01 UTC by OSIDB Bzimport
Modified: 2025-12-31 12:57 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-12-29 20:01:53 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.