CVE & CISA-KEV Catalog

CVE-2026-6722

CRITICAL
9.8
CVSS v3
NVD

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.

How to fix

Remediation Available
phpAmazon
Fixed in:0:5.4.16-46.amzn2.0.7
Fixed in:0:5.4.16-46.amzn2.0.7
Fixed in:0:5.4.16-46.amzn2.0.7
php-bcmathAmazon
Fixed in:0:5.4.16-46.amzn2.0.7
Fixed in:0:5.4.16-46.amzn2.0.7
Fixed in:0:5.4.16-46.amzn2.0.7
php-cliAmazon
Fixed in:0:5.4.16-46.amzn2.0.7
Fixed in:0:5.4.16-46.amzn2.0.7
Fixed in:0:5.4.16-46.amzn2.0.7
php-commonAmazon
Fixed in:0:5.4.16-46.amzn2.0.7
Fixed in:0:5.4.16-46.amzn2.0.7
Fixed in:0:5.4.16-46.amzn2.0.7
php-dbaAmazon
Fixed in:0:5.4.16-46.amzn2.0.7
Fixed in:0:5.4.16-46.amzn2.0.7
Fixed in:0:5.4.16-46.amzn2.0.7
php-debuginfoAmazon
Fixed in:0:5.4.16-46.amzn2.0.7
Fixed in:0:5.4.16-46.amzn2.0.7
Fixed in:0:5.4.16-46.amzn2.0.7
php-develAmazon
Fixed in:0:5.4.16-46.amzn2.0.7
Fixed in:0:5.4.16-46.amzn2.0.7
Fixed in:0:5.4.16-46.amzn2.0.7
php-embeddedAmazon
Fixed in:0:5.4.16-46.amzn2.0.7
Fixed in:0:5.4.16-46.amzn2.0.7
Fixed in:0:5.4.16-46.amzn2.0.7
php-enchantAmazon
Fixed in:0:5.4.16-46.amzn2.0.7
Fixed in:0:5.4.16-46.amzn2.0.7
Fixed in:0:5.4.16-46.amzn2.0.7
php-fpmAmazon
Fixed in:0:5.4.16-46.amzn2.0.7
Fixed in:0:5.4.16-46.amzn2.0.7
Fixed in:0:5.4.16-46.amzn2.0.7
php-gdAmazon
Fixed in:0:5.4.16-46.amzn2.0.7
Fixed in:0:5.4.16-46.amzn2.0.7
Fixed in:0:5.4.16-46.amzn2.0.7
php-intlAmazon
Fixed in:0:5.4.16-46.amzn2.0.7
Fixed in:0:5.4.16-46.amzn2.0.7
Fixed in:0:5.4.16-46.amzn2.0.7
php-ldapAmazon
Fixed in:0:5.4.16-46.amzn2.0.7
Fixed in:0:5.4.16-46.amzn2.0.7
Fixed in:0:5.4.16-46.amzn2.0.7
php-mbstringAmazon
Fixed in:0:5.4.16-46.amzn2.0.7
Fixed in:0:5.4.16-46.amzn2.0.7
Fixed in:0:5.4.16-46.amzn2.0.7
php-mysqlndAmazon
Fixed in:0:5.4.16-46.amzn2.0.7
Fixed in:0:5.4.16-46.amzn2.0.7
Fixed in:0:5.4.16-46.amzn2.0.7
php-odbcAmazon
Fixed in:0:5.4.16-46.amzn2.0.7
Fixed in:0:5.4.16-46.amzn2.0.7
Fixed in:0:5.4.16-46.amzn2.0.7
php-pdoAmazon
Fixed in:0:5.4.16-46.amzn2.0.7
Fixed in:0:5.4.16-46.amzn2.0.7
Fixed in:0:5.4.16-46.amzn2.0.7
php-pgsqlAmazon
Fixed in:0:5.4.16-46.amzn2.0.7
Fixed in:0:5.4.16-46.amzn2.0.7
Fixed in:0:5.4.16-46.amzn2.0.7
php-processAmazon
Fixed in:0:5.4.16-46.amzn2.0.7
Fixed in:0:5.4.16-46.amzn2.0.7
Fixed in:0:5.4.16-46.amzn2.0.7
php-pspellAmazon
Fixed in:0:5.4.16-46.amzn2.0.7
Fixed in:0:5.4.16-46.amzn2.0.7
Fixed in:0:5.4.16-46.amzn2.0.7
php-recodeAmazon
Fixed in:0:5.4.16-46.amzn2.0.7
Fixed in:0:5.4.16-46.amzn2.0.7
Fixed in:0:5.4.16-46.amzn2.0.7
php-snmpAmazon
Fixed in:0:5.4.16-46.amzn2.0.7
Fixed in:0:5.4.16-46.amzn2.0.7
Fixed in:0:5.4.16-46.amzn2.0.7
php-soapAmazon
Fixed in:0:5.4.16-46.amzn2.0.7
Fixed in:0:5.4.16-46.amzn2.0.7
Fixed in:0:5.4.16-46.amzn2.0.7
php-xmlAmazon
Fixed in:0:5.4.16-46.amzn2.0.7
Fixed in:0:5.4.16-46.amzn2.0.7
Fixed in:0:5.4.16-46.amzn2.0.7
php-xmlrpcAmazon
Fixed in:0:5.4.16-46.amzn2.0.7
Fixed in:0:5.4.16-46.amzn2.0.7
Fixed in:0:5.4.16-46.amzn2.0.7
php8.2Amazon
Fixed in:0:8.2.31-1.amzn2023.0.1
Fixed in:0:8.2.31-1.amzn2023.0.1
php8.2-bcmathAmazon
Fixed in:0:8.2.31-1.amzn2023.0.1
Fixed in:0:8.2.31-1.amzn2023.0.1
php8.2-bcmath-debuginfoAmazon
Fixed in:0:8.2.31-1.amzn2023.0.1
Fixed in:0:8.2.31-1.amzn2023.0.1
php8.2-cliAmazon
Fixed in:0:8.2.31-1.amzn2023.0.1
Fixed in:0:8.2.31-1.amzn2023.0.1
php8.2-cli-debuginfoAmazon
Fixed in:0:8.2.31-1.amzn2023.0.1
Fixed in:0:8.2.31-1.amzn2023.0.1

This vulnerability affects an unusually large number of packages. The highest-confidence fixes are shown above; the full list is longer. Check the referenced advisories for complete coverage.

TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Exploit Intelligence

0.89%probability of exploitation in 30 days
58thpercentile

Moderate risk: more likely to be exploited than 58% of all known CVEs.

References

Related Vulnerabilities

Other CWE-416 (Use After Free) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2019-0708Critical9.8100%KEV + Ransom-
CVE-2021-31166Critical9.8100%KEVFix
CVE-2015-5119Critical9.899%KEV-
CVE-2010-3962High8.197%KEV-
CVE-2021-34833High7.896%--
CVE-2015-0313Critical9.895%KEVFix

Common questions

How do I fix CVE-2026-6722?

Published advisories record a fix for 414 affected products. The "How to fix" section on this page lists the fixed version and source advisory for each one, so apply the entry matching what you actually run.

Is CVE-2026-6722 being actively exploited?

Not that we know of. CVE-2026-6722 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 0.89% is the estimated probability that it will be exploited in the next 30 days. That is higher than 58% of all scored CVEs.

How severe is CVE-2026-6722?

CVE-2026-6722 has a CVSS v3 base score of 9.8, rated critical. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.

What does CVE-2026-6722 affect?

Published advisories record a fix for php (Amazon), php-bcmath (Amazon), php-cli (Amazon), php-common (Amazon), and 410 more. Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.

Embed a live status badge for CVE-2026-6722
CVE-2026-6722 severity badge

Markdown

[![CVE-2026-6722](https://tridentstack.com/cve/badge/CVE-2026-6722.svg)](https://tridentstack.com/cve/CVE-2026-6722)

HTML

<a href="https://tridentstack.com/cve/CVE-2026-6722"><img src="https://tridentstack.com/cve/badge/CVE-2026-6722.svg" alt="CVE-2026-6722"></a>

Check your Linux endpoints for this class of vulnerability

TridentStack Control continuously scans Linux endpoints for known vulnerabilities and deploys the fixes from the same console. 200 endpoints free forever, no credit card.

Patch your fleet freeStart freeThis CVE lookup is free and always will be.

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-07-24.