Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSubmit crafted XML/HTML to vulnerable app
-
ExploitTrigger double-free in DOM namespace map during saveXml()
-
ExecutionCrash PHP worker process
-
ImpactRepeat requests to exhaust worker pool
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Double free prevention
|
| Exploitation Conditions | Exploitation requires an application running PHP 8.4.x before 8.4.28 or 8.5.x before 8.5.13 that (1) parses attacker-controlled input with the modern DOM API (Dom\XMLDocument or Dom\HTMLDocument) and (2) serializes the resulting document with saveXml(). For the HTML path, only a crafted document followed by Dom\HTMLDocument::saveXml() is needed; for the XML path the state can arise when application code adds a namespaced attribute while the supplied document declares another prefix for that namespace. Input need not be malformed. Limiting factors: applications that do not XML-serialize untrusted documents are not affected; for HTML output, saveHtml() avoids the vulnerable XML serializer; and the legacy DOMDocument API is outside the stated affected classes. Process isolation and worker-restart limits can contain crashes but do not remove the behavior. |
| Impact | Signals are consistent and point to a real but moderate-priority issue rather than a top-tier emergency. The vendor CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:N/UI:N) with VA:L and VC:N/VI:N scores 6.3 (Medium) and correctly caps impact at availability only - the PHP advisory explicitly states code execution has not been demonstrated and no confidentiality or integrity impact has been established. The AT:P (attack requirements) metric reflects that exploitation depends on an application actually XML-serializing attacker-controlled documents, not on any attacker-uncontrolled runtime race. Exploitation status is 'no public exploit identified at time of analysis': the single reference is the GHSA advisory itself, with no PoC, and the CVE is not on CISA KEV. No EPSS score was supplied, so exploitation probability cannot be quantified from the input. The vuln.today Decision label is 'this_month' (not act_now/emergency), consistent with a DoS-only, config-dependent flaw in a very widely deployed runtime. The one data conflict worth flagging: the input Tags include 'RCE', which directly contradicts the advisory's statement that code execution is not demonstrated - treat this as DoS, not RCE. Net: patch within the normal monthly cycle; prioritize sooner only for internet-facing PHP 8.4/8.5 applications that parse and re-serialize untrusted XML/HTML via the modern DOM API. |
| Exploit ScenarioDerived | An attacker submits crafted (but well-formed) XML or HTML to a PHP application that parses it with Dom\XMLDocument or Dom\HTMLDocument and later calls saveXml() on the document. During serialization a generated namespace prefix is freed twice, corrupting the heap and crashing the PHP worker. Repeated requests crash workers on demand, exhausting the worker pool and causing denial of service; no public PoC is referenced and code execution has not been demonstrated. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 19, 2026
PHP processes can be crashed through a double free in the DOM extension's XML serializer used by Dom\XMLDocument and Dom\HTMLDocument in PHP 8.4.x before 8.4.28 and 8.5.x before 8.5.13. Unauthenticated remote attackers who get an application to parse attacker-controlled XML or HTML with these classes and then call saveXml() can trigger use and repeated freeing of the same namespace-prefix allocation, terminating PHP workers; repeated requests can degrade or exhaust a worker pool. Impact is limited to availability in the assessed vector (no confidentiality or integrity impact established), code execution has not been demonstrated, and no public exploit code was identified at time of analysis.
RemediationAI
Vendor-released patch: upgrade PHP to 8.4.28 for the 8.4 branch or 8.5.13 for the 8.5 branch, as listed in the GHSA advisory (https://github.com/php/php-src/security/advisories/GHSA-x8r7-mg3g-74hg). If upgrading is not immediately possible, stop calling saveXml() on attacker-controlled Dom\XMLDocument or Dom\HTMLDocument instances; for HTML documents where XML output is not required, use saveHtml(), which avoids the affected XML serializer entirely, at the cost of output format changing. Process isolation plus worker restart limits can contain individual crashes but do not remove the vulnerable behaviour, and they consume worker capacity each time a crash occurs. The legacy DOMDocument API is outside the affected classes, so code paths can also be reworked onto it if the modern API is not otherwise required.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw is a memory-safety defect (CWE-415 double free, with an associated CWE-416 use-after-free) inside the namespace-prefix map that Dom\XMLDocument and Dom\HTMLDocument keep while serializing a document as XML. When the serializer must synthesize a prefix for an attribute whose namespace has no usable prefix, the generated prefix is owned by the element's map; descendants initially share that map and copy it on write when a further candidate prefix for an existing namespace URI is added. The vulnerable copy-on-write path duplicates the candidate list but leaves the copied pointers flagged as owned, so destroying the descendant's map frees a generated prefix still referenced by the ancestor. A later sibling then reads the freed value and destruction of the ancestor's map frees the same allocation again, corrupting ZendMM's free list; later allocations in the same request may alias, but converting that into type confusion or code execution requires application-specific allocation control and has not been shown. Valid, well-formed input is sufficient: namespaced attributes, nested namespace declarations and a subsequent sibling establish the state, and the HTML path needs only a crafted document followed by Dom\HTMLDocument::saveXml(). The legacy DOMDocument API is outside the affected classes, and the trigger details for each deployment mode are as described in the upstream advisory rather than inferred.
Know when PHP gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
DoS-only (A:L, C/I:N); AV:N as input is remote; AC:H maps the vendor AT:P requirement that the app must serialize attacker-controlled documents via saveXml(); PR:N/UI:N since no auth or user interaction is needed.
Primary rating from Vendor (php).
CVSS VectorVendor: php
Lifecycle Timeline
2DescriptionCVE.org
Double free during DOM XML serialization.
The XML serializer of Dom\XMLDocument and Dom\HTMLDocument can share ownership of a generated namespace prefix between the namespace-prefix maps of an element and a descendant, so the prefix is used after being freed and then freed a second time. The document does not need to be malformed. An application that parses attacker-controlled XML or HTML with these classes and serializes it with saveXml() can be crashed, and repeated requests can cause denial of service. Code execution has not been demonstrated.
This issue affects PHP versions 8.4.* before 8.4.28 and 8.5.* before 8.5.13.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
EUVD-2026-130250
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB