CVEfocus › CVE database › CVE-2019-7317

CVE-2019-7317

CVSS 5.3 MediumEPSS 9.4% (higher than 95% of CVEs)Published 2019-02-04Updated 2026-05-28Assigner: mitre

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.

CWE-416

What to do

Fixed builds are available from Alpine, Debian, Red Hat, Ubuntu: see the table below for the fixed version per release.

Red Hat has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

93Fixed
7Fix pending
3Will not fix
22Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04libpng1.6Not affected
vulnerable_code_not_present
Ubuntu 26.04openjdk-8Not affected
vulnerable_code_not_present
Ubuntu 26.04openjdk-ltsNot affected
vulnerable_code_not_present
Ubuntu 25.10libpng1.6Not affected
vulnerable_code_not_present
Ubuntu 25.10openjdk-8Not affected
vulnerable_code_not_present
Ubuntu 25.10openjdk-ltsNot affected
vulnerable_code_not_present
Ubuntu 24.04libpng1.6Not affected
vulnerable_code_not_present
Ubuntu 24.04openjdk-8Not affected
vulnerable_code_not_present
Ubuntu 22.04libpng1.6Not affected
vulnerable_code_not_present
Ubuntu 22.04openjdk-8Not affected
vulnerable_code_not_present
Ubuntu 22.04openjdk-ltsNot affected
vulnerable_code_not_present
Ubuntu 18.04firefoxFixed67.0+build2-0ubuntu0.18.04.1UBUNTU-CVE-2019-7317
Ubuntu 18.04libpng1.6Fixed1.6.34-1ubuntu0.18.04.2UBUNTU-CVE-2019-7317
Ubuntu 18.04openjdk-8Fixed8u222-b10-1ubuntu1~18.04.1UBUNTU-CVE-2019-7317
Ubuntu 18.04openjdk-ltsFixed11.0.4+11-1ubuntu2~18.04.3UBUNTU-CVE-2019-7317
Ubuntu 18.04thunderbirdFixed1:60.7.0+build1-0ubuntu0.18.04.1UBUNTU-CVE-2019-7317
Ubuntu 16.04firefoxFixed67.0+build2-0ubuntu0.16.04.1UBUNTU-CVE-2019-7317
Ubuntu 16.04libpngNot affected
vulnerable_code_not_present
Ubuntu 16.04libpng1.6Will not fix
Ubuntu decided not to fix this in this release
1.6.20-2ubuntu0.1~esm4 (Ubuntu Pro)UBUNTU-CVE-2019-7317
Ubuntu 16.04openjdk-8Fixed8u222-b10-1ubuntu1~16.04.1UBUNTU-CVE-2019-7317
Ubuntu 16.04openjdk-9Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2019-7317
Ubuntu 16.04thunderbirdFixed1:60.7.0+build1-0ubuntu0.16.04.1UBUNTU-CVE-2019-7317
Ubuntu 14.04firefoxWill not fix
Ubuntu decided not to fix this in this release
Debian 14firefox-esrFixed60.7.0esr-1DEBIAN-CVE-2019-7317
Debian 14libpng1.6Fixed1.6.36-4DEBIAN-CVE-2019-7317
Debian 14thunderbirdFixed1:60.7.0-1DEBIAN-CVE-2019-7317
Debian 13firefox-esrFixed60.7.0esr-1DEBIAN-CVE-2019-7317
Debian 13libpng1.6Fixed1.6.36-4DEBIAN-CVE-2019-7317
Debian 13thunderbirdFixed1:60.7.0-1DEBIAN-CVE-2019-7317
Debian 12firefox-esrFixed60.7.0esr-1DEBIAN-CVE-2019-7317
Debian 12libpng1.6Fixed1.6.36-4DEBIAN-CVE-2019-7317
Debian 12thunderbirdFixed1:60.7.0-1DEBIAN-CVE-2019-7317
Red Hat Enterprise Linux 8firefoxFixed0:60.7.0-1.el8_0RHSA-2019:1269
Red Hat Enterprise Linux 8java-1.8.0-ibmFixed1:1.8.0.5.40-3.el8_0RHSA-2019:2590
Red Hat Enterprise Linux 8java-1.8.0-ibm-demoFixed1:1.8.0.5.40-3.el8_0RHSA-2019:2590
Red Hat Enterprise Linux 8java-1.8.0-ibm-develFixed1:1.8.0.5.40-3.el8_0RHSA-2019:2590
Red Hat Enterprise Linux 8java-1.8.0-ibm-headlessFixed1:1.8.0.5.40-3.el8_0RHSA-2019:2590
Red Hat Enterprise Linux 8java-1.8.0-ibm-jdbcFixed1:1.8.0.5.40-3.el8_0RHSA-2019:2590
Red Hat Enterprise Linux 8java-1.8.0-ibm-pluginFixed1:1.8.0.5.40-3.el8_0RHSA-2019:2590
Red Hat Enterprise Linux 8java-1.8.0-ibm-srcFixed1:1.8.0.5.40-3.el8_0RHSA-2019:2590
Red Hat Enterprise Linux 8java-1.8.0-ibm-webstartFixed1:1.8.0.5.40-3.el8_0RHSA-2019:2590
Red Hat Enterprise Linux 8libpngFix pending
Fix deferred
Red Hat Enterprise Linux 8libpng-develFix pending
Fix deferred
Red Hat Enterprise Linux 8libpng12Not affected
Red Hat Enterprise Linux 8mingw-libpngFix pending
Fix deferred
Red Hat Enterprise Linux 8mingw32-libpngFix pending
Fix deferred
Red Hat Enterprise Linux 8mingw32-libpng-staticFix pending
Fix deferred
Red Hat Enterprise Linux 8mingw64-libpngFix pending
Fix deferred
Red Hat Enterprise Linux 8mingw64-libpng-staticFix pending
Fix deferred
Red Hat Enterprise Linux 8thunderbirdFixed0:60.7.0-1.el8_0RHSA-2019:1308
Red Hat Enterprise Linux 7firefoxFixed0:60.7.0-1.el7_6RHSA-2019:1265
Red Hat Enterprise Linux 7libpngNot affected
Red Hat Enterprise Linux 7libpng-develNot affected
Red Hat Enterprise Linux 7libpng-staticNot affected
Red Hat Enterprise Linux 7libpng12Not affected
Red Hat Enterprise Linux 7libpng12-develNot affected
Red Hat Enterprise Linux 7thunderbirdFixed0:60.7.0-1.el7_6RHSA-2019:1309
Red Hat Enterprise Linux 6firefoxFixed0:60.7.0-1.el6_10RHSA-2019:1267
Red Hat Enterprise Linux 6libpngNot affected
Red Hat Enterprise Linux 6libpng-develNot affected
Red Hat Enterprise Linux 6libpng-staticNot affected
Red Hat Enterprise Linux 6thunderbirdFixed0:60.7.0-1.el6_10RHSA-2019:1310
Red Hat Enterprise Linux 5libpngNot affected
Alpine Linux 3.24libpngFixed1.6.37-r0ALPINE-CVE-2019-7317
Alpine Linux 3.24openjdk11Fixed11.0.4_p11-r0ALPINE-CVE-2019-7317
Alpine Linux 3.24openjdk8Fixed8.222.10-r0ALPINE-CVE-2019-7317
Alpine Linux 3.23firefox-esrFixed60.7.0-r0ALPINE-CVE-2019-7317
Alpine Linux 3.23libpngFixed1.6.37-r0ALPINE-CVE-2019-7317
Alpine Linux 3.23openjdk11Fixed11.0.4_p11-r0ALPINE-CVE-2019-7317
Alpine Linux 3.23openjdk8Fixed8.222.10-r0ALPINE-CVE-2019-7317
Alpine Linux 3.22firefox-esrFixed60.7.0-r0ALPINE-CVE-2019-7317
Alpine Linux 3.22libpngFixed1.6.37-r0ALPINE-CVE-2019-7317
Alpine Linux 3.22openjdk11Fixed11.0.4_p11-r0ALPINE-CVE-2019-7317
Alpine Linux 3.22openjdk8Fixed8.222.10-r0ALPINE-CVE-2019-7317
Alpine Linux 3.21firefox-esrFixed60.7.0-r0ALPINE-CVE-2019-7317
Alpine Linux 3.21libpngFixed1.6.37-r0ALPINE-CVE-2019-7317
Alpine Linux 3.21openjdk11Fixed11.0.4_p11-r0ALPINE-CVE-2019-7317
Alpine Linux 3.21openjdk8Fixed8.222.10-r0ALPINE-CVE-2019-7317
Alpine Linux 3.20firefox-esrFixed60.7.0-r0ALPINE-CVE-2019-7317
Alpine Linux 3.20libpngFixed1.6.37-r0ALPINE-CVE-2019-7317
Alpine Linux 3.20openjdk11Fixed11.0.4_p11-r0ALPINE-CVE-2019-7317
Alpine Linux 3.20openjdk8Fixed8.222.10-r0ALPINE-CVE-2019-7317
Alpine Linux 3.19firefox-esrFixed60.7.0-r0ALPINE-CVE-2019-7317
Alpine Linux 3.19libpngFixed1.6.37-r0ALPINE-CVE-2019-7317
Alpine Linux 3.19openjdk11Fixed11.0.4_p11-r0ALPINE-CVE-2019-7317
Alpine Linux 3.19openjdk8Fixed8.222.10-r0ALPINE-CVE-2019-7317
Alpine Linux 3.18firefox-esrFixed60.7.0-r0ALPINE-CVE-2019-7317
Alpine Linux 3.18libpngFixed1.6.37-r0ALPINE-CVE-2019-7317
Alpine Linux 3.18openjdk11Fixed11.0.4_p11-r0ALPINE-CVE-2019-7317
Alpine Linux 3.18openjdk8Fixed8.222.10-r0ALPINE-CVE-2019-7317
Alpine Linux 3.17firefox-esrFixed60.7.0-r0ALPINE-CVE-2019-7317
Alpine Linux 3.17libpngFixed1.6.37-r0ALPINE-CVE-2019-7317
Alpine Linux 3.17openjdk11Fixed11.0.4_p11-r0ALPINE-CVE-2019-7317
Alpine Linux 3.17openjdk8Fixed8.222.10-r0ALPINE-CVE-2019-7317
Alpine Linux 3.16firefox-esrFixed60.7.0-r0ALPINE-CVE-2019-7317
Alpine Linux 3.16libpngFixed1.6.37-r0ALPINE-CVE-2019-7317
Alpine Linux 3.16openjdk11Fixed11.0.4_p11-r0ALPINE-CVE-2019-7317
Alpine Linux 3.16openjdk8Fixed8.222.10-r0ALPINE-CVE-2019-7317
Alpine Linux 3.15firefox-esrFixed60.7.0-r0ALPINE-CVE-2019-7317
Alpine Linux 3.15libpngFixed1.6.37-r0ALPINE-CVE-2019-7317
Alpine Linux 3.15openjdk11Fixed11.0.4_p11-r0ALPINE-CVE-2019-7317
Alpine Linux 3.15openjdk8Fixed8.222.10-r0ALPINE-CVE-2019-7317
Alpine Linux 3.14firefox-esrFixed60.7.0-r0ALPINE-CVE-2019-7317
Alpine Linux 3.14libpngFixed1.6.37-r0ALPINE-CVE-2019-7317
Alpine Linux 3.14openjdk8Fixed8.222.10-r0ALPINE-CVE-2019-7317
Alpine Linux 3.13firefox-esrFixed60.7.0-r0ALPINE-CVE-2019-7317
Alpine Linux 3.13libpngFixed1.6.37-r0ALPINE-CVE-2019-7317
Alpine Linux 3.13openjdk8Fixed8.222.10-r0ALPINE-CVE-2019-7317
Alpine Linux 3.12firefox-esrFixed60.7.0-r0ALPINE-CVE-2019-7317
Alpine Linux 3.12libpngFixed1.6.37-r0ALPINE-CVE-2019-7317
Alpine Linux 3.12openjdk8Fixed8.222.10-r0ALPINE-CVE-2019-7317
Alpine Linux 3.11firefox-esrFixed60.7.0-r0ALPINE-CVE-2019-7317
Alpine Linux 3.11libpngFixed1.6.37-r0ALPINE-CVE-2019-7317
Alpine Linux 3.11openjdk8Fixed8.222.10-r0ALPINE-CVE-2019-7317
Alpine Linux 3.10firefox-esrFixed60.7.0-r0ALPINE-CVE-2019-7317
Alpine Linux 3.10libpngFixed1.6.37-r0ALPINE-CVE-2019-7317
Alpine Linux 3.10openjdk8Fixed8.222.10-r0ALPINE-CVE-2019-7317
Alpine Linux 3.9firefox-esrFixed60.7.0-r0ALPINE-CVE-2019-7317
Alpine Linux 3.9libpngFixed1.6.37-r0ALPINE-CVE-2019-7317
Alpine Linux 3.9openjdk8Fixed8.222.10-r0ALPINE-CVE-2019-7317
Alpine Linux 3.8libpngFixed1.6.37-r0ALPINE-CVE-2019-7317
Alpine Linux 3.8openjdk8Fixed8.222.10-r0ALPINE-CVE-2019-7317
Alpine Linux 3.7libpngFixed1.6.37-r0ALPINE-CVE-2019-7317
Alpine Linux 3.7openjdk8Fixed8.222.10-r0ALPINE-CVE-2019-7317
Alpine Linux 3.6libpngFixed1.6.37-r0ALPINE-CVE-2019-7317

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.