CVE-2026-6722
CVE-2026-6722 is a critical-severity vulnerability in Php with a CVSS 3.x base score of 9.8. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-416.
Key facts
- Severity: Critical (CVSS 3.x base score 9.8)
- CVSS v4: 9.5
- EPSS exploit prediction: 1% (50th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2026-28966
- Weakness: CWE-416
- Affected product: Php
- Published:
- Last modified:
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.
Frequently asked questions
- What is 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.
- How severe is CVE-2026-6722?
- CVE-2026-6722 has a CVSS 3.x base score of 9.8, rated critical severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2026-6722 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (50th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2026-6722?
- CVE-2026-6722 affects Php. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2026-6722?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its critical severity, prioritise patching exposed systems.
- Does CVE-2026-6722 have an EU (EUVD) identifier?
- Yes. CVE-2026-6722 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2026-28966.
- When was CVE-2026-6722 published?
- CVE-2026-6722 was published on 2026-05-10 and last updated on 2026-07-02.
References
- https://github.com/php/php-src/security/advisories/GHSA-85c2-q967-79q5
- 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
Affected products (1)
- cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
More vulnerabilities in Php
- CVE-2015-0235 — Critical (CVSS 10.0): Heap-based buffer overflow in the __nss_hostname_digits_dots function in glibc 2.2, and other 2.x versions before 2.18,…
- CVE-2012-2688 — Critical (CVSS 10.0): Unspecified vulnerability in the _php_stream_scandir function in the stream implementation in PHP before 5.3.15 and…
- CVE-2012-2376 — Critical (CVSS 10.0): Buffer overflow in the com_print_typeinfo function in PHP 5.4.3 and earlier on Windows allows remote attackers to…
- CVE-2011-3268 — Critical (CVSS 10.0): Buffer overflow in the crypt function in PHP before 5.3.7 allows context-dependent attackers to have an unspecified…
- CVE-2009-4143 — Critical (CVSS 10.0): PHP before 5.2.12 does not properly handle session data, which has unspecified impact and attack vectors related to (1)…
- CVE-2008-5557 — Critical (CVSS 10.0): Heap-based buffer overflow in ext/mbstring/libmbfl/filters/mbfilter_htmlent.c in the mbstring extension in PHP 4.3.0…
Other CWE-416 (Use After Free) vulnerabilities
- CVE-2026-13782 — Critical (CVSS 10.0): Use after free in Browser in Google Chrome prior to 150.0.7871.47 allowed a remote attacker who had compromised the…
- CVE-2026-4725 — Critical (CVSS 10.0): Sandbox escape due to use-after-free in the Graphics: Canvas2D component. This vulnerability was fixed in Firefox 149…
- CVE-2026-4688 — Critical (CVSS 10.0): Sandbox escape due to use-after-free in the Disability Access APIs component. This vulnerability was fixed in Firefox…
- CVE-2025-24085 — Critical (CVSS 10.0): A use after free issue was addressed with improved memory management. This issue is fixed in iOS 18.3 and iPadOS 18.3,…
- CVE-2024-43102 — Critical (CVSS 10.0): Concurrent removals of certain anonymous shared memory mappings by using the UMTX_SHM_DESTROY sub-request of…
- CVE-2021-32495 — Critical (CVSS 10.0): Radare2 has a use-after-free vulnerability in pyc parser's get_none_object function. Attacker can read freed memory…
Browse all CWE-416 (Use After Free) vulnerabilities →
Threat intelligence
Threat-intel indicators referencing this CVE:
- 117.53.44.117 (ipv4-addr)
- 41.205.23.59 (ipv4-addr)
- 192.3.134.24 (ipv4-addr)
- 95.169.191.176 (ipv4-addr)
- 69.57.172.96 (ipv4-addr)
- 45.61.173.86 (ipv4-addr)
- 82.39.35.211 (ipv4-addr)
- 39.164.91.67 (ipv4-addr)