Skip to content

Update libpng to 1.6.58 and zlib-ng to 2.3.3. - #203

Open
iamcarbon wants to merge 3 commits into
saucecontrol:masterfrom
carbon:update-libpng-1.6.58
Open

Update libpng to 1.6.58 and zlib-ng to 2.3.3.#203
iamcarbon wants to merge 3 commits into
saucecontrol:masterfrom
carbon:update-libpng-1.6.58

Conversation

@iamcarbon

@iamcarbon iamcarbon commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Update libpng from 1.6.44 to 1.6.58.
  • Update zlib-ng from 2.2.2 to 2.3.3.
  • Refresh the vcpkg source and APNG patch hashes.
  • Preserve the existing PhotoSauce PNG/APNG codec integration and API.

Security

The libpng update incorporates upstream fixes for vulnerabilities affecting older releases, including:

  • CVE-2025-64505
  • CVE-2025-64506
  • CVE-2025-64720
  • CVE-2025-65018
  • CVE-2025-66293
  • CVE-2026-22695
  • CVE-2026-22801
  • CVE-2026-25646
  • CVE-2026-33416
  • CVE-2026-33636
  • CVE-2026-34757

zlib-ng is used by the native PNG codec through the pspng port. The zlib-ng 2.3.3 release does not identify a specific CVE, but includes upstream correctness and hardening fixes.

Other improvements

  • zlib-ng 2.3.x includes the Chorba CRC32 implementation, improving CRC32 performance on CPUs without hardware carry-less multiplication support.
  • zlib-ng 2.3.3 fixes deterministic deflate output when a stream is reused, an integer overflow in minigzip, and several compiler, build-system, and platform-detection issues.

@iamcarbon iamcarbon changed the title Update libpng 1.6.58 Update libpng to 1.6.58 and zlib-ng to 2.3.3. Aug 17, 2026
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.

2 participants