Bug 2443278

Summary: [EPEL 9/10] Request for update to libheif 1.18.2+ to support iOS 18 / iPhone 16 HEIC images
Product: [Fedora] Fedora EPEL Reporter: Nenad Pešić <nenad.pesic>
Component: libheifAssignee: Neal Gompa <ngompa13>
Status: NEW --- QA Contact:
Severity: high Docs Contact:
Priority: unspecified    
Version: epel9CC: dominik, multimedia-sig, ngompa13
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Nenad Pešić 2026-02-27 08:17:59 UTC
Description of problem:
The current version of libheif in EPEL 9 (v1.17.x) is unable to decode HEIC images generated by devices running iOS 18 and newer (e.g., iPhone 16 series), which presents as a major problem for any customer related service since iPhone has a significant market share among image traffic. 


Version-Release number of selected component (if applicable):
libheif-1.17.6

How reproducible:
Always (100%)

Steps to Reproduce:
1. Install ImageMagick and the EPEL libheif delegate: dnf install ImageMagick libheif
2. Obtain iPhone HEIC image and try to convert it: convert modern_iphone.heic output.png


Actual results:
ImageMagick fails with the following error:
Invalid input: Unspecified: Too many auxiliary image references
This error originates from the libheif decoder via the ImageMagick HEIC coder (heic.c/IsHEIFSuccess/202). In a PHP/Imagick environment, this results in an unhandled ImagickException, causing fatal errors in functions like getImageDimension() and convertImage().


Expected results:
The image should be decoded successfully. 


Additional info:
Upstream Reference: "This issue was explicitly addressed in libheif v1.18.2 (GitHub Issue #1190). The fix involved increasing the internal limit for auxiliary image references to accommodate the new HDR gain maps and depth data used in iOS 18."

Comment 1 Miloš Komarčević 2026-02-27 09:30:53 UTC
Duplicate of bug 2386335?

Comment 2 Miloš Komarčević 2026-02-27 09:42:52 UTC
FWIW, 1.17.x can be patched on EPEL10 as a minimum: https://github.com/strukturag/libheif/issues/1190#issuecomment-2484299504