Bug 2506071

Summary: CVE-2026-47714 libheif: libheif: Denial of service and information disclosure via integer overflow in inline mask parsing [fedora-all]
Product: [Fedora] Fedora Reporter: TEJ RATHI <trathi>
Component: libheifAssignee: Neal Gompa <ngompa13>
Status: MODIFIED --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: dominik, multimedia-sig, ngompa13
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: {"flaws": ["d1232963-a8f2-4d3e-b6d8-abf8d0036657"]}
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2505188    

Description TEJ RATHI 2026-07-22 11:37:54 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

libheif is a HEIF and AVIF file format decoder and encoder. In versions 1.21.2 and prior, the inline mask parsing code in `libheif/region.cc` contains an integer overflow. Both `width` and `height` are `unsigned int` (32-bit) values parsed from the HEIF file. Their product can exceed `UINT32_MAX`, wrapping to a small value before the division by 8. This causes an undersized buffer allocation, leading to out-of-bounds memory access when the mask data is later interpreted as a `width x height` bitmap. Version 1.22.0 patches the issue.

Comment 1 Fedora Update System 2026-08-10 17:21:19 UTC
FEDORA-2026-26ae66c60f (darktable-5.4.1-12.fc45, digikam-9.1.0-3.fc45, and 25 more) has been submitted as an update to Fedora 45.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-26ae66c60f

Comment 2 Fedora Update System 2026-08-12 19:38:36 UTC
FEDORA-2026-823e06dfcf (darktable-5.4.1-12.fc45, digikam-9.1.0-3.fc45, and 25 more) has been submitted as an update to Fedora 45.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-823e06dfcf

Comment 3 Fedora Update System 2026-08-12 19:40:52 UTC
FEDORA-2026-b8ff7153f1 (darktable-5.4.1-12.fc46, digikam-9.1.0-3.fc46, and 25 more) has been submitted as an update to Fedora 46.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-b8ff7153f1

Comment 4 Fedora Update System 2026-08-15 11:50:44 UTC
FEDORA-2026-823e06dfcf (darktable-5.4.1-12.fc45, digikam-9.1.0-3.fc45, and 25 more) has been pushed to the Fedora 45 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 5 Fedora Update System 2026-08-15 11:51:16 UTC
FEDORA-2026-b8ff7153f1 (darktable-5.4.1-12.fc46, digikam-9.1.0-3.fc46, and 25 more) has been pushed to the Fedora 46 stable repository.
If problem still persists, please make note of it in this bug report.