CVE-2019-7317
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.
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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | libpng1.6 | Not affected vulnerable_code_not_present | ||
| Ubuntu 26.04 | openjdk-8 | Not affected vulnerable_code_not_present | ||
| Ubuntu 26.04 | openjdk-lts | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | libpng1.6 | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | openjdk-8 | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | openjdk-lts | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | libpng1.6 | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | openjdk-8 | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | libpng1.6 | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | openjdk-8 | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | openjdk-lts | Not affected vulnerable_code_not_present | ||
| Ubuntu 18.04 | firefox | Fixed | 67.0+build2-0ubuntu0.18.04.1 | UBUNTU-CVE-2019-7317 |
| Ubuntu 18.04 | libpng1.6 | Fixed | 1.6.34-1ubuntu0.18.04.2 | UBUNTU-CVE-2019-7317 |
| Ubuntu 18.04 | openjdk-8 | Fixed | 8u222-b10-1ubuntu1~18.04.1 | UBUNTU-CVE-2019-7317 |
| Ubuntu 18.04 | openjdk-lts | Fixed | 11.0.4+11-1ubuntu2~18.04.3 | UBUNTU-CVE-2019-7317 |
| Ubuntu 18.04 | thunderbird | Fixed | 1:60.7.0+build1-0ubuntu0.18.04.1 | UBUNTU-CVE-2019-7317 |
| Ubuntu 16.04 | firefox | Fixed | 67.0+build2-0ubuntu0.16.04.1 | UBUNTU-CVE-2019-7317 |
| Ubuntu 16.04 | libpng | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | libpng1.6 | Will 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.04 | openjdk-8 | Fixed | 8u222-b10-1ubuntu1~16.04.1 | UBUNTU-CVE-2019-7317 |
| Ubuntu 16.04 | openjdk-9 | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2019-7317 | |
| Ubuntu 16.04 | thunderbird | Fixed | 1:60.7.0+build1-0ubuntu0.16.04.1 | UBUNTU-CVE-2019-7317 |
| Ubuntu 14.04 | firefox | Will not fix Ubuntu decided not to fix this in this release | ||
| Debian 14 | firefox-esr | Fixed | 60.7.0esr-1 | DEBIAN-CVE-2019-7317 |
| Debian 14 | libpng1.6 | Fixed | 1.6.36-4 | DEBIAN-CVE-2019-7317 |
| Debian 14 | thunderbird | Fixed | 1:60.7.0-1 | DEBIAN-CVE-2019-7317 |
| Debian 13 | firefox-esr | Fixed | 60.7.0esr-1 | DEBIAN-CVE-2019-7317 |
| Debian 13 | libpng1.6 | Fixed | 1.6.36-4 | DEBIAN-CVE-2019-7317 |
| Debian 13 | thunderbird | Fixed | 1:60.7.0-1 | DEBIAN-CVE-2019-7317 |
| Debian 12 | firefox-esr | Fixed | 60.7.0esr-1 | DEBIAN-CVE-2019-7317 |
| Debian 12 | libpng1.6 | Fixed | 1.6.36-4 | DEBIAN-CVE-2019-7317 |
| Debian 12 | thunderbird | Fixed | 1:60.7.0-1 | DEBIAN-CVE-2019-7317 |
| Red Hat Enterprise Linux 8 | firefox | Fixed | 0:60.7.0-1.el8_0 | RHSA-2019:1269 |
| Red Hat Enterprise Linux 8 | java-1.8.0-ibm | Fixed | 1:1.8.0.5.40-3.el8_0 | RHSA-2019:2590 |
| Red Hat Enterprise Linux 8 | java-1.8.0-ibm-demo | Fixed | 1:1.8.0.5.40-3.el8_0 | RHSA-2019:2590 |
| Red Hat Enterprise Linux 8 | java-1.8.0-ibm-devel | Fixed | 1:1.8.0.5.40-3.el8_0 | RHSA-2019:2590 |
| Red Hat Enterprise Linux 8 | java-1.8.0-ibm-headless | Fixed | 1:1.8.0.5.40-3.el8_0 | RHSA-2019:2590 |
| Red Hat Enterprise Linux 8 | java-1.8.0-ibm-jdbc | Fixed | 1:1.8.0.5.40-3.el8_0 | RHSA-2019:2590 |
| Red Hat Enterprise Linux 8 | java-1.8.0-ibm-plugin | Fixed | 1:1.8.0.5.40-3.el8_0 | RHSA-2019:2590 |
| Red Hat Enterprise Linux 8 | java-1.8.0-ibm-src | Fixed | 1:1.8.0.5.40-3.el8_0 | RHSA-2019:2590 |
| Red Hat Enterprise Linux 8 | java-1.8.0-ibm-webstart | Fixed | 1:1.8.0.5.40-3.el8_0 | RHSA-2019:2590 |
| Red Hat Enterprise Linux 8 | libpng | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | libpng-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | libpng12 | Not affected | ||
| Red Hat Enterprise Linux 8 | mingw-libpng | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | mingw32-libpng | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | mingw32-libpng-static | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | mingw64-libpng | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | mingw64-libpng-static | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | thunderbird | Fixed | 0:60.7.0-1.el8_0 | RHSA-2019:1308 |
| Red Hat Enterprise Linux 7 | firefox | Fixed | 0:60.7.0-1.el7_6 | RHSA-2019:1265 |
| Red Hat Enterprise Linux 7 | libpng | Not affected | ||
| Red Hat Enterprise Linux 7 | libpng-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | libpng-static | Not affected | ||
| Red Hat Enterprise Linux 7 | libpng12 | Not affected | ||
| Red Hat Enterprise Linux 7 | libpng12-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | thunderbird | Fixed | 0:60.7.0-1.el7_6 | RHSA-2019:1309 |
| Red Hat Enterprise Linux 6 | firefox | Fixed | 0:60.7.0-1.el6_10 | RHSA-2019:1267 |
| Red Hat Enterprise Linux 6 | libpng | Not affected | ||
| Red Hat Enterprise Linux 6 | libpng-devel | Not affected | ||
| Red Hat Enterprise Linux 6 | libpng-static | Not affected | ||
| Red Hat Enterprise Linux 6 | thunderbird | Fixed | 0:60.7.0-1.el6_10 | RHSA-2019:1310 |
| Red Hat Enterprise Linux 5 | libpng | Not affected | ||
| Alpine Linux 3.24 | libpng | Fixed | 1.6.37-r0 | ALPINE-CVE-2019-7317 |
| Alpine Linux 3.24 | openjdk11 | Fixed | 11.0.4_p11-r0 | ALPINE-CVE-2019-7317 |
| Alpine Linux 3.24 | openjdk8 | Fixed | 8.222.10-r0 | ALPINE-CVE-2019-7317 |
| Alpine Linux 3.23 | firefox-esr | Fixed | 60.7.0-r0 | ALPINE-CVE-2019-7317 |
| Alpine Linux 3.23 | libpng | Fixed | 1.6.37-r0 | ALPINE-CVE-2019-7317 |
| Alpine Linux 3.23 | openjdk11 | Fixed | 11.0.4_p11-r0 | ALPINE-CVE-2019-7317 |
| Alpine Linux 3.23 | openjdk8 | Fixed | 8.222.10-r0 | ALPINE-CVE-2019-7317 |
| Alpine Linux 3.22 | firefox-esr | Fixed | 60.7.0-r0 | ALPINE-CVE-2019-7317 |
| Alpine Linux 3.22 | libpng | Fixed | 1.6.37-r0 | ALPINE-CVE-2019-7317 |
| Alpine Linux 3.22 | openjdk11 | Fixed | 11.0.4_p11-r0 | ALPINE-CVE-2019-7317 |
| Alpine Linux 3.22 | openjdk8 | Fixed | 8.222.10-r0 | ALPINE-CVE-2019-7317 |
| Alpine Linux 3.21 | firefox-esr | Fixed | 60.7.0-r0 | ALPINE-CVE-2019-7317 |
| Alpine Linux 3.21 | libpng | Fixed | 1.6.37-r0 | ALPINE-CVE-2019-7317 |
| Alpine Linux 3.21 | openjdk11 | Fixed | 11.0.4_p11-r0 | ALPINE-CVE-2019-7317 |
| Alpine Linux 3.21 | openjdk8 | Fixed | 8.222.10-r0 | ALPINE-CVE-2019-7317 |
| Alpine Linux 3.20 | firefox-esr | Fixed | 60.7.0-r0 | ALPINE-CVE-2019-7317 |
| Alpine Linux 3.20 | libpng | Fixed | 1.6.37-r0 | ALPINE-CVE-2019-7317 |
| Alpine Linux 3.20 | openjdk11 | Fixed | 11.0.4_p11-r0 | ALPINE-CVE-2019-7317 |
| Alpine Linux 3.20 | openjdk8 | Fixed | 8.222.10-r0 | ALPINE-CVE-2019-7317 |
| Alpine Linux 3.19 | firefox-esr | Fixed | 60.7.0-r0 | ALPINE-CVE-2019-7317 |
| Alpine Linux 3.19 | libpng | Fixed | 1.6.37-r0 | ALPINE-CVE-2019-7317 |
| Alpine Linux 3.19 | openjdk11 | Fixed | 11.0.4_p11-r0 | ALPINE-CVE-2019-7317 |
| Alpine Linux 3.19 | openjdk8 | Fixed | 8.222.10-r0 | ALPINE-CVE-2019-7317 |
| Alpine Linux 3.18 | firefox-esr | Fixed | 60.7.0-r0 | ALPINE-CVE-2019-7317 |
| Alpine Linux 3.18 | libpng | Fixed | 1.6.37-r0 | ALPINE-CVE-2019-7317 |
| Alpine Linux 3.18 | openjdk11 | Fixed | 11.0.4_p11-r0 | ALPINE-CVE-2019-7317 |
| Alpine Linux 3.18 | openjdk8 | Fixed | 8.222.10-r0 | ALPINE-CVE-2019-7317 |
| Alpine Linux 3.17 | firefox-esr | Fixed | 60.7.0-r0 | ALPINE-CVE-2019-7317 |
| Alpine Linux 3.17 | libpng | Fixed | 1.6.37-r0 | ALPINE-CVE-2019-7317 |
| Alpine Linux 3.17 | openjdk11 | Fixed | 11.0.4_p11-r0 | ALPINE-CVE-2019-7317 |
| Alpine Linux 3.17 | openjdk8 | Fixed | 8.222.10-r0 | ALPINE-CVE-2019-7317 |
| Alpine Linux 3.16 | firefox-esr | Fixed | 60.7.0-r0 | ALPINE-CVE-2019-7317 |
| Alpine Linux 3.16 | libpng | Fixed | 1.6.37-r0 | ALPINE-CVE-2019-7317 |
| Alpine Linux 3.16 | openjdk11 | Fixed | 11.0.4_p11-r0 | ALPINE-CVE-2019-7317 |
| Alpine Linux 3.16 | openjdk8 | Fixed | 8.222.10-r0 | ALPINE-CVE-2019-7317 |
| Alpine Linux 3.15 | firefox-esr | Fixed | 60.7.0-r0 | ALPINE-CVE-2019-7317 |
| Alpine Linux 3.15 | libpng | Fixed | 1.6.37-r0 | ALPINE-CVE-2019-7317 |
| Alpine Linux 3.15 | openjdk11 | Fixed | 11.0.4_p11-r0 | ALPINE-CVE-2019-7317 |
| Alpine Linux 3.15 | openjdk8 | Fixed | 8.222.10-r0 | ALPINE-CVE-2019-7317 |
| Alpine Linux 3.14 | firefox-esr | Fixed | 60.7.0-r0 | ALPINE-CVE-2019-7317 |
| Alpine Linux 3.14 | libpng | Fixed | 1.6.37-r0 | ALPINE-CVE-2019-7317 |
| Alpine Linux 3.14 | openjdk8 | Fixed | 8.222.10-r0 | ALPINE-CVE-2019-7317 |
| Alpine Linux 3.13 | firefox-esr | Fixed | 60.7.0-r0 | ALPINE-CVE-2019-7317 |
| Alpine Linux 3.13 | libpng | Fixed | 1.6.37-r0 | ALPINE-CVE-2019-7317 |
| Alpine Linux 3.13 | openjdk8 | Fixed | 8.222.10-r0 | ALPINE-CVE-2019-7317 |
| Alpine Linux 3.12 | firefox-esr | Fixed | 60.7.0-r0 | ALPINE-CVE-2019-7317 |
| Alpine Linux 3.12 | libpng | Fixed | 1.6.37-r0 | ALPINE-CVE-2019-7317 |
| Alpine Linux 3.12 | openjdk8 | Fixed | 8.222.10-r0 | ALPINE-CVE-2019-7317 |
| Alpine Linux 3.11 | firefox-esr | Fixed | 60.7.0-r0 | ALPINE-CVE-2019-7317 |
| Alpine Linux 3.11 | libpng | Fixed | 1.6.37-r0 | ALPINE-CVE-2019-7317 |
| Alpine Linux 3.11 | openjdk8 | Fixed | 8.222.10-r0 | ALPINE-CVE-2019-7317 |
| Alpine Linux 3.10 | firefox-esr | Fixed | 60.7.0-r0 | ALPINE-CVE-2019-7317 |
| Alpine Linux 3.10 | libpng | Fixed | 1.6.37-r0 | ALPINE-CVE-2019-7317 |
| Alpine Linux 3.10 | openjdk8 | Fixed | 8.222.10-r0 | ALPINE-CVE-2019-7317 |
| Alpine Linux 3.9 | firefox-esr | Fixed | 60.7.0-r0 | ALPINE-CVE-2019-7317 |
| Alpine Linux 3.9 | libpng | Fixed | 1.6.37-r0 | ALPINE-CVE-2019-7317 |
| Alpine Linux 3.9 | openjdk8 | Fixed | 8.222.10-r0 | ALPINE-CVE-2019-7317 |
| Alpine Linux 3.8 | libpng | Fixed | 1.6.37-r0 | ALPINE-CVE-2019-7317 |
| Alpine Linux 3.8 | openjdk8 | Fixed | 8.222.10-r0 | ALPINE-CVE-2019-7317 |
| Alpine Linux 3.7 | libpng | Fixed | 1.6.37-r0 | ALPINE-CVE-2019-7317 |
| Alpine Linux 3.7 | openjdk8 | Fixed | 8.222.10-r0 | ALPINE-CVE-2019-7317 |
| Alpine Linux 3.6 | libpng | Fixed | 1.6.37-r0 | ALPINE-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:
- https://www.debian.org/security/2019/dsa-4435 (vendor-advisory)
- https://usn.ubuntu.com/3962-1/ (vendor-advisory)
- https://usn.ubuntu.com/3991-1/ (vendor-advisory)
- https://www.debian.org/security/2019/dsa-4448 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2019:1265 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2019:1267 (vendor-advisory)
References
- https://seclists.org/bugtraq/2019/Apr/30
- https://www.debian.org/security/2019/dsa-4435
- https://seclists.org/bugtraq/2019/Apr/36
- https://usn.ubuntu.com/3962-1/
- https://usn.ubuntu.com/3991-1/
- https://seclists.org/bugtraq/2019/May/56
- https://seclists.org/bugtraq/2019/May/59
- https://www.debian.org/security/2019/dsa-4448
- https://lists.debian.org/debian-lts-announce/2019/05/msg00032.html
- https://access.redhat.com/errata/RHSA-2019:1265
- https://access.redhat.com/errata/RHSA-2019:1267
- https://access.redhat.com/errata/RHSA-2019:1269
- https://www.debian.org/security/2019/dsa-4451
- https://seclists.org/bugtraq/2019/May/67
- https://lists.debian.org/debian-lts-announce/2019/05/msg00038.html
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.