CVE-2026-6722: Use-After-Free in SOAP using Apache map
Noroxi assessment
Priority: Monitor (action score 38/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.89% (FIRST EPSS); higher than 59.4% of all records.
- Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. Special conditions such as timing or configuration are required.
- Fixed version: PHP Group PHP 8.2.31, 8.3.31, 8.4.21.
- Mentioned 1 time in Turkish national cyber security advisories (siberguvenlik.gov.tr).
Low priority for now. Upgrade to PHP Group PHP 8.2.31, 8.3.31, 8.4.21 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- Published
- May 10, 2026
- Updated
- Jul 24, 2026
- EPSS
- 0.8% · 59th percentile
- CWE
- CWE-416
Report tools
Action score
38
Monitor
Low priority for now.
- CVSS
- 38 / 40 · 9.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.8%
CISA SSVC decision
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- —
- CNA · php
- 9.5
- NVD has not scored this yet; the score shown is the CNA’s.
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
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Running WordPress? Scan your site free with WP Lens
Noroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| php | php | cpe:2.3:a:php:php |
Using php? Add it to your stack and be the first to know about CVEs like this one. (PHP)
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- php php8.2.0 and later · before 8.2.31
- php php8.3.0 and later · before 8.3.31
- php php8.4.0 and later · before 8.4.21
- php php8.5.0 and later · before 8.5.6
Versions reported by the vendor
Affected version ranges reported by the assigning authority (php). Independent of NVD's CPE analysis and usually ahead of it.
PHP Group PHP
- 8.2.* and later · before 8.2.31affected · semver
- 8.3.* and later · before 8.3.31affected · semver
- 8.4.* and later · before 8.4.21affected · semver
- 8.5.* and later · before 8.5.6affected · semver
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| AlmaLinux:8 | apcu-panel | before 5.1.18-1.module_el8.6.0+2750+78feabcb | 5.1.18-1.module_el8.6.0+2750+78feabcb |
| AlmaLinux:8 | libzip | before 1.6.1-1.module_el8.10.0+3935+28808425 | 1.6.1-1.module_el8.10.0+3935+28808425 |
| AlmaLinux:8 | libzip | before 1.6.1-1.module_el8.6.0+3239+bedf0508 | 1.6.1-1.module_el8.6.0+3239+bedf0508 |
| AlmaLinux:8 | libzip | before 1.6.1-1.module_el8.6.0+2750+78feabcb | 1.6.1-1.module_el8.6.0+2750+78feabcb |
| AlmaLinux:8 | libzip-devel | before 1.6.1-1.module_el8.10.0+3935+28808425 | 1.6.1-1.module_el8.10.0+3935+28808425 |
| AlmaLinux:8 | libzip-devel | before 1.6.1-1.module_el8.6.0+3239+bedf0508 | 1.6.1-1.module_el8.6.0+3239+bedf0508 |
| AlmaLinux:8 | libzip-tools | before 1.6.1-1.module_el8.10.0+3935+28808425 | 1.6.1-1.module_el8.10.0+3935+28808425 |
| AlmaLinux:8 | libzip-tools | before 1.6.1-1.module_el8.6.0+3239+bedf0508 | 1.6.1-1.module_el8.6.0+3239+bedf0508 |
| AlmaLinux:8 | libzip-tools | before 1.6.1-1.module_el8.6.0+2750+78feabcb | 1.6.1-1.module_el8.6.0+2750+78feabcb |
| AlmaLinux:8 | php | before 7.4.33-4.module_el8.10.0+4209+2ed16ff0 | 7.4.33-4.module_el8.10.0+4209+2ed16ff0 |
| AlmaLinux:8 | php-bcmath | before 7.4.33-4.module_el8.10.0+4209+2ed16ff0 | 7.4.33-4.module_el8.10.0+4209+2ed16ff0 |
| AlmaLinux:8 | php-cli | before 7.4.33-4.module_el8.10.0+4209+2ed16ff0 | 7.4.33-4.module_el8.10.0+4209+2ed16ff0 |
| AlmaLinux:8 | php-common | before 7.4.33-4.module_el8.10.0+4209+2ed16ff0 | 7.4.33-4.module_el8.10.0+4209+2ed16ff0 |
| AlmaLinux:8 | php-dba | before 7.4.33-4.module_el8.10.0+4209+2ed16ff0 | 7.4.33-4.module_el8.10.0+4209+2ed16ff0 |
| AlmaLinux:8 | php-dbg | before 7.4.33-4.module_el8.10.0+4209+2ed16ff0 | 7.4.33-4.module_el8.10.0+4209+2ed16ff0 |
| AlmaLinux:8 | php-devel | before 7.4.33-4.module_el8.10.0+4209+2ed16ff0 | 7.4.33-4.module_el8.10.0+4209+2ed16ff0 |
| AlmaLinux:8 | php-embedded | before 7.4.33-4.module_el8.10.0+4209+2ed16ff0 | 7.4.33-4.module_el8.10.0+4209+2ed16ff0 |
| AlmaLinux:8 | php-enchant | before 7.4.33-4.module_el8.10.0+4209+2ed16ff0 | 7.4.33-4.module_el8.10.0+4209+2ed16ff0 |
| AlmaLinux:8 | php-ffi | before 7.4.33-4.module_el8.10.0+4209+2ed16ff0 | 7.4.33-4.module_el8.10.0+4209+2ed16ff0 |
| AlmaLinux:8 | php-fpm | before 7.4.33-4.module_el8.10.0+4209+2ed16ff0 | 7.4.33-4.module_el8.10.0+4209+2ed16ff0 |
| AlmaLinux:8 | php-gd | before 7.4.33-4.module_el8.10.0+4209+2ed16ff0 | 7.4.33-4.module_el8.10.0+4209+2ed16ff0 |
| AlmaLinux:8 | php-gmp | before 7.4.33-4.module_el8.10.0+4209+2ed16ff0 | 7.4.33-4.module_el8.10.0+4209+2ed16ff0 |
| AlmaLinux:8 | php-intl | before 7.4.33-4.module_el8.10.0+4209+2ed16ff0 | 7.4.33-4.module_el8.10.0+4209+2ed16ff0 |
| AlmaLinux:8 | php-json | before 7.4.33-4.module_el8.10.0+4209+2ed16ff0 | 7.4.33-4.module_el8.10.0+4209+2ed16ff0 |
+96
Same product
php: all recordsOther highest-scoring records for the same primary product.
- CVE-2024-4577Argument Injection in PHP-CGIKEV99Now
- CVE-2019-11043Underflow in PHP-FPM can lead to RCEKEV99Now
- CVE-2012-1823sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not properly handle queKEV99Now
Published before and after this one in the same product
- ← EarlierCVE-2025-14180Dec 27, 2025 · NULL Pointer Dereference in PDO quoting32Monitor
- ← EarlierCVE-2025-14179May 10, 2026 · SQL injection in pdo_firebird via NUL bytes in quoted strings29Monitor
- Later →CVE-2026-6735May 10, 2026 · XSS within PHP-FPM status endpoint29Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| PHP Group PHP | 8.2.31 | Vendor (CNA) |
| PHP Group PHP | 8.3.31 | Vendor (CNA) |
| PHP Group PHP | 8.4.21 | Vendor (CNA) |
| PHP Group PHP | 8.5.6 | Vendor (CNA) |
| almalinux:php | 8.0.30-6.el9_8 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:php-bcmath | 8.0.30-6.el9_8 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:php-cli | 8.0.30-6.el9_8 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:php-common | 8.0.30-6.el9_8 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:php-dba | 8.0.30-6.el9_8 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:php-dbg | 8.0.30-6.el9_8 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:php-devel | 8.0.30-6.el9_8 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:php-embedded | 8.0.30-6.el9_8 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:php-enchant | 8.0.30-6.el9_8 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:php-ffi | 8.0.30-6.el9_8 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:php-fpm | 8.0.30-6.el9_8 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:php-gd | 8.0.30-6.el9_8 · AlmaLinux:9 | Package registry (OSV) |
| debian:php8.2 | 8.2.31-1~deb12u1 · Debian:12 | Package registry (OSV) |
| debian:php8.4 | 8.4.21-1~deb13u1 · Debian:13 | Package registry (OSV) |
| opensuse:php8 | 8.5.6-1.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| red hat:apcu-panel | 0:5.1.23-1.module+el9.6.0+22647+1741ae35 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:php | 0:8.3.31-2.module+el9.8.0+24329+a775fb4e · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:php-bcmath | 0:8.3.31-2.module+el9.8.0+24329+a775fb4e · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:php-bcmath-debuginfo | 0:8.3.31-2.module+el9.8.0+24329+a775fb4e · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:php-cli | 0:8.3.31-2.module+el9.8.0+24329+a775fb4e · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:php-cli-debuginfo | 0:8.3.31-2.module+el9.8.0+24329+a775fb4e · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:php-common | 0:8.3.31-2.module+el9.8.0+24329+a775fb4e · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:php-common-debuginfo | 0:8.3.31-2.module+el9.8.0+24329+a775fb4e · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:php-dba | 0:8.3.31-2.module+el9.8.0+24329+a775fb4e · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:php-dba-debuginfo | 0:8.3.31-2.module+el9.8.0+24329+a775fb4e · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:php-dbg | 0:8.3.31-2.module+el9.8.0+24329+a775fb4e · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
+8
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
No history yet (it accumulates with the daily EPSS job).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
- brettgervasonireporter
- Ilija Toviloremediation developer
- Nora Dosscheremediation reviewer
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
- CVE-2026-109618164 days apartRCE via OOM corruptionKEV96Now
- CVE-2026-109619164 days apartRCE via stale global stateKEV96Now
- CVE-2024-11235401 days apartReference counting in php_request_shutdown causes Use-After-Free36Monitor
- CVE-2026-72610 days apartSoapServer session-persisted object use-after-free via SOAP header fault25Monitor
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
National notice (Türkiye Cybersecurity Directorate / USOM)
Official security notices citing this record; remediation advice is on the agency's page.
- TR-26-0217 · May 12, 2026(Apache Çoklu Ürün Güvenlik Bildirimi)
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- Special conditions such as timing or configuration are required.
If successful
- Confidentiality
- Integrity
- Availability
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- None
- Scope
- X
Weakness class (CWE)
CWE-416 · Use After FreeCVSS vector
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:Y/R:X/V:X/RE:M/U:Red
nvd-secondary
Root cause
After a memory region is freed, another reference pointing to it is still used. By then, the same region may have been allocated for different data.
The bug in code
The whole CWE-416 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
free(dev->buf);
/* ... another thread is still running ... */
process(dev->buf);Fixed
lock(&dev->lock);
free(dev->buf);
dev->buf = NULL;
unlock(&dev->lock);Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (10 more)Show less
- access.redhat.com/errata/RHSA-2026:22142
- access.redhat.com/errata/RHSA-2026:22143
- access.redhat.com/errata/RHSA-2026:22305
- access.redhat.com/errata/RHSA-2026:22649
- access.redhat.com/errata/RHSA-2026:23388
- access.redhat.com/errata/RHSA-2026:33449
- access.redhat.com/errata/RHSA-2026:34354
- access.redhat.com/security/cve/CVE-2026-6722
- bugzilla.redhat.com/show_bug.cgi?id=2468560
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-6722.json
Vendor advisories and official records. Exploit/PoC links are deliberately left out.