Skip to content

Update bundled OpenEXR to 3.5.3, Little CMS to 2.20 and libaom to 3.15.3 - #255

Merged
danoli3 merged 3 commits into
masterfrom
deps/openexr-lcms2-libaom
Nov 1, 2026
Merged

danoli3 merged 3 commits into
masterfrom
deps/openexr-lcms2-libaom

Conversation

@danoli3

@danoli3 danoli3 commented Nov 1, 2026

Copy link
Copy Markdown
Owner

Updates the three libraries reported in #254.

Library From To Source check
OpenEXR 3.5.2 3.5.3 upstream tag v3.5.3 (3950290530c4)
Little CMS 2.19.1 2.20 SHA-256 matches the digest GitHub publishes for the lcms2.20 release asset
libaom 3.15.2 3.15.3 .asc signature verifies against the AOMedia release signing key

OpenEXR 3.5.3

Applied the upstream v3.5.2..v3.5.3 diff of Iex, IlmThread, OpenEXR and OpenEXRCore to Source/OpenEXR. The local patches listed in scripts/vendor/NOTES.md are kept. No source files were added or removed, so the CMake and Makefile.srcs lists are unchanged. The Zstandard and OpenJPH snapshots are also unchanged.

Fixes relevant to FreeImage's reader include:

  • an integer overflow in readCoreScanlinePart scanline size accumulation
  • a null read in the DWA decoder when y sampling exceeds chunk height
  • validation of ZSTD deep sample counts before unsorting
  • a tile area overflow in DeepTiledOutputFile::initialize
  • a dangling channels pointer in exr_copy_unset_attributes
  • byte-order fixes for ZSTD, DWA and HTJ2K on big-endian hosts

Two local-patch changes:

  • CreateFileW: upstream merged #2712 in 3.5.3, so the local patch is replaced by upstream's version (only comments differ). NOTES.md no longer asks for it to be preserved.
  • ZSTD aligned allocation: upstream added a posix_memalign fallback for macOS targets below 10.15. It sits next to this fork's Android API < 28 fallback, and both are kept.

After the update, the only differences between the vendored tree and upstream 3.5.3 are the existing local changes (flat Imath includes, version-header guards and the Android fallback).

Little CMS 2.20

Maintenance release. It fixes a possible crash with malformed profiles, a crash in PostScript CSA generation, the UTF-8 buffer size calculation, and leaks in black-preserving intents and .cube loading. The LCMS2_* CMake options FreeImage passes are unchanged. LICENSE and AUTHORS are unchanged.

libaom 3.15.3

ABI compatible with 3.15.2. It fixes an integer overflow in av1_choose_var_based_partitioning (oss-fuzz:572842743). LICENSE is unchanged.

Testing

macOS arm64:

  • Release, with bundled HEIF/AVIF and JPEG XL: 18/18 tests pass. The installed aom.pc reports 3.15.3, and lcms2.h reports LCMS_VERSION 2200.
  • ASan + UBSan (RelWithDebInfo): 15/15 tests pass, with no sanitizer reports. This includes VendorCodecTest, which round-trips EXR with ZIP, PIZ, ZSTD, HTJ2K256, HTJ2K32 and LJ2K and loads a variable-sample deep ZSTD file.

Windows, ARM64EC, Linux GNU make and the other targets are covered by CI.

Closes #254.

Fixes an integer overflow in av1_choose_var_based_partitioning
(oss-fuzz:572842743). The release is ABI compatible with 3.15.2.
The archive's signature verifies against the AOMedia release signing key.
Maintenance release with fixes for a possible crash on malformed profiles,
a crash in PostScript CSA generation, the UTF-8 buffer size calculation,
and memory leaks in black-preserving intents and .cube loading. The CMake
options FreeImage passes are unchanged. The archive matches the SHA-256
digest GitHub publishes for the lcms2.20 release asset.
Apply the upstream v3.5.2..v3.5.3 diff of Iex, IlmThread, OpenEXR and
OpenEXRCore to Source/OpenEXR. 3.5.3 fixes an integer overflow in
readCoreScanlinePart, a null read in the DWA decoder, a tile area overflow
in DeepTiledOutputFile, unchecked ZSTD deep sample counts, a dangling
channels pointer in exr_copy_unset_attributes, and big-endian codec bugs.

Upstream now ships the CreateFileW change (#2712) that was carried here as
a local patch, so take its version. Keep the Android API < 28
posix_memalign fallback beside upstream's new macOS < 10.15 one. No source
files were added or removed, and the Zstandard and OpenJPH snapshots are
unchanged.
@danoli3
danoli3 merged commit 22c7f60 into master Nov 1, 2026
91 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Vendored libraries have newer upstream releases

1 participant