Summary
generated automatically from NVD dataThe PHP SOAP extension has a use-after-free flaw (CWE-416) in its object deduplication mechanism, affecting the 8.2, 8.3, 8.4 and 8.5 branches before 8.2.31, 8.3.31, 8.4.21 and 8.5.6 respectively. The extension keeps pointers to objects in a global map without raising their reference counts, so an apache:Map node with duplicate keys frees the first object while a stale pointer remains, and a later href reference can copy that dangling pointer. An attacker who controls the SOAP request body can reclaim the freed memory with PHP string allocations and achieve remote code execution, with a CVSS v3.1 score of 9.8 (CRITICAL).
NVD description
In PHP versions 8.2.* before 8.2.31, 8.3.* before 8.3.31, 8.4.* before 8.4.21, and 8.5.* before 8.5.6, the SOAP extension's object deduplication mechanism stores pointers to PHP objects in a global map without incrementing their reference counts. When an apache:Map node contains duplicate keys, processing the second entry overwrites the first in the temporary result map, freeing the original PHP object while its stale pointer remains in the map. A subsequent href reference to the freed node can copy the dangling pointer into the result. As PHP string allocations can reclaim the freed memory region, an attacker with control over the SOAP request body can exploit this use-after-free to achieve remote code execution.
EPSS · FIRST.org
1.3%probability of exploitation in the next 30 days
Higher than 70% of scored CVEs
EPSS (Exploit Prediction Scoring System) estimates, from observed exploitation activity, how likely a CVE is to be exploited in the next 30 days. It complements CVSS, which measures severity, not likelihood. Score of 2026-11-25, recomputed daily by FIRST.org.
In-depth analysis on cveo.tech
This CVE is covered in an article: context, affected versions and published fixes.
CVSS v3.1 Score
Information
- Published
- 10 mai 2026
- Updated
- 24 juil. 2026
- Status
- Modified
- Source
- security@php.net
Affected products
Bounds published by NVD: "< 8.4.27" means 8.4.27 is no longer vulnerable. The fixed release to install is in the vendor advisory.
Weaknesses (CWE)
References (11)
Similar CVEs
Other vulnerabilities of type CWE-416
Running PHP servers? Know which CVEs hit your version.
Add the product and its version: cveo.tech lists the CVEs that affect it right away, then alerts you by email when a new one affects it — including before NVD has finished its analysis. Free, an account is all it takes.