Vendors › PHP

CVE-2026-6722

High (9.4) EPSS 1.1% PHP · SOAP

Use-After-Free in SOAP using Apache map with Remote Code Execution

ext-soap supports deduplicating objects in the XML graph through id and href. When traversing the XML graph, ext-soap will remember all plain PHP objects using the hash map SOAP_GLOBAL(ref_map), where the pointer to the libxml2 node acts as a key, and the PHP object as a value.

Published2026-05-07
Updated2026-05-07
AffectedPHP versions < 8.2.31; PHP versions < 8.3.31; PHP versions < 8.4.21; PHP versions < 8.5.6
FixUpgrade to 8.2.31, 8.3.31, 8.4.21, 8.5.6 (first fixed release per supported branch).
Vendor advisoryhttps://github.com/php/php-src/security/advisories/GHSA-85c2-q967-79q5

CVEs (1)

CVECWETypeImpactLinks
CVE-2026-6722CWE-416;CWE-825Memory CorruptionCode ExecutionNVD · CVE.org · EUVD

CWE, type and impact come from the NVD enrichment pass; unfilled rows are pending enrichment.

Same CVE in other advisories

Open in the CVEMesh app Create a free account

Track this advisory against your own stack — add your assets and CVEMesh shows which advisories actually apply to the versions you run.

CVEMesh aggregates public vendor advisories as guidance; always verify against the vendor's official advisory before patching or upgrading.