Vulnerability
CVE-2026-6722
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.
46 advisories report this vulnerability, across 15 ecosystems.
Advisories
-
ALAS2-2026-3316
Amazon Linux 2 2017.12 - ALAS2-2026-3316: important priority package update for php
-
ALAS2023-2026-1726
Amazon Linux 2023 - ALAS2023-2026-1726: Important priority package update for php8.4
-
ALAS2023-2026-1727
Amazon Linux 2023 - ALAS2023-2026-1727: Important priority package update for php8.2
-
ALAS2023-2026-1728
Amazon Linux 2023 - ALAS2023-2026-1728: Important priority package update for php8.3
-
ALAS2023-2026-1733
Amazon Linux 2023 - ALAS2023-2026-1733: Important priority package update for php8.5
-
ALPINE-CVE-2026-6722
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…
- ALPINE-EDGE-CVE-2026-6722
-
ALSA-2026:22142
Important: php:8.3 security update
-
ALSA-2026:22143
Important: php:8.2 security update
-
ALSA-2026:22305
Important: php:8.2 security update
-
ALSA-2026:22649
Important: php8.4 security update
-
ALSA-2026:23388
Important: php security update
-
ALSA-2026:33449
Important: php security update
-
ALSA-2026:34354
Important: php:7.4 security update
-
AZL-86349
CVE-2026-6722 affecting package php for versions less than 8.3.31-1
- CGA-8j28-5c6v-jrhw
- CGA-vprr-7vjc-w2pj
-
CNA-CVE-2026-6722
Use-After-Free in SOAP using Apache map
-
DEBIAN-CVE-2026-6722
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…
-
DLA-4586-1
php7.4 - security update
-
DSA-6255-1
php8.2 - security update
-
DSA-6256-1
php8.4 - security update
-
ELSA-2026-33449
ELSA-2026-33449: php security update (IMPORTANT)
-
ELSA-2026-34354
ELSA-2026-34354: php:7.4 security update (IMPORTANT)
-
OESA-2026-2340
php security update
-
OESA-2026-2341
php security update
-
OESA-2026-2342
php security update
-
OESA-2026-2343
php security update
-
OESA-2026-2344
php security update
-
RHSA-2026:101337
Red Hat Security Advisory: php security update
-
RHSA-2026:22142
Red Hat Security Advisory: php:8.3 security update
-
RHSA-2026:22143
Red Hat Security Advisory: php:8.2 security update
-
RHSA-2026:22305
Red Hat Security Advisory: php:8.2 security update
-
RHSA-2026:22649
Red Hat Security Advisory: php8.4 security update
-
RHSA-2026:23388
Red Hat Security Advisory: php security update
-
RHSA-2026:33449
Red Hat Security Advisory: php security update
-
RHSA-2026:34354
Red Hat Security Advisory: php:7.4 security update
-
RHSA-2026:47200
Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update
-
RHVEX-CVE-2026-6722
php: PHP SOAP extension: Remote Code Execution via use-after-free vulnerability
-
RLSA-2026:33449
Important: php security update
-
RLSA-2026:34354
Important: php:7.4 security update
-
SUSEVEX-CVE-2026-6722
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…
-
UBUNTU-CVE-2026-6722
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…
-
USN-8336-1
php8.1, php8.3, php8.4, php8.5 vulnerabilities
-
USN-8513-1
php7.0 vulnerabilities
-
openSUSE-SU-2026:10747-1
php8-8.5.6-1.1 on GA media
References
- https://github.com/php/php-src/security/advisories/GHSA-85c2-q967-79q5
- 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
- https://bugzilla.redhat.com/show_bug.cgi?id=2468560
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-6722.json