CVE-2019-7317: libpng - Use After Free
- Cve: CVE-2019-7317
- Name: libpng - Use After Free
- 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.
- Impact: Attackers can cause application crashes or execute arbitrary code through crafted image processing, leading to potential system compromise.
- Remediation: Update to version 1.6.37 or later.
- Vulnerability type: use_after_free
- Vulnerability impact: remote_code_execution, denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.3
- Cvss vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H
- Epss score: 0.09393
- Epss percentile: 0.95532
- Assignee: [email protected]
- Published at: 2019-02-04T08:29:00Z
- Age in days: 2850
- Modified at: 2026-06-17T02:40:26Z
- Patch available: yes
- Public exploits total: 1
- References total: 29
- Products total: 32
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2019-7317
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-416 | Use After Free |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/glennrp/libpng/issues/275 | nvd | 2019-02-04 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html | Patch, Third Party Advisory |
| https://github.com/glennrp/libpng/issues/275 | Exploit, Issue Tracking, Third Party Advisory |
| http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00002.html | Third Party Advisory |
| http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00029.html | Mailing List, Third Party Advisory |
| http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00084.html | Mailing List, Third Party Advisory |
| http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00038.html | Mailing List, Third Party Advisory |
| http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00044.html | Mailing List, Third Party Advisory |
| http://packetstormsecurity.com/files/152561/Slackware-Security-Advisory-libpng-Updates.html | Third Party Advisory, VDB Entry |
| https://access.redhat.com/errata/RHSA-2019:1265 | Third Party Advisory |
| https://access.redhat.com/errata/RHSA-2019:1267 | Third Party Advisory |
Products
Same in every row:
- Platform bound: no
- Sources: nvd
| Product | Affected | Url |
|---|---|---|
| libpng:libpng | >= 1.6.0, < 1.6.37 | /v1/products/libpng/libpng |
| debian:debian_linux | = 9.0, = 8.0 | /v1/products/debian/debian_linux |
| canonical:ubuntu_linux | = 19.04, = 18.10, = 18.04, = 16.04 | /v1/products/canonical/ubuntu_linux |
| mozilla:firefox | all versions | /v1/products/mozilla/firefox |
| mozilla:thunderbird | all versions | /v1/products/mozilla/thunderbird |
| redhat:enterprise_linux | = 8.0, = 7.0, = 6.0 | /v1/products/redhat/enterprise_linux |
| redhat:enterprise_linux_desktop | = 7.0, = 6.0 | /v1/products/redhat/enterprise_linux_desktop |
| opensuse:leap | = 42.3, = 15.1, = 15.0 | /v1/products/opensuse/leap |
| redhat:enterprise_linux_workstation | = 7.0, = 6.0 | /v1/products/redhat/enterprise_linux_workstation |
| oracle:mysql | < 8.0.23 | /v1/products/oracle/mysql |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| glennrp/libpng | issues | yes | /v1/repositories/glennrp/libpng |
Index
- Repositories: 26
- Repositories high signal: 18
- Checked, none or zero: packages
Exploitation
- Exploitation seen: yes
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2019-02-04
- Remote: yes
- Exposed hosts: 21216412
- Checked, none or zero: known exploited, known exploited by, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports