Skip to content

4.42.0: ICC parsing hardened against oversized profiles

Latest

Choose a tag to compare

@mattiasw mattiasw released this 05 Aug 14:58
· 4 commits to main since this release

Changed

  • An ICC profile whose declared size is larger than all the data available for the file no longer produces ICC tags. This affects files truncated to fewer bytes than the ICC profile declares, and partial reads using the length option, which could previously still return tags for such a profile.

Security

  • Fixed a denial-of-service vulnerability where a crafted WebP, HEIC, or AVIF file could trigger excessive memory allocation during ICC metadata parsing (GHSA-wx94-r5p4-hx2f). Reported by @arpitjain099.

Full Changelog: v4.41.4...v4.42.0