Bug 2443278 - [EPEL 9/10] Request for update to libheif 1.18.2+ to support iOS 18 / iPhone 16 HEIC images
Summary: [EPEL 9/10] Request for update to libheif 1.18.2+ to support iOS 18 / iPhone ...
Keywords:
Status: NEW
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: libheif
Version: epel9
Hardware: All
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Neal Gompa
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-02-27 08:17 UTC by Nenad Pešić
Modified: 2026-02-27 09:42 UTC (History)
3 users (show)

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


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github strukturag libheif issues 1190 0 None closed Unable to convert heic to jpg taken by iPhone 15 pro iOS18 2026-02-27 08:17:59 UTC

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


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