CVE-2019-9021Out-of-bounds Read in PHP

Severity
9.8CRITICALNVD
OSV7.5
EPSS
25.1%
top 3.81%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedFeb 22
Latest updateJan 27

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.

CVSS vector

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitability: 3.9 | Impact: 5.9

Affected Packages3 packages

NVDphp/php7.0.07.1.26+3
Ubuntuphp5/php5< 5.5.9+dfsg-1ubuntu4.27
NVDopensuse/leap42.3

Also affects: Debian Linux 9.0, Ubuntu Linux 12.04, 14.04, 16.04

Patches

🔴Vulnerability Details

3
GHSA
GHSA-3fr9-q295-2jq3: An issue was discovered in PHP before 52022-05-14
OSV
php5, php7.0 vulnerabilities2019-03-06
OSV
CVE-2019-9021: An issue was discovered in PHP before 52019-02-22

💥Exploits & PoCs

2
Exploit-DB
Integard Pro NoJs 2.2.0.9026 - Remote Buffer Overflow2019-12-06
Exploit-DB
Broadcom CA Privilged Access Manager 2.8.2 - Remote Command Execution2019-12-05

📋Vendor Advisories

4
CISA ICS
Festo Didactic SE MES PC2026-01-27
Ubuntu
PHP vulnerabilities2019-03-12
Ubuntu
PHP vulnerabilities2019-03-06
Red Hat
php: Heap-based buffer over-read in PHAR reading functions2018-12-06

💬Community

1
Bugzilla
CVE-2019-9021 php: Heap-based buffer over-read in PHAR reading functions2019-03-04