{"id":"UBUNTU-CVE-2019-7317","details":"png_image_free in png.c in libpng 1.6.x before 1.6.37 has a use-after-free because png_image_free_function is called under png_safe_execute.","modified":"2026-04-22T13:50:27.887969Z","published":"2019-02-04T00:00:00Z","related":["USN-3962-1","USN-3991-1","USN-3997-1","USN-4080-1","USN-4083-1"],"upstream":["CVE-2019-7317"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2019-7317"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-3962-1"},{"type":"REPORT","url":"https://www.mozilla.org/en-US/security/advisories/mfsa2019-13/#CVE-2019-7317"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-3991-1"},{"type":"REPORT","url":"https://www.mozilla.org/en-US/security/advisories/mfsa2019-15/#CVE-2019-7317"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-3997-1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-4080-1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-4083-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2019-7317"}],"affected":[{"package":{"name":"firefox","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/firefox@67.0+build2-0ubuntu0.16.04.1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"67.0+build2-0ubuntu0.16.04.1"}]}],"versions":["41.0.2+build2-0ubuntu1","42.0+build2-0ubuntu1","44.0+build3-0ubuntu2","44.0.1+build1-0ubuntu1","44.0.2+build1-0ubuntu1","45.0+build2-0ubuntu1","45.0.1+build1-0ubuntu1","45.0.2+build1-0ubuntu1","46.0+build5-0ubuntu0.16.04.2","46.0.1+build1-0ubuntu0.16.04.2","47.0+build3-0ubuntu0.16.04.1","48.0+build2-0ubuntu0.16.04.1","49.0+build4-0ubuntu0.16.04.1","49.0.2+build2-0ubuntu0.16.04.2","50.0+build2-0ubuntu0.16.04.2","50.0.2+build1-0ubuntu0.16.04.1","50.1.0+build2-0ubuntu0.16.04.1","51.0.1+build2-0ubuntu0.16.04.1","51.0.1+build2-0ubuntu0.16.04.2","52.0+build2-0ubuntu0.16.04.1","52.0.1+build2-0ubuntu0.16.04.1","52.0.2+build1-0ubuntu0.16.04.1","53.0+build6-0ubuntu0.16.04.1","53.0.2+build1-0ubuntu0.16.04.2","53.0.3+build1-0ubuntu0.16.04.2","54.0+build3-0ubuntu0.16.04.1","55.0.1+build2-0ubuntu0.16.04.2","55.0.2+build1-0ubuntu0.16.04.1","56.0+build6-0ubuntu0.16.04.1","56.0+build6-0ubuntu0.16.04.2","57.0+build4-0ubuntu0.16.04.5","57.0+build4-0ubuntu0.16.04.6","57.0.1+build2-0ubuntu0.16.04.1","57.0.3+build1-0ubuntu0.16.04.1","57.0.4+build1-0ubuntu0.16.04.1","58.0+build6-0ubuntu0.16.04.1","58.0.1+build1-0ubuntu0.16.04.1","58.0.2+build1-0ubuntu0.16.04.1","59.0+build5-0ubuntu0.16.04.1","59.0.1+build1-0ubuntu0.16.04.1","59.0.2+build1-0ubuntu0.16.04.1","59.0.2+build1-0ubuntu0.16.04.3","60.0+build2-0ubuntu0.16.04.1","60.0.1+build2-0ubuntu0.16.04.1","60.0.2+build1-0ubuntu0.16.04.1","61.0+build3-0ubuntu0.16.04.2","61.0.1+build1-0ubuntu0.16.04.1","62.0+build2-0ubuntu0.16.04.3","62.0+build2-0ubuntu0.16.04.4","62.0+build2-0ubuntu0.16.04.5","62.0.3+build1-0ubuntu0.16.04.2","63.0+build2-0ubuntu0.16.04.2","63.0.3+build1-0ubuntu0.16.04.1","64.0+build3-0ubuntu0.16.04.1","65.0+build2-0ubuntu0.16.04.1","65.0.1+build2-0ubuntu0.16.04.1","66.0+build3-0ubuntu0.16.04.2","66.0.1+build1-0ubuntu0.16.04.1","66.0.2+build1-0ubuntu0.16.04.1","66.0.3+build1-0ubuntu0.16.04.1","66.0.4+build3-0ubuntu0.16.04.1","66.0.5+build1-0ubuntu0.16.04.1"],"ecosystem_specific":{"binaries":[{"binary_name":"firefox","binary_version":"67.0+build2-0ubuntu0.16.04.1"},{"binary_name":"firefox-globalmenu","binary_version":"67.0+build2-0ubuntu0.16.04.1"},{"binary_name":"firefox-mozsymbols","binary_version":"67.0+build2-0ubuntu0.16.04.1"},{"binary_name":"firefox-testsuite","binary_version":"67.0+build2-0ubuntu0.16.04.1"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-7317.json"}},{"package":{"name":"openjdk-8","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/openjdk-8@8u222-b10-1ubuntu1~16.04.1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8u222-b10-1ubuntu1~16.04.1"}]}],"versions":["8u66-b01-5","8u72-b05-1ubuntu1","8u72-b05-5","8u72-b05-6","8u72-b15-1","8u72-b15-2ubuntu1","8u72-b15-2ubuntu3","8u72-b15-3ubuntu1","8u77-b03-1ubuntu2","8u77-b03-3ubuntu1","8u77-b03-3ubuntu2","8u77-b03-3ubuntu3","8u91-b14-0ubuntu4~16.04.1","8u91-b14-3ubuntu1~16.04.1","8u111-b14-2ubuntu0.16.04.2","8u121-b13-0ubuntu1.16.04.2","8u131-b11-0ubuntu1.16.04.2","8u131-b11-2ubuntu1.16.04.2","8u131-b11-2ubuntu1.16.04.3","8u151-b12-0ubuntu0.16.04.2","8u162-b12-0ubuntu0.16.04.2","8u171-b11-0ubuntu0.16.04.1","8u181-b13-0ubuntu0.16.04.1","8u181-b13-1ubuntu0.16.04.1","8u191-b12-0ubuntu0.16.04.1","8u191-b12-2ubuntu0.16.04.1","8u212-b03-0ubuntu1.16.04.1"],"ecosystem_specific":{"binaries":[{"binary_name":"openjdk-8-demo","binary_version":"8u222-b10-1ubuntu1~16.04.1"},{"binary_name":"openjdk-8-jdk","binary_version":"8u222-b10-1ubuntu1~16.04.1"},{"binary_name":"openjdk-8-jdk-headless","binary_version":"8u222-b10-1ubuntu1~16.04.1"},{"binary_name":"openjdk-8-jre","binary_version":"8u222-b10-1ubuntu1~16.04.1"},{"binary_name":"openjdk-8-jre-headless","binary_version":"8u222-b10-1ubuntu1~16.04.1"},{"binary_name":"openjdk-8-jre-jamvm","binary_version":"8u222-b10-1ubuntu1~16.04.1"},{"binary_name":"openjdk-8-jre-zero","binary_version":"8u222-b10-1ubuntu1~16.04.1"},{"binary_name":"openjdk-8-source","binary_version":"8u222-b10-1ubuntu1~16.04.1"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-7317.json"}},{"package":{"name":"thunderbird","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/thunderbird@1:60.7.0+build1-0ubuntu0.16.04.1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:60.7.0+build1-0ubuntu0.16.04.1"}]}],"versions":["1:38.3.0+build1-0ubuntu2","1:38.5.1+build2-0ubuntu1","1:38.6.0+build1-0ubuntu1","1:38.7.2+build1-0ubuntu0.16.04.1","1:38.8.0+build1-0ubuntu0.16.04.1","1:45.2.0+build1-0ubuntu0.16.04.1","1:45.3.0+build1-0ubuntu0.16.04.2","1:45.4.0+build1-0ubuntu0.16.04.1","1:45.5.1+build1-0ubuntu0.16.04.1","1:45.7.0+build1-0ubuntu0.16.04.1","1:45.8.0+build1-0ubuntu0.16.04.1","1:52.1.1+build1-0ubuntu0.16.04.1","1:52.2.1+build1-0ubuntu0.16.04.1","1:52.3.0+build1-0ubuntu0.16.04.1","1:52.4.0+build1-0ubuntu0.16.04.2","1:52.5.0+build1-0ubuntu0.16.04.1","1:52.6.0+build1-0ubuntu0.16.04.1","1:52.7.0+build1-0ubuntu0.16.04.1","1:52.8.0+build1-0ubuntu0.16.04.1","1:52.9.1+build3-0ubuntu0.16.04.1","1:60.2.1+build1-0ubuntu0.16.04.4","1:60.4.0+build2-0ubuntu0.16.04.1","1:60.5.1+build2-0ubuntu0.16.04.1","1:60.6.1+build2-0ubuntu0.16.04.1"],"ecosystem_specific":{"binaries":[{"binary_name":"thunderbird","binary_version":"1:60.7.0+build1-0ubuntu0.16.04.1"},{"binary_name":"thunderbird-globalmenu","binary_version":"1:60.7.0+build1-0ubuntu0.16.04.1"},{"binary_name":"thunderbird-gnome-support","binary_version":"1:60.7.0+build1-0ubuntu0.16.04.1"},{"binary_name":"thunderbird-mozsymbols","binary_version":"1:60.7.0+build1-0ubuntu0.16.04.1"},{"binary_name":"xul-ext-calendar-timezones","binary_version":"1:60.7.0+build1-0ubuntu0.16.04.1"},{"binary_name":"xul-ext-gdata-provider","binary_version":"1:60.7.0+build1-0ubuntu0.16.04.1"},{"binary_name":"xul-ext-lightning","binary_version":"1:60.7.0+build1-0ubuntu0.16.04.1"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-7317.json"}},{"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"}]}],"versions":["1.6.20-2","1.6.20-2ubuntu0.1~esm1","1.6.20-2ubuntu0.1~esm2","1.6.20-2ubuntu0.1~esm3"],"ecosystem_specific":{"binaries":[{"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","binary_version":"1.6.20-2ubuntu0.1~esm3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-7317.json"}},{"package":{"name":"openjdk-9","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/openjdk-9@9~b114-0ubuntu1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["9~b88-1","9~b101-2ubuntu2","9~b102-1","9~b113-0ubuntu1","9~b114-0ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"openjdk-9-demo","binary_version":"9~b114-0ubuntu1"},{"binary_name":"openjdk-9-jdk","binary_version":"9~b114-0ubuntu1"},{"binary_name":"openjdk-9-jdk-headless","binary_version":"9~b114-0ubuntu1"},{"binary_name":"openjdk-9-jre","binary_version":"9~b114-0ubuntu1"},{"binary_name":"openjdk-9-jre-headless","binary_version":"9~b114-0ubuntu1"},{"binary_name":"openjdk-9-source","binary_version":"9~b114-0ubuntu1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-7317.json"}},{"package":{"name":"firefox","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/firefox@67.0+build2-0ubuntu0.18.04.1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"67.0+build2-0ubuntu0.18.04.1"}]}],"versions":["56.0+build6-0ubuntu1","57.0.1+build2-0ubuntu1","59.0.1+build1-0ubuntu1","59.0.2+build1-0ubuntu1","60.0+build2-0ubuntu1","60.0.1+build2-0ubuntu0.18.04.1","60.0.2+build1-0ubuntu0.18.04.1","61.0+build3-0ubuntu0.18.04.1","61.0.1+build1-0ubuntu0.18.04.1","62.0+build2-0ubuntu0.18.04.3","62.0+build2-0ubuntu0.18.04.4","62.0+build2-0ubuntu0.18.04.5","62.0.3+build1-0ubuntu0.18.04.1","63.0+build2-0ubuntu0.18.04.2","63.0.3+build1-0ubuntu0.18.04.1","64.0+build3-0ubuntu0.18.04.1","65.0+build2-0ubuntu0.18.04.1","65.0.1+build2-0ubuntu0.18.04.1","66.0+build3-0ubuntu0.18.04.1","66.0.1+build1-0ubuntu0.18.04.1","66.0.2+build1-0ubuntu0.18.04.1","66.0.3+build1-0ubuntu0.18.04.1","66.0.4+build3-0ubuntu0.18.04.1","66.0.5+build1-0ubuntu0.18.04.1"],"ecosystem_specific":{"binaries":[{"binary_name":"firefox","binary_version":"67.0+build2-0ubuntu0.18.04.1"},{"binary_name":"firefox-globalmenu","binary_version":"67.0+build2-0ubuntu0.18.04.1"},{"binary_name":"firefox-mozsymbols","binary_version":"67.0+build2-0ubuntu0.18.04.1"},{"binary_name":"firefox-testsuite","binary_version":"67.0+build2-0ubuntu0.18.04.1"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-7317.json"}},{"package":{"name":"libpng1.6","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/libpng1.6@1.6.34-1ubuntu0.18.04.2?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6.34-1ubuntu0.18.04.2"}]}],"versions":["1.6.34-1","1.6.34-1ubuntu0.18.04.1"],"ecosystem_specific":{"binaries":[{"binary_name":"libpng-tools","binary_version":"1.6.34-1ubuntu0.18.04.2"},{"binary_name":"libpng16-16","binary_version":"1.6.34-1ubuntu0.18.04.2"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-7317.json"}},{"package":{"name":"openjdk-8","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/openjdk-8@8u222-b10-1ubuntu1~18.04.1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8u222-b10-1ubuntu1~18.04.1"}]}],"versions":["8u144-b01-2","8u151-b12-1","8u162-b12-1","8u171-b11-0ubuntu0.18.04.1","8u181-b13-0ubuntu0.18.04.1","8u181-b13-1ubuntu0.18.04.1","8u191-b12-0ubuntu0.18.04.1","8u191-b12-2ubuntu0.18.04.1","8u212-b03-0ubuntu1.18.04.1"],"ecosystem_specific":{"binaries":[{"binary_name":"openjdk-8-demo","binary_version":"8u222-b10-1ubuntu1~18.04.1"},{"binary_name":"openjdk-8-jdk","binary_version":"8u222-b10-1ubuntu1~18.04.1"},{"binary_name":"openjdk-8-jdk-headless","binary_version":"8u222-b10-1ubuntu1~18.04.1"},{"binary_name":"openjdk-8-jre","binary_version":"8u222-b10-1ubuntu1~18.04.1"},{"binary_name":"openjdk-8-jre-headless","binary_version":"8u222-b10-1ubuntu1~18.04.1"},{"binary_name":"openjdk-8-jre-zero","binary_version":"8u222-b10-1ubuntu1~18.04.1"},{"binary_name":"openjdk-8-source","binary_version":"8u222-b10-1ubuntu1~18.04.1"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-7317.json"}},{"package":{"name":"openjdk-lts","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/openjdk-lts@11.0.4+11-1ubuntu2~18.04.3?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"11.0.4+11-1ubuntu2~18.04.3"}]}],"versions":["9.0.4+12-2ubuntu4","9.0.4+12-4ubuntu1","10~46-4ubuntu1","10~46-5ubuntu1","10.0.1+10-1ubuntu2","10.0.1+10-3ubuntu1","10.0.2+13-1ubuntu0.18.04.1","10.0.2+13-1ubuntu0.18.04.2","10.0.2+13-1ubuntu0.18.04.3","10.0.2+13-1ubuntu0.18.04.4","11.0.2+9-3ubuntu1~18.04.3","11.0.3+7-1ubuntu2~18.04.1"],"ecosystem_specific":{"binaries":[{"binary_name":"openjdk-11-demo","binary_version":"11.0.4+11-1ubuntu2~18.04.3"},{"binary_name":"openjdk-11-jdk","binary_version":"11.0.4+11-1ubuntu2~18.04.3"},{"binary_name":"openjdk-11-jdk-headless","binary_version":"11.0.4+11-1ubuntu2~18.04.3"},{"binary_name":"openjdk-11-jre","binary_version":"11.0.4+11-1ubuntu2~18.04.3"},{"binary_name":"openjdk-11-jre-headless","binary_version":"11.0.4+11-1ubuntu2~18.04.3"},{"binary_name":"openjdk-11-jre-zero","binary_version":"11.0.4+11-1ubuntu2~18.04.3"},{"binary_name":"openjdk-11-source","binary_version":"11.0.4+11-1ubuntu2~18.04.3"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-7317.json"}},{"package":{"name":"thunderbird","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/thunderbird@1:60.7.0+build1-0ubuntu0.18.04.1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:60.7.0+build1-0ubuntu0.18.04.1"}]}],"versions":["1:52.4.0+build1-0ubuntu2","1:52.6.0+build1-0ubuntu1","1:52.7.0+build1-0ubuntu1","1:52.8.0+build1-0ubuntu0.18.04.1","1:52.9.1+build3-0ubuntu0.18.04.1","1:60.2.1+build1-0ubuntu0.18.04.2","1:60.4.0+build2-0ubuntu0.18.04.1","1:60.5.1+build2-0ubuntu0.18.04.1","1:60.6.1+build2-0ubuntu0.18.04.1"],"ecosystem_specific":{"binaries":[{"binary_name":"thunderbird","binary_version":"1:60.7.0+build1-0ubuntu0.18.04.1"},{"binary_name":"thunderbird-globalmenu","binary_version":"1:60.7.0+build1-0ubuntu0.18.04.1"},{"binary_name":"thunderbird-gnome-support","binary_version":"1:60.7.0+build1-0ubuntu0.18.04.1"},{"binary_name":"thunderbird-mozsymbols","binary_version":"1:60.7.0+build1-0ubuntu0.18.04.1"},{"binary_name":"xul-ext-calendar-timezones","binary_version":"1:60.7.0+build1-0ubuntu0.18.04.1"},{"binary_name":"xul-ext-gdata-provider","binary_version":"1:60.7.0+build1-0ubuntu0.18.04.1"},{"binary_name":"xul-ext-lightning","binary_version":"1:60.7.0+build1-0ubuntu0.18.04.1"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-7317.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}