CVE-2021-21702 in Debian Linux and 3 more products
In PHP versions 7.3.x below 7.3.27, 7.4.x below 7.4.15 and 8.0.x below 8.0.2, when using SOAP extension to connect to a SOAP server, a malicious SOAP server could return malformed XML data as a response that would cause PHP to access a null pointer and thus cause a crash.
Affects 4 products from 4 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Debian | Debian Linux | 9.0 10.0 |
| Netapp | Clustered Data Ontap | No version listed by the source |
| Oracle | Communications Diameter Signaling Router | ≥ 8.0.0, ≤ 8.5.0 |
| Php | Php | ≥ 7.3.0, < 7.3.27 ≥ 7.4.0, < 7.4.15 ≥ 8.0.0, < 8.0.2 |
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
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
In PHP versions 7.3.x below 7.3.27, 7.4.x below 7.4.15 and 8.0.x below 8.0.2, when using SOAP extension to connect to a SOAP server, a malicious SOAP server could return malformed XML data as a response that would cause PHP to access a null pointer and thus cause a crash.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2021-21702 |
|---|---|
| BreachSpider ID | BS-2021-GLOBAL-241325-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| Published | 2021-02-15 |
| Last modified | 2024-11-21 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-476: NULL Pointer Dereference
Software attempts to use a NULL pointer, causing a crash and denial of service.
Analysis AI-written, not human-reviewed
A vulnerability in PHP versions 7.3.x below 7.3.27, 7.4.x below 7.4.15, and 8.0.x below 8.0.2 allows a malicious SOAP server to cause a crash by returning malformed XML data, leading to a null pointer dereference.
The attack vector involves a malicious SOAP server sending malformed XML data to a PHP application using the SOAP extension. This malformed data causes PHP to attempt to access a null pointer, resulting in a crash.
Questions
What is CVE-2021-21702?
A vulnerability in PHP versions 7.3.x below 7.3.27, 7.4.x below 7.4.15, and 8.0.x below 8.0.2 allows a malicious SOAP server to cause a crash by returning malformed XML data, leading to a null pointer dereference.
What is the CVSS score for CVE-2021-21702?
CVE-2021-21702 has CVSS 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H. EPSS: 3.2%.
Is CVE-2021-21702 actively exploited?
No confirmed active exploitation of CVE-2021-21702 as of 2026-05-30.
How do I remediate CVE-2021-21702?
Priority: HIGH. Advisory: https://bugs.php.net/bug.php?id=80672 PSIRT: [email protected]
What systems are affected by CVE-2021-21702?
CVE-2021-21702 affects Debian Debian Linux; Netapp Clustered Data Ontap; Oracle Communications Diameter Signaling Router; 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":"Debian","product":"Debian Linux","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2024-11-21.