{"id":"JLSEC-2025-330","summary":"LIBPNG is a reference library for use in applications that read, create, and manipulate PNG...","details":"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.","modified":"2026-07-25T18:23:41.856075162Z","published":"2025-12-01T22:31:38.231Z","upstream":["CVE-2025-64720"],"database_specific":{"license":"CC-BY-4.0","sources":[{"database_specific":{"status":"Analyzed"},"id":"CVE-2025-64720","imported":"2026-07-17T21:00:58.120Z","modified":"2026-06-17T09:55:06.230Z","published":"2025-11-25T00:15:47.460Z","url":"https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2025-64720","html_url":"https://nvd.nist.gov/vuln/detail/CVE-2025-64720"}]},"references":[{"type":"WEB","url":"https://github.com/pnggroup/libpng/commit/08da33b4c88cfcd36e5a706558a8d7e0e4773643"},{"type":"WEB","url":"https://github.com/pnggroup/libpng/issues/686"},{"type":"WEB","url":"https://github.com/pnggroup/libpng/pull/751"},{"type":"WEB","url":"https://github.com/pnggroup/libpng/security/advisories/GHSA-hfc7-ph9c-wcww"}],"affected":[{"package":{"name":"libpng_jll","ecosystem":"Julia","purl":"pkg:julia/libpng_jll?uuid=b53b4c65-9356-5827-b1ea-8c7a1a84506f"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.6.51+0"}]}],"database_specific":{"source":"https://github.com/JuliaLang/SecurityAdvisories.jl/tree/generated/osv/2025/JLSEC-2025-330.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H"}]}