BreachSpiderVerified, not vibes

CVE-2023-3823 in Debian Linux and 2 more products

High 7.5

In PHP versions 8.0.* before 8.0.30, 8.1.* before 8.1.22, and 8.2.* before 8.2.8 various XML functions rely on libxml global state to track configuration variables, like whether external entities are loaded. This state is assumed to be unchanged unless the user explicitly changes it by calling appropriate function. ...

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

CVSS 3.17.5
EPSS1.3%
EPSS percentile71th
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, no integrity impact, no availability impact.

Affected products and versions

VendorProductAffected versions
Debian Debian Linux 10.0
Fedoraproject Fedora 38
Php Php ≥ 8.0.0, < 8.0.30 ≥ 8.1.0, < 8.1.22 ≥ 8.2.0, < 8.2.9

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 →

Exploitation

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

Official description

In PHP versions 8.0.* before 8.0.30, 8.1.* before 8.1.22, and 8.2.* before 8.2.8 various XML functions rely on libxml global state to track configuration variables, like whether external entities are loaded. This state is assumed to be unchanged unless the user explicitly changes it by calling appropriate function. However, since the state is process-global, other modules - such as ImageMagick - may also use this library within the same process, and change that global state for their internal purposes, and leave it in a state where external entities loading is enabled. This can lead to the situation where external XML is parsed with external entities loaded, which can lead to disclosure of any local files accessible to PHP. This vulnerable state may persist in the same process across many requests, until the process is shut down.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2023-3823
BreachSpider IDBS-2023-GLOBAL-342996-H
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Published2023-08-11
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-611: CWE-611

Related attack patterns (CAPEC)

CAPEC-221 Data Serialization External Entities Blowup via CWE-611

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

A vulnerability in PHP versions 8.0.* before 8.0.30, 8.1.* before 8.1.22, and 8.2.* before 8.2.8 allows for potential XML External Entity (XXE) attacks due to improper handling of libxml global state.

An attacker could exploit this vulnerability by crafting a malicious XML input that, when processed by affected PHP versions, could lead to the loading of external entities. This could result in unauthorized access to local files, internal port scanning, remote code execution, or denial of service.

Questions

What is CVE-2023-3823?

A vulnerability in PHP versions 8.0.* before 8.0.30, 8.1.* before 8.1.22, and 8.2.* before 8.2.8 allows for potential XML External Entity (XXE) attacks due to improper handling of libxml global state.

What is the CVSS score for CVE-2023-3823?

CVE-2023-3823 has CVSS 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N. EPSS: 1.3%.

Is CVE-2023-3823 actively exploited?

No confirmed active exploitation of CVE-2023-3823 as of 2026-09-25.

How do I remediate CVE-2023-3823?

Priority: HIGH. Advisory: https://lists.debian.org/debian-lts-announce/2023/09/msg00002.html

What systems are affected by CVE-2023-3823?

CVE-2023-3823 affects Debian Debian Linux; Fedoraproject Fedora; 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"}]}'

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.