CVE-2026-6722: Vulnerability in PHP

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

CWE-416, CWE-825

Exploitation
None confirmed
Severity
9.8 of 10
Attack likelihood
Unknown
Fix
Fixed version known
Patch deadline
No deadline set

Details

Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-416, CWE-825
Published
10 May 2026
Last change
24 Jul 2026

Affected products

Affected versions and the first fixed release

  • PHP From 8.2.0 before 8.2.31; From 8.3.0 before 8.3.31; From 8.4.0 before 8.4.21; From 8.5.0 before 8.5.6. Fixed in 8.2.31, 8.3.31, 8.4.21, 8.5.6

Advisories

Vendor and security advisories

Related