CVE-2019-7317: Use After Free

Published Feb 4, 2019
·
Updated

A use-after-free vulnerability was discovered in the pngimagefree function in the libpng library. This could lead to denial of service or a potentially exploitable crash when a malformed image is processed.

Other sources

A vulnerability was found in libpng 1.6.36. The function pngimagefree in png.c has a use-after-free because pngimagefreefunction is called under pngsafeexecute.

References: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=12803 https://github.com/glennrp/libpng/issues/275

— Red Hat

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

— Ubuntu

Affected Software

132 affected componentsFixes available
debian/libpng1.6<=1.6.28-1, <=1.6.36-3, <=1.6.36-2
1.6.36-41.6.28-1+deb9u1
IBM Cognos Analytics<=12.0.0-12.0.3
IBM Cognos Analytics<=11.2.0-11.2.4 FP4
Mozilla Thunderbird<60.7
60.7
Mozilla Firefox<67
67
Mozilla Firefox ESR<60.7
60.7
libpng LIBPNG>=1.6.0<1.6.37
Debian Debian Linux=8.0
Debian Debian Linux=9.0
Canonical Ubuntu Linux=16.04
Canonical Ubuntu Linux=16.04
Canonical Ubuntu Linux=18.04
Canonical Ubuntu Linux=18.10
Canonical Ubuntu Linux=19.04
Oracle Hyperion Infrastructure Technology=11.2.6.0
Oracle Java SE=7u221
Oracle Java SE=8u212
Oracle JDK=11.0.3
Oracle JDK=12.0.1
Oracle MySQL<8.0.23
HP XP7 Command View<8.7.0-00
HPE Xp7 Command View Advanced Edition Suite<8.7.0-00
Mozilla Firefox ESR
Mozilla Thunderbird
openSUSE Leap=15.0
openSUSE Leap=15.1
openSUSE Leap=42.3
openSUSE Package Hub
SUSE Linux Enterprise=12.0
NetApp Active Iq Unified Manager Vmware Vsphere<9.6
NetApp Active Iq Unified Manager Windows<9.6
NetApp Active Iq Unified Manager Vmware Vsphere=9.6
NetApp Active Iq Unified Manager Windows=9.6
NetApp Cloud Backup
NetApp E-series Santricity Management Vcenter
NetApp E-series Santricity Storage Manager<11.53
NetApp E-series Santricity Unified Manager<3.2
NetApp E-series Santricity Web Services Web Services Proxy<4.0
NetApp OnCommand Insight<7.3.9
NetApp OnCommand Workflow Automation<5.1
NetApp Plug-in For Symantec Netbackup
NetApp Snapmanager Oracle<3.4.2
NetApp Snapmanager Sap<3.4.2
NetApp Snapmanager Oracle=3.4.2-p1
NetApp Snapmanager Sap=3.4.2-p1
NetApp Steelstore
redhat Satellite=5.8
redhat Enterprise Linux=6.0
redhat Enterprise Linux=7.0
redhat Enterprise Linux=8.0
redhat Enterprise Linux Desktop=6.0
redhat Enterprise Linux Desktop=7.0
redhat Enterprise Linux For Ibm Z Systems=6.0
redhat Enterprise Linux For Ibm Z Systems=7.0
redhat Enterprise Linux For Ibm Z Systems=8.0
redhat Enterprise Linux For Power Big Endian=6.0
redhat Enterprise Linux For Power Big Endian=7.0
redhat Enterprise Linux For Power Little Endian=7.0
redhat Enterprise Linux For Power Little Endian=8.0
redhat Enterprise Linux For Scientific Computing=6.0
redhat Enterprise Linux For Scientific Computing=7.0
redhat Enterprise Linux Workstation=6.0
redhat Enterprise Linux Workstation=7.0
Mozilla Firefox
All of the following
openSUSE Package Hub
SUSE Linux Enterprise=12.0
alpine/firefox-esr<60.7.0-r0
60.7.0-r0
alpine/firefox-esr<60.7.0-r0
60.7.0-r0
alpine/firefox-esr<60.7.0-r0
60.7.0-r0
alpine/firefox-esr<60.7.0-r0
60.7.0-r0
alpine/firefox-esr<60.7.0-r0
60.7.0-r0
alpine/firefox-esr<60.7.0-r0
60.7.0-r0
alpine/firefox-esr<60.7.0-r0
60.7.0-r0
alpine/firefox-esr<60.7.0-r0
60.7.0-r0
alpine/firefox-esr<60.7.0-r0
60.7.0-r0
alpine/firefox-esr<60.7.0-r0
60.7.0-r0
alpine/firefox-esr<60.7.0-r0
60.7.0-r0
alpine/firefox-esr<60.7.0-r0
60.7.0-r0
alpine/firefox-esr<60.7.0-r0
60.7.0-r0
alpine/firefox-esr<60.7.0-r0
60.7.0-r0
alpine/firefox-esr<60.7.0-r0
60.7.0-r0
alpine/libpng>=1.6.0<1.6.37-r0
1.6.37-r0
alpine/libpng>=1.6.0<1.6.37-r0
1.6.37-r0
alpine/libpng>=1.6.0<1.6.37-r0
1.6.37-r0
alpine/libpng>=1.6.0<1.6.37-r0
1.6.37-r0
alpine/libpng>=1.6.0<1.6.37-r0
1.6.37-r0
alpine/libpng>=1.6.0<1.6.37-r0
1.6.37-r0
alpine/libpng>=1.6.0<1.6.37-r0
1.6.37-r0
alpine/libpng>=1.6.0<1.6.37-r0
1.6.37-r0
alpine/libpng>=1.6.0<1.6.37-r0
1.6.37-r0
alpine/libpng>=1.6.0<1.6.37-r0
1.6.37-r0
alpine/libpng>=1.6.0<1.6.37-r0
1.6.37-r0
alpine/libpng>=1.6.0<1.6.37-r0
1.6.37-r0
alpine/libpng>=1.6.0<1.6.37-r0
1.6.37-r0
alpine/libpng>=1.6.0<1.6.37-r0
1.6.37-r0
alpine/libpng>=1.6.0<1.6.37-r0
1.6.37-r0
alpine/libpng>=1.6.0<1.6.37-r0
1.6.37-r0
alpine/libpng>=1.6.0<1.6.37-r0
1.6.37-r0
alpine/libpng>=1.6.0<1.6.37-r0
1.6.37-r0
alpine/libpng>=1.6.0<1.6.37-r0
1.6.37-r0
alpine/openjdk11<11.0.4_p11-r0
11.0.4_p11-r0
alpine/openjdk11<11.0.4_p11-r0
11.0.4_p11-r0
alpine/openjdk11<11.0.4_p11-r0
11.0.4_p11-r0
alpine/openjdk11<11.0.4_p11-r0
11.0.4_p11-r0
alpine/openjdk11<11.0.4_p11-r0
11.0.4_p11-r0
alpine/openjdk11<11.0.4_p11-r0
11.0.4_p11-r0
alpine/openjdk11<11.0.4_p11-r0
11.0.4_p11-r0
alpine/openjdk11<11.0.4_p11-r0
11.0.4_p11-r0
alpine/openjdk11<11.0.4_p11-r0
11.0.4_p11-r0
alpine/openjdk11<11.0.4_p11-r0
11.0.4_p11-r0
alpine/openjdk8<8.222.10-r0
8.222.10-r0
alpine/openjdk8<8.222.10-r0
8.222.10-r0
alpine/openjdk8<8.222.10-r0
8.222.10-r0
alpine/openjdk8<8.222.10-r0
8.222.10-r0
alpine/openjdk8<8.222.10-r0
8.222.10-r0
alpine/openjdk8<8.222.10-r0
8.222.10-r0
alpine/openjdk8<8.222.10-r0
8.222.10-r0
alpine/openjdk8<8.222.10-r0
8.222.10-r0
alpine/openjdk8<8.222.10-r0
8.222.10-r0
alpine/openjdk8<8.222.10-r0
8.222.10-r0
alpine/openjdk8<8.222.10-r0
8.222.10-r0
alpine/openjdk8<8.222.10-r0
8.222.10-r0
alpine/openjdk8<8.222.10-r0
8.222.10-r0
alpine/openjdk8<8.222.10-r0
8.222.10-r0
alpine/openjdk8<8.222.10-r0
8.222.10-r0
alpine/openjdk8<8.222.10-r0
8.222.10-r0
alpine/openjdk8<8.222.10-r0
8.222.10-r0
alpine/openjdk8<8.222.10-r0
8.222.10-r0
debian/firefox
67.0-167.0-2
debian/firefox-esr
60.7.0esr-1~deb8u160.7.0esr-1~deb9u160.7.0esr-1
debian/libpng1.6
1.6.28-1+deb9u11.6.36-4
debian/thunderbird
1:60.7.0-1~deb8u11:60.7.0-1~deb9u11:60.7.0-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/libpng1.6 to a version that resolves this vulnerability.

    Fixed in 1.6.36-4Fixed in 1.6.28-1+deb9u1
  2. Upgrade

    Upgrade Thunderbird to a version that resolves this vulnerability.

    Fixed in 60.7
  3. Upgrade

    Upgrade Firefox to a version that resolves this vulnerability.

    Fixed in 67
  4. Upgrade

    Upgrade Firefox ESR to a version that resolves this vulnerability.

    Fixed in 60.7
  5. Upgrade

    Upgrade alpine/firefox-esr to a version that resolves this vulnerability.

    Fixed in 60.7.0-r0
  6. Upgrade

    Upgrade alpine/libpng to a version that resolves this vulnerability.

    Fixed in 1.6.37-r0
  7. Upgrade

    Upgrade alpine/openjdk11 to a version that resolves this vulnerability.

    Fixed in 11.0.4_p11-r0
  8. Upgrade

    Upgrade alpine/openjdk8 to a version that resolves this vulnerability.

    Fixed in 8.222.10-r0
  9. Upgrade

    Upgrade debian/firefox to a version that resolves this vulnerability.

    Fixed in 67.0-1Fixed in 67.0-2
  10. Upgrade

    Upgrade debian/firefox-esr to a version that resolves this vulnerability.

    Fixed in 60.7.0esr-1~deb8u1Fixed in 60.7.0esr-1~deb9u1Fixed in 60.7.0esr-1
  11. Upgrade

    Upgrade debian/thunderbird to a version that resolves this vulnerability.

    Fixed in 1:60.7.0-1~deb8u1Fixed in 1:60.7.0-1~deb9u1Fixed in 1:60.7.0-1

Event History

Feb 4, 2019
CVE Published
12:00 AM
Data Sourced
12:00 AM
RemedyDescriptionSeverityAffected Software
Updated
via Ubuntu·12:00 AM
Affected Software
Updated
via Ubuntu·12:00 AM
RemedyDescriptionAffected Software
Updated
via Ubuntu·12:00 AM
Description
CVE Published
via MITRE·07:00 AM
Data Sourced
via MITRE·07:00 AM
Description
Data Sourced
via OSV·08:29 AM
DescriptionSeverityAffected Software
May 21, 2019
Data Sourced
via Mozilla·12:00 AM
DescriptionSeverityAffected Software
Updated
12:00 AM
Affected Software
Feb 26, 2021
Data Sourced
via Red Hat·05:26 AM
DescriptionSeverityAffected Software
May 23, 2022
Data Sourced
03:02 PM
Weakness
Data Sourced
via NVD·03:02 PM
RemedyDescriptionSeverityWeaknessAffected Software
Updated
03:02 PM
Affected Software
Oct 21, 2024
Updated
via NVD·01:55 PM
Affected Software
Nov 21, 2024
Updated
via NVD·04:48 AM
RemedyAffected Software
Dec 17, 2024
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software
May 28, 2026
Updated
via NVD·07:16 PM
SeverityWeaknessAffected Software
Aug 18, 2026
Updated
via Ubuntu·12:00 AM
Description

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2019-7317?

CVE-2019-7317 is categorized as a use-after-free vulnerability that could lead to denial of service or crashes.

2

Which versions of libpng are affected by CVE-2019-7317?

CVE-2019-7317 affects libpng versions prior to 1.6.37.

3

How do I fix CVE-2019-7317?

To resolve CVE-2019-7317, upgrade libpng to version 1.6.37 or later.

4

What products are impacted by CVE-2019-7317?

CVE-2019-7317 impacts multiple products including Mozilla Firefox, Thunderbird, and various versions of libpng.

5

Is CVE-2019-7317 exploitable in production environments?

Yes, CVE-2019-7317 is potentially exploitable in production environments when handling malformed images.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203