CVE-2026-6722
published critical CVSS 4.0 · 9.5Use-After-Free in SOAP using Apache map
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| PHP Group | — | soapPHP · 8.2.* to < 8.2.31 · 8.3.* to < 8.3.31 · 8.4.* to < 8.4.21 · 8.5.* to < 8.5.6 · Other versions: affected | Affected | Not stated | php |
| Red Hat Enterprise Linux | 10 | php8.40:8.4.21-1.el10_2 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat Enterprise Linux | 10 | php0:8.3.31-1.el10_2 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat Enterprise Linux | 8 | php:8.28100020260521052503.f7998665 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Amazon Linux | AL2 | Release evaluationALAS2-2026-3316 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2PHP8.2-2026-011 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 10 | php | Advisory build | 8.3.31-1.el10_2 | ALSA-2026:23388 |
| Debian | trixie | php8.4 | Advisory build | 8.4.21-1~deb13u1 | DSA-6256-1 |
Show 108 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat Enterprise Linux | 8 | php:7.48100020260604072603.f7998665 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat Enterprise Linux | 9 | php:8.39080020260521113736.9 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat Enterprise Linux | 9 | php:8.29080020260521080715.9 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat Enterprise Linux | 9 | php0:8.0.30-6.el9_8 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat Enterprise Linux | 6 | php | Unknown | Not stated | redhat-SADP |
| Red Hat Enterprise Linux | 7 | php | Affected | Not stated | redhat-SADP |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1726 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1727 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1728 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1733 | Fixed | Not stated | Amazon Linux assessment |
| Oracle Linux | 8 | phpaarch64 · php · 7.4b | Advisory build | 0:7.4.33-4.module+el8.10.0+90942+d80f51f3 | ELSA-2026-34354 |
| Red Hat Enterprise Linux | RHEL-10 | phpaarch64 | Advisory build | 8.3.31-1.el10_2 | RHSA-2026:23388 |
| Ubuntu | questing | php8.4 | Advisory build | 8.4.11-1ubuntu1.2 | USN-8336-1 |
| AlmaLinux | 10 | php8.4 | Advisory build | 8.4.21-1.el10_2 | ALSA-2026:22649 |
| AlmaLinux | 8 | php | Advisory build | 7.4.33-4.module_el8.10.0+4209+2ed16ff0 | ALSA-2026:34354 |
| AlmaLinux | 8 | php | Advisory build | 8.2.31-1.module_el8.10.0+4189+0784d4cc | ALSA-2026:22305 |
| AlmaLinux | 9 | php | Advisory build | 8.0.30-6.el9_8 | ALSA-2026:33449 |
| AlmaLinux | 9 | php | Advisory build | 8.2.31-1.module_el9.8.0+254+5708f44c | ALSA-2026:22143 |
| AlmaLinux | 9 | php | Advisory build | 8.3.31-2.module_el9.8.0+255+747189f2 | ALSA-2026:22142 |
| Oracle Linux | 8 | phpx86_64 · php · 7.4b | Advisory build | 0:7.4.33-4.module+el8.10.0+90942+d80f51f3 | ELSA-2026-34354 |
| Oracle Linux | 9 | phpaarch64 | Advisory build | 0:8.0.30-6.el9_8 | ELSA-2026-33449 |
| Oracle Linux | 9 | phpx86_64 | Advisory build | 0:8.0.30-6.el9_8 | ELSA-2026-33449 |
| Red Hat Enterprise Linux | RHEL-10 | phpaarch64 | Advisory build | 8.3.37-1.el10_0 | RHSA-2026:102934 |
| Red Hat Enterprise Linux | RHEL-10 | phpppc64le | Advisory build | 8.3.31-1.el10_2 | RHSA-2026:23388 |
| Red Hat Enterprise Linux | RHEL-10 | phpppc64le | Advisory build | 8.3.37-1.el10_0 | RHSA-2026:102934 |
| Red Hat Enterprise Linux | RHEL-10 | phps390x | Advisory build | 8.3.31-1.el10_2 | RHSA-2026:23388 |
| Red Hat Enterprise Linux | RHEL-10 | phps390x | Advisory build | 8.3.37-1.el10_0 | RHSA-2026:102934 |
| Red Hat Enterprise Linux | RHEL-10 | phpsrc | Advisory build | 8.3.31-1.el10_2 | RHSA-2026:23388 |
| Red Hat Enterprise Linux | RHEL-10 | phpsrc | Advisory build | 8.3.37-1.el10_0 | RHSA-2026:102934 |
| Red Hat Enterprise Linux | RHEL-10 | phpx86_64 | Advisory build | 8.3.31-1.el10_2 | RHSA-2026:23388 |
| Red Hat Enterprise Linux | RHEL-10 | phpx86_64 | Advisory build | 8.3.37-1.el10_0 | RHSA-2026:102934 |
| Red Hat Enterprise Linux | RHEL-10 | php8.4aarch64 | Advisory build | 8.4.21-1.el10_2 | RHSA-2026:22649 |
| Red Hat Enterprise Linux | RHEL-10 | php8.4ppc64le | Advisory build | 8.4.21-1.el10_2 | RHSA-2026:22649 |
| Red Hat Enterprise Linux | RHEL-10 | php8.4s390x | Advisory build | 8.4.21-1.el10_2 | RHSA-2026:22649 |
| Red Hat Enterprise Linux | RHEL-10 | php8.4src | Advisory build | 8.4.21-1.el10_2 | RHSA-2026:22649 |
| Red Hat Enterprise Linux | RHEL-10 | php8.4x86_64 | Advisory build | 8.4.21-1.el10_2 | RHSA-2026:22649 |
| Red Hat Enterprise Linux | RHEL-7 | phpppc64 | Advisory build | 5.4.16-48.el7_9.2 | RHSA-2026:101337 |
| Red Hat Enterprise Linux | RHEL-7 | phpppc64le | Advisory build | 5.4.16-48.el7_9.2 | RHSA-2026:101337 |
| Red Hat Enterprise Linux | RHEL-7 | phps390x | Advisory build | 5.4.16-48.el7_9.2 | RHSA-2026:101337 |
| Red Hat Enterprise Linux | RHEL-7 | phpsrc | Advisory build | 5.4.16-48.el7_9.2 | RHSA-2026:101337 |
| Red Hat Enterprise Linux | RHEL-7 | phpx86_64 | Advisory build | 5.4.16-48.el7_9.2 | RHSA-2026:101337 |
| Red Hat Enterprise Linux | RHEL-8 | phpaarch64 | Advisory build | 7.4.33-4.module+el8.10.0+24352+91532d3e | RHSA-2026:34354 |
| Red Hat Enterprise Linux | RHEL-8 | phpaarch64 | Advisory build | 8.2.31-1.module+el8.10.0+24323+abc2b0db | RHSA-2026:22305 |
| Red Hat Enterprise Linux | RHEL-8 | phpppc64le | Advisory build | 7.4.33-1.module+el8.8.0+25407+f18f08e0.3 | RHSA-2026:102713 |
| Red Hat Enterprise Linux | RHEL-8 | phpppc64le | Advisory build | 7.4.33-4.module+el8.10.0+24352+91532d3e | RHSA-2026:34354 |
| Red Hat Enterprise Linux | RHEL-8 | phpppc64le | Advisory build | 8.2.31-1.module+el8.10.0+24323+abc2b0db | RHSA-2026:22305 |
| Red Hat Enterprise Linux | RHEL-8 | phps390x | Advisory build | 7.4.33-4.module+el8.10.0+24352+91532d3e | RHSA-2026:34354 |
| Red Hat Enterprise Linux | RHEL-8 | phps390x | Advisory build | 8.2.31-1.module+el8.10.0+24323+abc2b0db | RHSA-2026:22305 |
| Red Hat Enterprise Linux | RHEL-8 | phpsrc | Advisory build | 7.4.19-4.module+el8.6.0+25408+6cada03c.4 | RHSA-2026:102823 |
| Red Hat Enterprise Linux | RHEL-8 | phpsrc | Advisory build | 7.4.33-1.module+el8.8.0+25407+f18f08e0.3 | RHSA-2026:102713 |
| Red Hat Enterprise Linux | RHEL-8 | phpsrc | Advisory build | 7.4.33-4.module+el8.10.0+24352+91532d3e | RHSA-2026:34354 |
| Red Hat Enterprise Linux | RHEL-8 | phpsrc | Advisory build | 7.4.6-5.module+el8.4.0+25409+c1873b4e.4 | RHSA-2026:103276 |
| Red Hat Enterprise Linux | RHEL-8 | phpsrc | Advisory build | 8.2.31-1.module+el8.10.0+24323+abc2b0db | RHSA-2026:22305 |
| Red Hat Enterprise Linux | RHEL-8 | phpx86_64 | Advisory build | 7.4.19-4.module+el8.6.0+25408+6cada03c.4 | RHSA-2026:102823 |
| Red Hat Enterprise Linux | RHEL-8 | phpx86_64 | Advisory build | 7.4.33-1.module+el8.8.0+25407+f18f08e0.3 | RHSA-2026:102713 |
| Red Hat Enterprise Linux | RHEL-8 | phpx86_64 | Advisory build | 7.4.33-4.module+el8.10.0+24352+91532d3e | RHSA-2026:34354 |
| Red Hat Enterprise Linux | RHEL-8 | phpx86_64 | Advisory build | 7.4.6-5.module+el8.4.0+25409+c1873b4e.4 | RHSA-2026:103276 |
| Red Hat Enterprise Linux | RHEL-8 | phpx86_64 | Advisory build | 8.2.31-1.module+el8.10.0+24323+abc2b0db | RHSA-2026:22305 |
| Red Hat Enterprise Linux | RHEL-9 | phpaarch64 | Advisory build | 8.0.30-1.el9_2.3 | RHSA-2026:102847 |
| Red Hat Enterprise Linux | RHEL-9 | phpaarch64 | Advisory build | 8.0.30-1.el9_4.3 | RHSA-2026:102855 |
| Red Hat Enterprise Linux | RHEL-9 | phpaarch64 | Advisory build | 8.0.30-3.el9_6.3 | RHSA-2026:103495 |
| Red Hat Enterprise Linux | RHEL-9 | phpaarch64 | Advisory build | 8.0.30-6.el9_8 | RHSA-2026:33449 |
| Red Hat Enterprise Linux | RHEL-9 | phpaarch64 | Advisory build | 8.2.31-1.module+el9.8.0+24325+74f58d38 | RHSA-2026:22143 |
| Red Hat Enterprise Linux | RHEL-9 | phpaarch64 | Advisory build | 8.2.36-1.module+el9.4.0+25392+4784b66b | RHSA-2026:102695 |
| Red Hat Enterprise Linux | RHEL-9 | phpaarch64 | Advisory build | 8.2.36-1.module+el9.6.0+25402+2a3e4d3b.1 | RHSA-2026:102696 |
| Red Hat Enterprise Linux | RHEL-9 | phpaarch64 | Advisory build | 8.3.31-2.module+el9.8.0+24329+a775fb4e | RHSA-2026:22142 |
| Red Hat Enterprise Linux | RHEL-9 | phpaarch64 | Advisory build | 8.3.37-1.module+el9.6.0+25401+07615e0b.1 | RHSA-2026:102684 |
| Red Hat Enterprise Linux | RHEL-9 | phpppc64le | Advisory build | 8.0.30-1.el9_2.3 | RHSA-2026:102847 |
| Red Hat Enterprise Linux | RHEL-9 | phpppc64le | Advisory build | 8.0.30-1.el9_4.3 | RHSA-2026:102855 |
| Red Hat Enterprise Linux | RHEL-9 | phpppc64le | Advisory build | 8.0.30-3.el9_6.3 | RHSA-2026:103495 |
| Red Hat Enterprise Linux | RHEL-9 | phpppc64le | Advisory build | 8.0.30-6.el9_8 | RHSA-2026:33449 |
| Red Hat Enterprise Linux | RHEL-9 | phpppc64le | Advisory build | 8.2.31-1.module+el9.8.0+24325+74f58d38 | RHSA-2026:22143 |
| Red Hat Enterprise Linux | RHEL-9 | phpppc64le | Advisory build | 8.2.36-1.module+el9.4.0+25392+4784b66b | RHSA-2026:102695 |
| Red Hat Enterprise Linux | RHEL-9 | phpppc64le | Advisory build | 8.2.36-1.module+el9.6.0+25402+2a3e4d3b.1 | RHSA-2026:102696 |
| Red Hat Enterprise Linux | RHEL-9 | phpppc64le | Advisory build | 8.3.31-2.module+el9.8.0+24329+a775fb4e | RHSA-2026:22142 |
| Red Hat Enterprise Linux | RHEL-9 | phpppc64le | Advisory build | 8.3.37-1.module+el9.6.0+25401+07615e0b.1 | RHSA-2026:102684 |
| Red Hat Enterprise Linux | RHEL-9 | phps390x | Advisory build | 8.0.30-1.el9_2.3 | RHSA-2026:102847 |
| Red Hat Enterprise Linux | RHEL-9 | phps390x | Advisory build | 8.0.30-1.el9_4.3 | RHSA-2026:102855 |
| Red Hat Enterprise Linux | RHEL-9 | phps390x | Advisory build | 8.0.30-3.el9_6.3 | RHSA-2026:103495 |
| Red Hat Enterprise Linux | RHEL-9 | phps390x | Advisory build | 8.0.30-6.el9_8 | RHSA-2026:33449 |
| Red Hat Enterprise Linux | RHEL-9 | phps390x | Advisory build | 8.2.31-1.module+el9.8.0+24325+74f58d38 | RHSA-2026:22143 |
| Red Hat Enterprise Linux | RHEL-9 | phps390x | Advisory build | 8.2.36-1.module+el9.4.0+25392+4784b66b | RHSA-2026:102695 |
| Red Hat Enterprise Linux | RHEL-9 | phps390x | Advisory build | 8.2.36-1.module+el9.6.0+25402+2a3e4d3b.1 | RHSA-2026:102696 |
| Red Hat Enterprise Linux | RHEL-9 | phps390x | Advisory build | 8.3.31-2.module+el9.8.0+24329+a775fb4e | RHSA-2026:22142 |
| Red Hat Enterprise Linux | RHEL-9 | phps390x | Advisory build | 8.3.37-1.module+el9.6.0+25401+07615e0b.1 | RHSA-2026:102684 |
| Red Hat Enterprise Linux | RHEL-9 | phpsrc | Advisory build | 8.0.30-1.el9_2.3 | RHSA-2026:102847 |
| Red Hat Enterprise Linux | RHEL-9 | phpsrc | Advisory build | 8.0.30-1.el9_4.3 | RHSA-2026:102855 |
| Red Hat Enterprise Linux | RHEL-9 | phpsrc | Advisory build | 8.0.30-3.el9_6.3 | RHSA-2026:103495 |
| Red Hat Enterprise Linux | RHEL-9 | phpsrc | Advisory build | 8.0.30-6.el9_8 | RHSA-2026:33449 |
| Red Hat Enterprise Linux | RHEL-9 | phpsrc | Advisory build | 8.2.31-1.module+el9.8.0+24325+74f58d38 | RHSA-2026:22143 |
| Red Hat Enterprise Linux | RHEL-9 | phpsrc | Advisory build | 8.2.36-1.module+el9.4.0+25392+4784b66b | RHSA-2026:102695 |
| Red Hat Enterprise Linux | RHEL-9 | phpsrc | Advisory build | 8.2.36-1.module+el9.6.0+25402+2a3e4d3b.1 | RHSA-2026:102696 |
| Red Hat Enterprise Linux | RHEL-9 | phpsrc | Advisory build | 8.3.31-2.module+el9.8.0+24329+a775fb4e | RHSA-2026:22142 |
| Red Hat Enterprise Linux | RHEL-9 | phpsrc | Advisory build | 8.3.37-1.module+el9.6.0+25401+07615e0b.1 | RHSA-2026:102684 |
| Red Hat Enterprise Linux | RHEL-9 | phpx86_64 | Advisory build | 8.0.30-1.el9_2.3 | RHSA-2026:102847 |
| Red Hat Enterprise Linux | RHEL-9 | phpx86_64 | Advisory build | 8.0.30-1.el9_4.3 | RHSA-2026:102855 |
| Red Hat Enterprise Linux | RHEL-9 | phpx86_64 | Advisory build | 8.0.30-3.el9_6.3 | RHSA-2026:103495 |
| Red Hat Enterprise Linux | RHEL-9 | phpx86_64 | Advisory build | 8.0.30-6.el9_8 | RHSA-2026:33449 |
| Red Hat Enterprise Linux | RHEL-9 | phpx86_64 | Advisory build | 8.2.31-1.module+el9.8.0+24325+74f58d38 | RHSA-2026:22143 |
| Red Hat Enterprise Linux | RHEL-9 | phpx86_64 | Advisory build | 8.2.36-1.module+el9.4.0+25392+4784b66b | RHSA-2026:102695 |
| Red Hat Enterprise Linux | RHEL-9 | phpx86_64 | Advisory build | 8.2.36-1.module+el9.6.0+25402+2a3e4d3b.1 | RHSA-2026:102696 |
| Red Hat Enterprise Linux | RHEL-9 | phpx86_64 | Advisory build | 8.3.31-2.module+el9.8.0+24329+a775fb4e | RHSA-2026:22142 |
| Red Hat Enterprise Linux | RHEL-9 | phpx86_64 | Advisory build | 8.3.37-1.module+el9.6.0+25401+07615e0b.1 | RHSA-2026:102684 |
| AlmaLinux | 10 | php-bcmath | Advisory build | 8.3.31-1.el10_2 | ALSA-2026:23388 |
| AlmaLinux | 10 | php-cli | Advisory build | 8.3.31-1.el10_2 | ALSA-2026:23388 |
| AlmaLinux | 10 | php-common | Advisory build | 8.3.31-1.el10_2 | ALSA-2026:23388 |
| AlmaLinux | 10 | php-dba | Advisory build | 8.3.31-1.el10_2 | ALSA-2026:23388 |
| AlmaLinux | 10 | php-dbg | Advisory build | 8.3.31-1.el10_2 | ALSA-2026:23388 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
A flaw was found in PHP's SOAP extension. This vulnerability allows a remote attacker to execute arbitrary code on the affected system. The issue stems from a use-after-free error in the object deduplication mechanism, which can be triggered by sending a specially crafted SOAP request. This allows an attacker to manipulate memory and achieve remote code execution.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 9.5 / 10
- Severity
- critical
- Provider
- php · cna
- Vector string
- CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/AU:Y/RE:M/U:Red
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.7 | high | redhat-SADP · adp | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| PHP Group | PHP | 8.2.* to < 8.2.31 (affected · semver)8.3.* to < 8.3.31 (affected · semver)8.4.* to < 8.4.21 (affected · semver)8.5.* to < 8.5.6 (affected · semver)Default: affected | php · cna |
| Red Hat | Red Hat Enterprise Linux 10 | 0:8.4.21-1.el10_2 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Enterprise Linux 10 | 0:8.3.31-1.el10_2 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Enterprise Linux 8 | 8100020260521052503.f7998665 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Enterprise Linux 8 | 8100020260604072603.f7998665 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Enterprise Linux 9 | 9080020260521113736.9 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Enterprise Linux 9 | 9080020260521080715.9 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Enterprise Linux 9 | 0:8.0.30-6.el9_8 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Enterprise Linux 6 | Default: unknown | redhat-SADP · adp |
| Red Hat | Red Hat Enterprise Linux 7 | Default: affected | redhat-SADP · adp |
Weaknesses
2- CWE-416 CWE-416 Use After Free
- CWE-825 Expired Pointer Dereference
References
11- https://access.redhat.com/errata/RHSA-2026:22142
- https://access.redhat.com/errata/RHSA-2026:22143
- https://access.redhat.com/errata/RHSA-2026:22305
- https://access.redhat.com/errata/RHSA-2026:22649
- https://access.redhat.com/errata/RHSA-2026:23388
- https://access.redhat.com/errata/RHSA-2026:33449
- https://access.redhat.com/errata/RHSA-2026:34354
- https://access.redhat.com/security/cve/CVE-2026-6722
- RHBZ#2468560 https://bugzilla.redhat.com/show_bug.cgi?id=2468560
- https://github.com/php/php-src/security/advisories/GHSA-85c2-q967-79q5
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-6722.json
Provider assertions
3php · cna
Use-After-Free in SOAP using Apache map
redhat-SADP · adp
php: php-soap: php-src: PHP SOAP extension: Remote Code Execution via use-after-free vulnerability
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 9a6c98e673ff6bdefa607edff9d34412e4162a1696d963ffaff5e85997014a6f
- Ingested
- 23 Sep 2026, 09:28:47 UTC
- Source record
- Official CVE record