# CVE-2019-7317: pngimagefree in png.c in libpng 1.6.x before 1.6.37 has a use-after-free because pngimagefreefunction is called under pngsafeexecute.

- Severity: Medium 5.3 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 9.39%, higher than 95% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2019-02-04T07:00:00.000Z
- Modified: 2026-06-17T02:40:26.800Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- libpng libpng: from 1.6.0 before 1.6.37
- debian debian_linux: 8.0; 9.0
- canonical ubuntu_linux: 16.04; 18.04; 18.10; 19.04
- oracle hyperion_infrastructure_technology: 11.2.6.0
- oracle java_se: 7u221; 8u212
- oracle jdk: 11.0.3; 12.0.1
- oracle mysql: before 8.0.23
- hp xp7_command_view: before 8.7.0-00
- hpe xp7_command_view_advanced_edition_suite: before 8.7.0-00
- mozilla firefox: no versions given
- mozilla thunderbird: no versions given
- opensuse leap: 15.0; 15.1; 42.3
- opensuse package_hub: no versions given
- netapp active_iq_unified_manager: before 9.6; 9.6
- netapp cloud_backup: no versions given
- netapp e-series_santricity_management: no versions given
- netapp e-series_santricity_storage_manager: before 11.53
- netapp e-series_santricity_unified_manager: before 3.2
- netapp e-series_santricity_web_services: before 4.0
- netapp oncommand_insight: before 7.3.9
- netapp oncommand_workflow_automation: before 5.1
- netapp plug-in_for_symantec_netbackup: no versions given
- netapp snapmanager: before 3.4.2; 3.4.2
- netapp steelstore: no versions given
- redhat satellite: 5.8
- redhat enterprise_linux: 6.0; 7.0; 8.0
- redhat enterprise_linux_desktop: 6.0; 7.0
- redhat enterprise_linux_for_ibm_z_systems: 6.0; 7.0; 8.0
- redhat enterprise_linux_for_power_big_endian: 6.0; 7.0
- redhat enterprise_linux_for_power_little_endian: 7.0; 8.0
- redhat enterprise_linux_for_scientific_computing: 6.0; 7.0
- redhat enterprise_linux_workstation: 6.0; 7.0

## Every score

- CISA-ADP: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 2.6 Low `AV:N/AC:H/Au:N/C:N/I:N/A:P`

## References

- <https://github.com/glennrp/libpng/issues/275> (exploit, issue-tracking, third-party-advisory)
- <https://seclists.org/bugtraq/2019/Apr/30> (issue-tracking, mailing-list, third-party-advisory)
- <https://www.debian.org/security/2019/dsa-4435> (third-party-advisory, vendor-advisory)
- <https://seclists.org/bugtraq/2019/Apr/36> (issue-tracking, mailing-list, third-party-advisory)
- <https://usn.ubuntu.com/3962-1/> (third-party-advisory, vendor-advisory)
- <https://usn.ubuntu.com/3991-1/> (third-party-advisory, vendor-advisory)
- <https://seclists.org/bugtraq/2019/May/56> (issue-tracking, mailing-list, third-party-advisory)
- <https://seclists.org/bugtraq/2019/May/59> (issue-tracking, mailing-list, third-party-advisory)
- <https://www.debian.org/security/2019/dsa-4448> (third-party-advisory, vendor-advisory)
- <https://lists.debian.org/debian-lts-announce/2019/05/msg00032.html> (mailing-list, third-party-advisory)
- <https://access.redhat.com/errata/RHSA-2019:1265> (third-party-advisory, vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2019:1267> (third-party-advisory, vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2019:1269> (third-party-advisory, vendor-advisory)
- <https://www.debian.org/security/2019/dsa-4451> (third-party-advisory, vendor-advisory)
- <https://seclists.org/bugtraq/2019/May/67> (issue-tracking, mailing-list, third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2019/05/msg00038.html> (mailing-list, third-party-advisory)
- <https://usn.ubuntu.com/3997-1/> (third-party-advisory, vendor-advisory)
- <http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00002.html> (third-party-advisory, vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2019:1310> (third-party-advisory, vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2019:1308> (third-party-advisory, vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2019:1309> (third-party-advisory, vendor-advisory)
- <http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00029.html> (mailing-list, third-party-advisory, vendor-advisory)
- <http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00084.html> (mailing-list, third-party-advisory, vendor-advisory)
- <http://www.securityfocus.com/bid/108098> (not-applicable, third-party-advisory, vdb-entry)
- <https://usn.ubuntu.com/4080-1/> (third-party-advisory, vendor-advisory)
- <https://usn.ubuntu.com/4083-1/> (third-party-advisory, vendor-advisory)
- <https://security.gentoo.org/glsa/201908-02> (third-party-advisory, vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2019:2494> (third-party-advisory, vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2019:2495> (third-party-advisory, vendor-advisory)
- <http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00038.html> (mailing-list, third-party-advisory, vendor-advisory)
- <http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00044.html> (mailing-list, third-party-advisory, vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2019:2585> (third-party-advisory, vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2019:2590> (third-party-advisory, vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2019:2592> (third-party-advisory, vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2019:2737> (third-party-advisory, vendor-advisory)
- <https://www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html> (patch, third-party-advisory)
- <https://www.oracle.com/security-alerts/cpuApr2021.html> (third-party-advisory)
- <https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=12803> (issue-tracking, mailing-list, third-party-advisory)
- <http://packetstormsecurity.com/files/152561/Slackware-Security-Advisory-libpng-Updates.html> (third-party-advisory, vdb-entry)
- <https://security.netapp.com/advisory/ntap-20190719-0005/> (third-party-advisory)
- <https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbst03977en_us> (third-party-advisory)
- <https://www.oracle.com/security-alerts/cpuoct2021.html> (third-party-advisory)

## Sources

- CVE List: [CVE-2019-7317](https://www.cve.org/CVERecord?id=CVE-2019-7317), CVE Terms of Use, modified 2026-05-28
- NVD: [CVE-2019-7317](https://nvd.nist.gov/vuln/detail/CVE-2019-7317), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2019-7317 · Whole record: https://cve.day/CVE-2019-7317.json · Rebuilt by cve.day 2026-11-25T22:57:43.709Z
