Repository navigation
Update bundled libheif to 1.23.7 - #223
Merged
Merged
Conversation
1.23.7 is an upstream security and bugfix release, ABI- and API-compatible with 1.23.6. Fourteen fixes are rated high, among them AV1/AVC coded-size check bypasses, a heap use-after-free in parallel grid-tile decoding (1.23.6 only), and CPU-exhaustion limits on derived images, hidden coded pictures, repeated transformations and stsc lookups. The archive's SHA-256 matches the digest GitHub publishes for the v1.23.7 release asset. https://github.com/strukturag/libheif/releases/tag/v1.23.7
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
libheif 1.23.7 is an upstream security and bugfix release. It is ABI- and API-compatible with 1.23.6 and is a drop-in replacement.
Fourteen of the fixes are rated high, among them:
stsclookupsRelease notes: https://github.com/strukturag/libheif/releases/tag/v1.23.7
Changes:
Source/ThirdParty/libheif-1.23.6.tar.gzreplaced withlibheif-1.23.7.tar.gz. SHA-256f7483e818503ea6224c8863e4a56ac02c7089021a98472c811c12aa19faf2475matches the digest GitHub publishes for the release asset.sources.jsonandcmake/FreeImageBundledCodecs.cmakenow point to the new archive and digest.README.md,Source/ThirdParty/README.md,THIRD_PARTY_VERSIONS.md,CHANGELOG.mdanddebian/changelog.Verified:
-DBUILD_LIBHEIF=ON -DUSE_SYSTEM_LIBHEIF=OFFRelease build with the bundled codecs,ctest13/13 on macOS arm64.This PR and the LibRaw 0.22.3 PR edit the same paragraph in
THIRD_PARTY_VERSIONS.md. Whichever merges second needs a one-line conflict resolved.CVEs / advisories fixed
Upstream has not assigned CVE IDs yet: the release notes list them as
CVE-2026-XXXXX, and all 16 GitHub advisories still show no CVE. The advisories are listed by GHSA ID below, split by whether FreeImage's bundled build can reach them. That build is libde265 + kvazaar + libaom; OpenH264, x264/x265, gdk-pixbuf, the apps/tools and the uncompressed codec are all off.PluginHEIF.cpponly opens files, decodes the primary image and thumbnails, and callsheif_context_encode_image.Reachable when loading untrusted HEIF/AVIF files
master.FREEIMAGE_BUNDLE_AOM=ON, the default)irot/imir/claptransformationscolrassociationsstsclookup on open of files with amoovbox, also when only the still image is readAlso in the hardening list: the libde265 plugin now refuses NAL units of 2 GB or more, and a missing first grid tile no longer dereferences NULL in the chroma bit-depth query.
Fixed upstream, but not reachable from FreeImage's bundled build
WITH_OpenH264_DECODER=OFF)heif_context_encode_thumbnail()heifiohelper of the command-line tools; tools are not builtheif-dec/heif-infoonlyBuilds using
USE_SYSTEM_LIBHEIF=ONget whatever the system package provides and need their distro's 1.23.7 update instead.