Skip to content
Back to search

CVE-2026-6722

CRITICAL
9.8NVD

Summary

generated automatically from NVD data

The 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.

Share:

EPSS · FIRST.org

1.3%probability of exploitation in the next 30 days

Higher than 69% 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-10-16, recomputed daily by FIRST.org.

In-depth analysis on cveo.tech

We've published a detailed analysis of this CVE — exploitation, IOCs and mitigation.

Similar CVEs

Other vulnerabilities of type CWE-416

…

Monitor your products

Get automatic alerts for every new CVE affecting your equipment.

Enable monitoring