Live threats
VulnFox

All CVEs / Php

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Php.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
phpphp< 5.6.40
phpphp≥ 7.0.0 < 7.1.26
phpphp≥ 7.2.0 < 7.2.14
phpphp≥ 7.3.0 < 7.3.1
debiandebian_linux9.0
canonicalubuntu_linux12.04
canonicalubuntu_linux14.04
canonicalubuntu_linux16.04
netappstorage_automation_storeall
opensuseleap42.3

Official sources

References

Links published by the sources. Open them with care.