CVE-2026-6722: CWE-416 Use After Free in PHP Group PHP
CVE-2026-6722 is a critical use-after-free vulnerability in the PHP SOAP extension affecting PHP versions 8. 2. * before 8. 2. 31, 8. 3. * before 8. 3. 31, 8. 4.
AI Analysis
Technical Summary
This vulnerability (CVE-2026-6722) involves a use-after-free condition in the PHP SOAP extension's object deduplication mechanism. Specifically, when processing apache:Map nodes with duplicate keys, the second entry overwrites the first in a temporary result map, freeing the original PHP object without updating reference counts. Subsequent references to the freed object can lead to dangling pointers. Because PHP string allocations may reuse the freed memory, an attacker who can control the SOAP request body can exploit this to achieve remote code execution. The affected PHP versions are 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 vulnerability is classified under CWE-416 (Use After Free) and has a critical CVSS score of 9.5.
Potential Impact
Successful exploitation of this vulnerability can lead to remote code execution on affected PHP installations. This poses a critical risk as it allows an unauthenticated attacker to execute arbitrary code by sending crafted SOAP requests. The vulnerability affects multiple recent PHP versions, increasing the potential attack surface. There are no known exploits in the wild at the time of this report.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no official patch or remediation level is provided in the available data, users should monitor the PHP Group's advisories for updates. Until a fix is available, consider disabling the SOAP extension if it is not required or restricting access to SOAP endpoints to trusted users only to reduce exposure.
CVE-2026-6722: CWE-416 Use After Free in PHP Group PHP
Description
CVE-2026-6722 is a critical use-after-free vulnerability in the PHP SOAP extension affecting PHP versions 8. 2. * before 8. 2. 31, 8. 3. * before 8. 3. 31, 8. 4.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability (CVE-2026-6722) involves a use-after-free condition in the PHP SOAP extension's object deduplication mechanism. Specifically, when processing apache:Map nodes with duplicate keys, the second entry overwrites the first in a temporary result map, freeing the original PHP object without updating reference counts. Subsequent references to the freed object can lead to dangling pointers. Because PHP string allocations may reuse the freed memory, an attacker who can control the SOAP request body can exploit this to achieve remote code execution. The affected PHP versions are 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 vulnerability is classified under CWE-416 (Use After Free) and has a critical CVSS score of 9.5.
Potential Impact
Successful exploitation of this vulnerability can lead to remote code execution on affected PHP installations. This poses a critical risk as it allows an unauthenticated attacker to execute arbitrary code by sending crafted SOAP requests. The vulnerability affects multiple recent PHP versions, increasing the potential attack surface. There are no known exploits in the wild at the time of this report.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no official patch or remediation level is provided in the available data, users should monitor the PHP Group's advisories for updates. Until a fix is available, consider disabling the SOAP extension if it is not required or restricting access to SOAP endpoints to trusted users only to reduce exposure.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- php
- Date Reserved
- 2026-04-20T19:39:59.836Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a000b48cbff5d861022ac6b
Added to database: 5/10/2026, 4:36:24 AM
Last enriched: 5/10/2026, 4:51:23 AM
Last updated: 5/10/2026, 10:37:37 AM
Views: 49
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.