{"id":"UBUNTU-CVE-2025-66293","details":"LIBPNG is a reference library for use in applications that read, create, and manipulate PNG (Portable Network Graphics) raster image files. Prior to 1.6.52, an out-of-bounds read vulnerability in libpng's simplified API allows reading up to 1012 bytes beyond the png_sRGB_base[512] array when processing valid palette PNG images with partial transparency and gamma correction. The PNG files that trigger this vulnerability are valid per the PNG specification; the bug is in libpng's internal state management. Upgrade to libpng 1.6.52 or later.","modified":"2026-04-22T20:01:56.514763Z","published":"2025-12-03T21:15:00Z","related":["USN-7963-1","USN-8035-1"],"upstream":["CVE-2025-66293"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2025-66293"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2025-66293"},{"type":"REPORT","url":"https://github.com/pnggroup/libpng/security/advisories/GHSA-9mpm-9pxh-mg4f"},{"type":"REPORT","url":"http://www.openwall.com/lists/oss-security/2025/12/03/6"},{"type":"REPORT","url":"http://www.openwall.com/lists/oss-security/2025/12/03/7"},{"type":"REPORT","url":"http://www.openwall.com/lists/oss-security/2025/12/03/8"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-7963-1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-8035-1"}],"affected":[{"package":{"name":"libpng1.6","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/libpng1.6@1.6.20-2ubuntu0.1~esm3?arch=source&distro=esm-apps/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6.20-2ubuntu0.1~esm3"}]}],"versions":["1.6.20-2","1.6.20-2ubuntu0.1~esm1","1.6.20-2ubuntu0.1~esm2"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_version":"1.6.20-2ubuntu0.1~esm3","binary_name":"libpng16-16"},{"binary_version":"1.6.20-2ubuntu0.1~esm3","binary_name":"libpng16-devtools"},{"binary_version":"1.6.20-2ubuntu0.1~esm3","binary_name":"libpng16-tools"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-66293.json"}},{"package":{"name":"libpng1.6","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/libpng1.6@1.6.34-1ubuntu0.18.04.2+esm2?arch=source&distro=esm-infra/bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6.34-1ubuntu0.18.04.2+esm2"}]}],"versions":["1.6.34-1","1.6.34-1ubuntu0.18.04.1","1.6.34-1ubuntu0.18.04.2","1.6.34-1ubuntu0.18.04.2+esm1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_version":"1.6.34-1ubuntu0.18.04.2+esm2","binary_name":"libpng-tools"},{"binary_version":"1.6.34-1ubuntu0.18.04.2+esm2","binary_name":"libpng16-16"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-66293.json"}},{"package":{"name":"libpng1.6","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/libpng1.6@1.6.37-2ubuntu0.1~esm2?arch=source&distro=esm-infra/focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6.37-2ubuntu0.1~esm2"}]}],"versions":["1.6.37-1","1.6.37-2","1.6.37-2ubuntu0.1~esm1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_version":"1.6.37-2ubuntu0.1~esm2","binary_name":"libpng-tools"},{"binary_version":"1.6.37-2ubuntu0.1~esm2","binary_name":"libpng16-16"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-66293.json"}},{"package":{"name":"libpng1.6","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/libpng1.6@1.6.37-3ubuntu0.3?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6.37-3ubuntu0.3"}]}],"versions":["1.6.37-3build4","1.6.37-3build5","1.6.37-3ubuntu0.1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"1.6.37-3ubuntu0.3","binary_name":"libpng-tools"},{"binary_version":"1.6.37-3ubuntu0.3","binary_name":"libpng16-16"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-66293.json"}},{"package":{"name":"libpng1.6","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/libpng1.6@1.6.43-5ubuntu0.3?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6.43-5ubuntu0.3"}]}],"versions":["1.6.40-1","1.6.40-2","1.6.40-3","1.6.42-1","1.6.43-1","1.6.43-3","1.6.43-5build1","1.6.43-5ubuntu0.1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"1.6.43-5ubuntu0.3","binary_name":"libpng-tools"},{"binary_version":"1.6.43-5ubuntu0.3","binary_name":"libpng16-16t64"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-66293.json"}},{"package":{"name":"libpng1.6","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/libpng1.6@1.6.50-1ubuntu0.3?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6.50-1ubuntu0.3"}]}],"versions":["1.6.47-1.1","1.6.48-1","1.6.49-1~exp1","1.6.50-1~exp1","1.6.50-1","1.6.50-1ubuntu0.1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"1.6.50-1ubuntu0.3","binary_name":"libpng-tools"},{"binary_version":"1.6.50-1ubuntu0.3","binary_name":"libpng16-16t64"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-66293.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"},{"type":"Ubuntu","score":"medium"}]}