CVE-2019-9021
Public exploit available. Not confirmed exploited in the wild yet. A vendor fix is available.
What to do
The vendor has published a fix. Version details are below where the sources state them.
Steps
Written by AI from the record- Check whether your PHP version is within the affected ranges (PHP before 5.6.40, 7.x before 7.1.26, 7.2.x before 7.2.14, or 7.3.x before 7.3.1).
- Verify whether the PHAR extension is enabled on your PHP (it is enabled by default in affected versions).
- Upgrade PHP to a fixed release: upgrade to PHP 5.6.40 or later, PHP 7.1.26 or later, PHP 7.2.14 or later, or PHP 7.3.1 or later.
- If you can’t upgrade immediately, stop any internet-facing features that accept or process user-supplied PHAR archives, and block uploads/requests containing PHAR files while you patch.
What it is
From the CVE record
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.
In plain language
Written by AI from the recordCVE-2019-9021 is a PHP bug that lets a remote attacker steal small amounts of memory when processing a specially crafted PHAR file—most small businesses should update PHP because the PHAR extension is on by default in affected versions.
Unauthenticated remote information disclosure in PHP’s PHAR extension when parsing PHAR archive filenames, due to a heap-based buffer over-read that can read past the end of a valid filename during PHAR archive parsing.
If you're affected
- Leaked sensitive information from memory
- Potential credential exposure
- Risk of further system compromise
- Service disruption risk
Exploitation
Where each signal puts this CVE on the scale from published to confirmed exploited.
- CISA KEV
Not in the catalog. CISA has not confirmed exploitation.
- Public exploits
1 source with a proof of concept or module.
Exploit links, PoCs and Metasploit modules after sign-in- EPSS
10% chance of exploitation activity in the next 30 days, which ranks it in the 95th percentile of scored CVEs.
Exploit Prediction Scoring System, FIRST.org. A probability, not a confirmation.
- Attention now
Rising.
Real risk signals with little public attention so far.
Lifecycle
The patch came 471 days before any public exploit.
- EPSS band changelow → moderateepss band change
- EPSS band changemoderate → lowepss band change
- EPSS band changelow → moderateepss band change
- EPSS band changemoderate → lowepss band change
- EPSS band change0 → moderateepss band change
- EPSS band changemoderate → lowepss band change
Affected products
And 4 more affected products. See all after sign-in
Technical detail
CVSS 3.0 vector
Open in the CVSS calculatorCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Scored 9.8 by NVD.
How it is reached
- Attack Vector NetworkExploitable remotely over the network without any special conditions
- Attack Complexity LowNo special conditions — the attack can be reliably reproduced
- Privileges Required NoneNo authentication required — anyone can exploit this
- User Interaction NoneNo user interaction needed — fully automated exploitation
Scope
- Scope UnchangedImpact is limited to the vulnerable component itself
Impact if exploited
- Confidentiality HighTotal information disclosure — all data in the component is compromised
- Integrity HighTotal loss of integrity — attacker can modify any data in the component
- Availability HighTotal denial of service — the component is completely unavailable
Weaknesses
ATT&CK techniques
Mapped from the weaknesses above (CWE to ATT&CK), not observed in attacks.
Sources
References in the record
- bugs.php.net/bug.php?id=77247&
- nvd.nist.gov/vuln/detail/CVE-2019-9021&
- security-tracker.debian.org/tracker/CVE-2019-9021&
And 454 more references. See all after sign-in
Watch the software you run.
My Stack ranks new CVEs for your products by real-world exploitation, so the next serious one reaches you without reading every advisory.
We'll flag the next CVE, public exploit or patch for Novell Inc., not every advisory. This one: public exploit.
A free account adds
- The full version matrix and every affected product
- Exploit links, proofs of concept and Metasploit modules
- Email alerts for the products you watch
- The same data over REST API, MCP and CLI