CVE-2023-3823: Security issue with external entity loading in XML without enabling it
Vulnerability summary
CVE-2023-3823 is a high (CVSS 8.6) vulnerability in debian debian_linux. EPSS estimates a 1.64% chance of exploitation in the next 30 days, higher than 76.3% of scored vulnerabilities. 1 public exploit is recorded.
Public exploit (GitHub, Date unknown)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 14 · Related 7Timeline
- 11-08-2023PublishedVulnerability first disclosed.
- 13-02-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
5 scores · 5 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NDiffers
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NDiffers
- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NDiffers
- OSV · AlpineEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NDiffers
EPSS trend
Probability
1.64%
Chance of exploitation in the next 30 days
Percentile
76%
Versus all other CVEs
30-day change
No change 0.00 pp
From 1.64% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundPhp Src
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu5 products
- php5All versions (No fix recorded)
- php7.0< 7.0.33-0ubuntu0.16.04.16+esm10
- php7.2< 7.2.24-0ubuntu0.18.04.17+esm4
- php7.4< 7.4.3-4ubuntu2.20
- php8.1< 8.1.2-1ubuntu2.14
Alpine2 products
- php8< 8.0.30-r0
- php81< 8.1.22-r0
Debian2 products
- php8.2< 8.2.18-1~deb12u1
- debian_linuxEOL10.0
Fedoraproject1 product
- fedoraEOL38
Php1 product
- php≥ 8.0.0, < 8.0.30 | ≥ 8.1.0, < 8.1.22 | ≥ 8.2.0, < 8.2.9
Php group1 product
- php≥ 8.0.*, < 8.0.30 | ≥ 8.1.*, < 8.1.22 | ≥ 8.2.*, < 8.2.8
6 vendors · 12 products
References
13 links- lists.fedoraproject.org/archives/…Mailing List
- security.netapp.com/advisory/ntap-20230825-0001/Third Party Advisory