BreachSpiderVerified, not vibes

CVE-2019-9021 in Canonical Ubuntu Linux and 4 more products

Critical 9.8

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

Affects 5 products from 5 vendors. Facts below cite their sources.

CVSS 3.09.8
EPSS10.1%
EPSS percentile96th
FixSee advisory

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Canonical Ubuntu Linux 12.04 14.04 16.04
Debian Debian Linux 9.0
Netapp Storage Automation Store No version listed by the source
Opensuse Leap 42.3
Php Php < 5.6.40 ≥ 7.0.0, < 7.1.26 ≥ 7.2.0, < 7.2.14 ≥ 7.3.0, < 7.3.1

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

View Vendor Advisory →

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

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

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2019-9021
BreachSpider IDBS-2019-GLOBAL-212857-C
CVSS vectorCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published2019-02-22
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-125: Out-of-Bounds Read

Software reads data past the boundary of an allocated buffer, leaking sensitive information or causing crashes.

Related attack patterns (CAPEC)

CAPEC-540 Overread Buffers via CWE-125

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

This vulnerability was disclosed in 2019. A critical vulnerability affects Canonical systems (CVE-2019-9021). No public exploit code is currently available. Isolate affected systems if patching is not feasible.

Vulnerability details: 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:H.

Questions

What is CVE-2019-9021?

This vulnerability was disclosed in 2019. A critical vulnerability affects Canonical systems (CVE-2019-9021). No public exploit code is currently available. Isolate affected systems if patching is not feasible.

What is the CVSS score for CVE-2019-9021?

CVE-2019-9021 has CVSS 9.8 (Critical). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 10.1%.

Is CVE-2019-9021 actively exploited?

No confirmed active exploitation of CVE-2019-9021 as of 2026-06-21.

How do I remediate CVE-2019-9021?

Priority: MEDIUM. Advisory: https://bugs.php.net/bug.php?id=77247 PSIRT: [email protected]

What systems are affected by CVE-2019-9021?

CVE-2019-9021 affects Canonical Ubuntu Linux; Debian Debian Linux; Netapp Storage Automation Store; Opensuse Leap; Php Php.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Canonical","product":"Ubuntu Linux","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.