Skip to content
COOEY

EXPOSURES › CVE-2026-6722

CVE-2026-6722

CRITICAL
DETAIL
SourceNVD · cve Published2026-05-10 CVSS9.8 Referencehttps://nvd.nist.gov/vuln/detail/CVE-2026-6722 ↗
⚡ RCE ◐ ZERO-DAY SHAME 78/100 rceunpatchedexploited-in-wild

A use-after-free vulnerability in PHP's SOAP extension allows remote code execution if an attacker controls the SOAP request body.

CVE-2026-6722 affects PHP versions 8.2 through 8.5 and enables remote code execution via a use-after-free flaw in the SOAP extension. DIB organizations must patch PHP immediately, as this vulnerability is critical (CVSS 9.8) and could allow attackers to execute arbitrary code on systems processing SOAP requests. The flaw is avoidable through timely updates and proper input validation.

Shame score — A critical RCE vulnerability in a widely used language like PHP, affecting multiple major versions, represents a severe avoidable risk that could compromise any system relying on unpatched PHP SOAP services.

▸ RECOMMENDED ACTION  Remote code execution — patch the affected products on priority.

PLAYERS IMPLICATED
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.

AFFECTED FEDRAMP PRODUCTS · 0
No correlated FedRAMP products.