# CVE-2019-9021: An issue was discovered in PHP before 5.6.40, 7.x before 7.1.26, 7.2.x before 7.2.14, and 7.3.x before 7.3.1.

- Severity: Critical 9.8 (CVSS:3.0, scored by NVD) `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/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): 10.1%, higher than 95% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2019-02-22T23:00:00.000Z
- Modified: 2026-06-17T02:42:56.067Z
- Weaknesses: CWE-125
- Assigned by: mitre

## Description

An issue was discovered in PHP before 5.6.40, 7.x before 7.1.26, 7.2.x before 7.2.14, and 7.3.x before 7.3.1. A heap-based buffer over-read in PHAR reading functions in the PHAR extension may allow an attacker to read allocated or unallocated memory past the actual data when trying to parse the file name, a different vulnerability than CVE-2018-20783. This is related to phar_detect_phar_fname_ext in ext/phar/phar.c.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- php php: before 5.6.40; from 7.0.0 before 7.1.26; from 7.2.0 before 7.2.14; from 7.3.0 before 7.3.1
- debian debian_linux: 9.0
- canonical ubuntu_linux: 12.04; 14.04; 16.04
- netapp storage_automation_store: no versions given
- opensuse leap: 42.3

## Every score

- NVD: CVSS:3.0 9.8 Critical `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://bugs.php.net/bug.php?id=77247> (exploit, issue-tracking, patch, vendor-advisory)
- <https://usn.ubuntu.com/3902-2/> (third-party-advisory, vendor-advisory)
- <https://www.debian.org/security/2019/dsa-4398> (third-party-advisory, vendor-advisory)
- <https://usn.ubuntu.com/3902-1/> (third-party-advisory, vendor-advisory)
- <http://www.securityfocus.com/bid/107156> (third-party-advisory, vdb-entry)
- <http://www.securityfocus.com/bid/106747> (third-party-advisory, vdb-entry)
- <https://security.netapp.com/advisory/ntap-20190321-0001/> (third-party-advisory)
- <http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00083.html> (mailing-list, third-party-advisory, vendor-advisory)
- <http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00104.html> (mailing-list, third-party-advisory, vendor-advisory)
- <http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00041.html> (vendor-advisory)
- <http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00044.html> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2019:2519> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2019:3299> (vendor-advisory)

## Sources

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

---

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