{"id":"UBUNTU-CVE-2017-6961","details":"An issue was discovered in apng2gif 1.7. There is improper sanitization of user input causing huge memory allocations, resulting in a crash. This is related to the read_chunk function using the pChunk-\u003esize value (within the PNG file) to determine the amount of memory to allocate.","modified":"2026-11-18T07:15:11.171817945Z","published":"2017-03-17T09:59:00Z","related":["USN-9132-1"],"upstream":["CVE-2017-6961"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2017-6961"},{"type":"REPORT","url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=854441"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2017-6961"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-9132-1"}],"affected":[{"package":{"name":"apng2gif","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/apng2gif?arch=source&distro=esm-apps%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.7-1ubuntu0.1~esm1"}]}],"versions":["1.7-1"],"ecosystem_specific":{"binaries":[{"binary_name":"apng2gif","binary_version":"1.7-1ubuntu0.1~esm1"}],"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-6961.json"}},{"package":{"name":"apng2gif","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/apng2gif?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8-0.1"}]}],"ecosystem_specific":{"binaries":[{"binary_name":"apng2gif","binary_version":"1.8-0.1"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-6961.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}