CVE-2023-3823
highpriority · track · 31EPSS 0.016 · 76 %ileDEEURUUSEPSS · scored 2026-10-27
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
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 6.9–8.6
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (35)
Products and version ranges known to be affected.
- Xerox FreeFlow Print Server v2 / Windows 10all versionscert_bundDEcpe:/a:xerox:freeflow_print_server:v2__windows_10
- Xerox FreeFlow Print Server v9 for Solarisall versionscert_bundDEcpe:/a:xerox:freeflow_print_server:v9_for_solaris
advisories (5)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2023-1970PHP: Mehrere SchwachstellenDeutsch2023-08-06csaf · cert_bundDE
Ein entfernter anonymer Angreifer kann mehrere Schwachstellen in PHP ausnutzen, um Informationen offenzulegen oder beliebigen Code auszuführen.
- WID-SEC-W-2023-2917Xerox FreeFlow Print Server: Mehrere SchwachstellenDeutsch2023-11-14csaf · cert_bundDE
Ein Angreifer kann mehrere Schwachstellen in Xerox FreeFlow Print Server ausnutzen, um die Vertraulichkeit, Verfügbarkeit und Integrität des Systems zu gefährden.
- BIT-libphp-2023-3823Security issue with external entity loading in XML without enabling it2025-08-11vendor · osvUS
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.
- BIT-php-2023-3823Security issue with external entity loading in XML without enabling it2024-03-06vendor · osvUS
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.
- BIT-php-min-2023-3823Security issue with external entity loading in XML without enabling it2025-01-14vendor · osvUS
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.
also known as (7)
Other names and identifiers for this entity.
- CNNVD-202308-1104cnnvd
- EUVD-2023-44451enisa_euvd
- BDU:2023-06656fstec_bdu
- BIT-libphp-2023-3823osv
- BIT-php-2023-3823osv
- BIT-php-min-2023-3823osv
- GHSA-3qrf-m4j2-pcrrosv
sources
Which sources assert this record, and when.
references (17)
External citations — patches, advisories, analysis.
- https://cxsecurity.com/cveshow/CVE-2023-3823/cnnvd
- https://github.com/php/php-src/security/advisories/GHSA-3qrf-m4j2-pcrrcnnvd
- https://lists.debian.org/debian-lts-announce/2023/09/msg00002.htmlcnnvd
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/7NBF77WN6DTVTY2RE73IGPYD6M4PIAWA/cnnvd
- https://security.netapp.com/advisory/ntap-20230825-0001/cnnvd
- https://www.auscert.org.au/bulletins/ESB-2023.4842cnnvd
- https://www.auscert.org.au/bulletins/ESB-2023.5059cnnvd
- https://www.auscert.org.au/bulletins/ESB-2023.5103cnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan