BREACHSPIDER
CVE databaseVendorsIntelFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2021-21707 in Debian Linux and 3 more products

Medium 5.3

In PHP versions 7.3.x below 7.3.33, 7.4.x below 7.4.26 and 8.0.x below 8.0.13, certain XML parsing functions, like simplexml_load_file(), URL-decode the filename passed to them. If that filename contains URL-encoded NUL character, this may cause the function to interpret this as the end of the filename, thus interpr...

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

CVSS 3.15.3
EPSS25.3%
EPSS percentile98th
FixSee advisory

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

Affected products and versions

VendorProductAffected versions
Debian Debian Linux 10.0 11.0
Netapp Clustered Data Ontap No version listed by the source
Php Php ≥ 7.3.0, < 7.3.33 ≥ 7.4.0, < 7.4.26 ≥ 8.0.0, < 8.0.13
Tenable Tenable.Sc < 5.21.0

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

In PHP versions 7.3.x below 7.3.33, 7.4.x below 7.4.26 and 8.0.x below 8.0.13, certain XML parsing functions, like simplexml_load_file(), URL-decode the filename passed to them. If that filename contains URL-encoded NUL character, this may cause the function to interpret this as the end of the filename, thus interpreting the filename differently from what the user intended, which may lead it to reading a different file than intended.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2021-21707
BreachSpider IDBS-2021-GLOBAL-072956-M
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Published2021-11-29
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-159: CWE-159

Analysis AI-written, not human-reviewed

This vulnerability was disclosed in 2021. A medium severity vulnerability affects Debian systems (CVE-2021-21707). A proof-of-concept has been published. Isolate affected systems if patching is not feasible.

Vulnerability details: In PHP versions 7.3.x below 7.3.33, 7.4.x below 7.4.26 and 8.0.x below 8.0.13, certain XML parsing functions, like simplexml_load_file(), URL-decode the filename passed to them. If that filename contains URL-encoded NUL character, this may cause the function to interpret this as the end of the filename, thus interpreting the filename differently from what the user intended, which may lead it to reading a different file than intended. CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N.

Questions

What is CVE-2021-21707?

This vulnerability was disclosed in 2021. A medium severity vulnerability affects Debian systems (CVE-2021-21707). A proof-of-concept has been published. Isolate affected systems if patching is not feasible.

What is the CVSS score for CVE-2021-21707?

CVE-2021-21707 has CVSS 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N. EPSS: 25.3%.

Is CVE-2021-21707 actively exploited?

No confirmed active exploitation of CVE-2021-21707 as of 2026-09-25.

How do I remediate CVE-2021-21707?

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

What systems are affected by CVE-2021-21707?

CVE-2021-21707 affects Debian Debian Linux; Netapp Clustered Data Ontap; Php Php; Tenable Tenable.Sc.

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"}]}'

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.