Back

CVE-2019-9021

CRITICAL

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.

Published: Feb 22, 2019 Modified: Jun 17, 2026
CWE-125

CVSS Metrics

CVSSv3
Attack Vector: NETWORK Attack Complexity: LOW Privileges Required: NONE User Interaction: NONE Scope: UNCHANGED Confidentiality Impact: HIGH Integrity Impact: HIGH Availability Impact: HIGH

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected Products (10)

Vendor Product Version
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 -
opensuse leap 42.3

GitHub Security Advisory GHSA-3fr9-q295-2jq3

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...

Risk Scores

CVSS Score 9.8 / 10
EPSS Score 10.06%

Top 5% most likely to be exploited

Threat Score 42.2 / 100

Data Sources

NVD EPSS GitHub