# JLSEC-2025-330: LIBPNG is a reference library for use in applications that read, create, and manipulate PNG...

- Severity: High 7.1 (CVSS:3.1, scored by Julia Security Advisories) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2025-12-01T22:31:38.231Z
- Modified: 2026-07-25T18:23:41.856Z
- Related: CVE-2025-64720

## Description

LIBPNG is a reference library for use in applications that read, create, and manipulate PNG (Portable Network Graphics) raster image files. From version 1.6.0 to before 1.6.51, an out-of-bounds read vulnerability exists in `png_image_read_composite` when processing palette images with `PNG_FLAG_OPTIMIZE_ALPHA` enabled. The palette compositing code in `png_init_read_transformations` incorrectly applies background compositing during premultiplication, violating the invariant component ≤ alpha × 257 required by the simplified PNG API. This issue has been patched in version 1.6.51.

(As written by Julia Security Advisories.)

## Affected

- libpng_jll (Julia): before 1.6.51+0

## References

- <https://github.com/pnggroup/libpng/commit/08da33b4c88cfcd36e5a706558a8d7e0e4773643> (web)
- <https://github.com/pnggroup/libpng/issues/686> (web)
- <https://github.com/pnggroup/libpng/pull/751> (web)
- <https://github.com/pnggroup/libpng/security/advisories/GHSA-hfc7-ph9c-wcww> (web)

## Sources

- Julia Security Advisories: [JLSEC-2025-330](https://osv.dev/vulnerability/JLSEC-2025-330), CC-BY-4.0, modified 2026-07-25

---

Page: https://cve.day/JLSEC-2025-330 · Whole record: https://cve.day/JLSEC-2025-330.json · Rebuilt by cve.day 2026-11-25T22:56:25.807Z
