CVE-2019-9021Php
Critical 9.8 No auth needed
- Priority
- 74
- CVSS 3.0
- 9.8
- EPSS
- —
- Auth required
- No
- Published
- Feb 22, 2019
- Updated
- Jun 17, 2026
- Category
- Web application · Cross-platform
- Weakness (CWE)
- CWE-125
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Php.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| php | php | < 5.6.40 |
| php | php | ≥ 7.0.0 < 7.1.26 |
| php | php | ≥ 7.2.0 < 7.2.14 |
| php | php | ≥ 7.3.0 < 7.3.1 |
| debian | debian_linux | 9.0 |
| canonical | ubuntu_linux | 12.04 |
| canonical | ubuntu_linux | 14.04 |
| canonical | ubuntu_linux | 16.04 |
| netapp | storage_automation_store | all |
| opensuse | leap | 42.3 |
Official sources
References
Links published by the sources. Open them with care.
- lists.opensuse.org Mailing List Third Party Advisory
- lists.opensuse.org Mailing List Third Party Advisory
- lists.opensuse.org
- lists.opensuse.org
- www.securityfocus.com Third Party Advisory VDB Entry
- www.securityfocus.com Third Party Advisory VDB Entry
- access.redhat.com
- access.redhat.com
- bugs.php.net Exploit Issue Tracking Patch
- security.netapp.com Third Party Advisory
- usn.ubuntu.com Third Party Advisory
- usn.ubuntu.com Third Party Advisory
- www.debian.org Third Party Advisory