{"id":"UBUNTU-CVE-2017-12652","details":"libpng before 1.6.32 does not properly check the length of chunks against the user limit.","modified":"2026-08-17T23:45:05.921498390Z","published":"2019-07-10T15:15:00Z","related":["USN-5432-1","USN-5432-2"],"upstream":["CVE-2017-12652"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2017-12652"},{"type":"REPORT","url":"https://github.com/glennrp/libpng/blob/df7e9dae0c4aac63d55361e35709c864fa1b8363/ANNOUNCE"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5432-1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5432-2"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2017-12652"}],"affected":[{"package":{"name":"libpng","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/libpng?arch=source&distro=esm-infra-legacy%2Ftrusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.2.49-4ubuntu1","1.2.49-5ubuntu1","1.2.50-1ubuntu1","1.2.50-1ubuntu2","1.2.50-1ubuntu2.14.04.1","1.2.50-1ubuntu2.14.04.2","1.2.50-1ubuntu2.14.04.3","1.2.50-1ubuntu2.14.04.3+esm1","1.2.50-1ubuntu2.14.04.3+esm2"],"ecosystem_specific":{"binaries":[{"binary_version":"1.2.50-1ubuntu2.14.04.3+esm2","binary_name":"libpng12-0"},{"binary_name":"libpng3","binary_version":"1.2.50-1ubuntu2.14.04.3+esm2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-12652.json"}},{"package":{"name":"libpng","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/libpng?arch=source&distro=esm-infra%2Fxenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.54-1ubuntu1.1+esm1"}]}],"versions":["1.2.51-0ubuntu3","1.2.54-1","1.2.54-1ubuntu1","1.2.54-1ubuntu1.1"],"ecosystem_specific":{"binaries":[{"binary_name":"libpng12-0","binary_version":"1.2.54-1ubuntu1.1+esm1"},{"binary_version":"1.2.54-1ubuntu1.1+esm1","binary_name":"libpng3"}],"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-12652.json"}},{"package":{"name":"libpng1.6","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/libpng1.6?arch=source&distro=esm-apps%2Fxenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6.20-2ubuntu0.1~esm1"}]}],"versions":["1.6.20-2"],"ecosystem_specific":{"binaries":[{"binary_name":"libpng16-16","binary_version":"1.6.20-2ubuntu0.1~esm1"},{"binary_name":"libpng16-devtools","binary_version":"1.6.20-2ubuntu0.1~esm1"},{"binary_version":"1.6.20-2ubuntu0.1~esm1","binary_name":"libpng16-tools"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-12652.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"low"}]}