{"id":"UBUNTU-CVE-2018-13785","details":"In libpng 1.6.34, a wrong calculation of row_factor in the png_check_chunk_length function (pngrutil.c) may trigger an integer overflow and resultant divide-by-zero while processing a crafted PNG file, leading to a denial of service.","modified":"2026-06-01T07:15:26.469352588Z","published":"2018-07-09T00:00:00Z","related":["USN-3712-1"],"upstream":["CVE-2018-13785"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-13785"},{"type":"REPORT","url":"https://sourceforge.net/p/libpng/bugs/278/"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-3712-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2018-13785"}],"affected":[{"package":{"name":"libpng1.6","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/libpng1.6?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6.34-1ubuntu0.18.04.1"}]}],"versions":["1.6.34-1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"1.6.34-1ubuntu0.18.04.1","binary_name":"libpng-tools"},{"binary_version":"1.6.34-1ubuntu0.18.04.1","binary_name":"libpng16-16"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-13785.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:N/I:N/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"},{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}