Skip to content
Noroxi
NVD / CVE Program· CNA php

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.

CriticalCVSS 9.5 · v4.0—No exploit Fix available
Published
May 10, 2026
Updated
Jul 24, 2026
EPSS
0.8% · 59th percentile

Report tools

JSON

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.

Follow CVE-2026-6722

When you'll hear from us

  • when it enters CISA KEV
  • when exploit code appears or is weaponized
  • when the record is updated (including a fixed version)
  • when EPSS rises 20 points in a week

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits instantly.

Your free account also gets you

Running WordPress? Scan your site free with WP Lens

  • Stack alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools

Sign up with email · Have an account? Sign in

Free account, no card. Unfollow any time.

Running WordPress? Scan your site free with WP Lens

Is your version affected? Check it

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 help

Affected 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.

VendorProduct
phpphp

Using php? Add it to your stack and be the first to know about CVEs like this one. (PHP)

Watch new CVEs for php

When you'll hear from us

  • when a new CVE affecting this product is published
  • when a record in your stack enters KEV or gets exploit code

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits instantly.

Your free account also gets you

Running WordPress? Scan your site free with WP Lens

  • Stack alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools

Sign up with email · Have an account? Sign in

Free account, no card. Unfollow any time.

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.

EcosystemPackageAffected rangeFix
AlmaLinux:8apcu-panelbefore 5.1.18-1.module_el8.6.0+2750+78feabcb5.1.18-1.module_el8.6.0+2750+78feabcb
AlmaLinux:8libzipbefore 1.6.1-1.module_el8.10.0+3935+288084251.6.1-1.module_el8.10.0+3935+28808425
AlmaLinux:8libzipbefore 1.6.1-1.module_el8.6.0+3239+bedf05081.6.1-1.module_el8.6.0+3239+bedf0508
AlmaLinux:8libzipbefore 1.6.1-1.module_el8.6.0+2750+78feabcb1.6.1-1.module_el8.6.0+2750+78feabcb
AlmaLinux:8libzip-develbefore 1.6.1-1.module_el8.10.0+3935+288084251.6.1-1.module_el8.10.0+3935+28808425
AlmaLinux:8libzip-develbefore 1.6.1-1.module_el8.6.0+3239+bedf05081.6.1-1.module_el8.6.0+3239+bedf0508
AlmaLinux:8libzip-toolsbefore 1.6.1-1.module_el8.10.0+3935+288084251.6.1-1.module_el8.10.0+3935+28808425
AlmaLinux:8libzip-toolsbefore 1.6.1-1.module_el8.6.0+3239+bedf05081.6.1-1.module_el8.6.0+3239+bedf0508
AlmaLinux:8libzip-toolsbefore 1.6.1-1.module_el8.6.0+2750+78feabcb1.6.1-1.module_el8.6.0+2750+78feabcb
AlmaLinux:8phpbefore 7.4.33-4.module_el8.10.0+4209+2ed16ff07.4.33-4.module_el8.10.0+4209+2ed16ff0
AlmaLinux:8php-bcmathbefore 7.4.33-4.module_el8.10.0+4209+2ed16ff07.4.33-4.module_el8.10.0+4209+2ed16ff0
AlmaLinux:8php-clibefore 7.4.33-4.module_el8.10.0+4209+2ed16ff07.4.33-4.module_el8.10.0+4209+2ed16ff0
AlmaLinux:8php-commonbefore 7.4.33-4.module_el8.10.0+4209+2ed16ff07.4.33-4.module_el8.10.0+4209+2ed16ff0
AlmaLinux:8php-dbabefore 7.4.33-4.module_el8.10.0+4209+2ed16ff07.4.33-4.module_el8.10.0+4209+2ed16ff0
AlmaLinux:8php-dbgbefore 7.4.33-4.module_el8.10.0+4209+2ed16ff07.4.33-4.module_el8.10.0+4209+2ed16ff0
AlmaLinux:8php-develbefore 7.4.33-4.module_el8.10.0+4209+2ed16ff07.4.33-4.module_el8.10.0+4209+2ed16ff0
AlmaLinux:8php-embeddedbefore 7.4.33-4.module_el8.10.0+4209+2ed16ff07.4.33-4.module_el8.10.0+4209+2ed16ff0
AlmaLinux:8php-enchantbefore 7.4.33-4.module_el8.10.0+4209+2ed16ff07.4.33-4.module_el8.10.0+4209+2ed16ff0
AlmaLinux:8php-ffibefore 7.4.33-4.module_el8.10.0+4209+2ed16ff07.4.33-4.module_el8.10.0+4209+2ed16ff0
AlmaLinux:8php-fpmbefore 7.4.33-4.module_el8.10.0+4209+2ed16ff07.4.33-4.module_el8.10.0+4209+2ed16ff0
AlmaLinux:8php-gdbefore 7.4.33-4.module_el8.10.0+4209+2ed16ff07.4.33-4.module_el8.10.0+4209+2ed16ff0
AlmaLinux:8php-gmpbefore 7.4.33-4.module_el8.10.0+4209+2ed16ff07.4.33-4.module_el8.10.0+4209+2ed16ff0
AlmaLinux:8php-intlbefore 7.4.33-4.module_el8.10.0+4209+2ed16ff07.4.33-4.module_el8.10.0+4209+2ed16ff0
AlmaLinux:8php-jsonbefore 7.4.33-4.module_el8.10.0+4209+2ed16ff07.4.33-4.module_el8.10.0+4209+2ed16ff0

+96

Same product

php: all records

Other highest-scoring records for the same primary product.

  • CVE-2024-4577Argument Injection in PHP-CGIKEV
    99Now
  • CVE-2019-11043Underflow in PHP-FPM can lead to RCEKEV
    99Now
  • 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 queKEV
    99Now

Published before and after this one in the same product

  • ← EarlierCVE-2025-14180Dec 27, 2025 · NULL Pointer Dereference in PDO quoting
    32Monitor
  • ← EarlierCVE-2025-14179May 10, 2026 · SQL injection in pdo_firebird via NUL bytes in quoted strings
    29Monitor
  • Later →CVE-2026-6735May 10, 2026 · XSS within PHP-FPM status endpoint
    29Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
PHP Group PHP8.2.31Vendor (CNA)
PHP Group PHP8.3.31Vendor (CNA)
PHP Group PHP8.4.21Vendor (CNA)
PHP Group PHP8.5.6Vendor (CNA)
almalinux:php8.0.30-6.el9_8 · AlmaLinux:9Package registry (OSV)
almalinux:php-bcmath8.0.30-6.el9_8 · AlmaLinux:9Package registry (OSV)
almalinux:php-cli8.0.30-6.el9_8 · AlmaLinux:9Package registry (OSV)
almalinux:php-common8.0.30-6.el9_8 · AlmaLinux:9Package registry (OSV)
almalinux:php-dba8.0.30-6.el9_8 · AlmaLinux:9Package registry (OSV)
almalinux:php-dbg8.0.30-6.el9_8 · AlmaLinux:9Package registry (OSV)
almalinux:php-devel8.0.30-6.el9_8 · AlmaLinux:9Package registry (OSV)
almalinux:php-embedded8.0.30-6.el9_8 · AlmaLinux:9Package registry (OSV)
almalinux:php-enchant8.0.30-6.el9_8 · AlmaLinux:9Package registry (OSV)
almalinux:php-ffi8.0.30-6.el9_8 · AlmaLinux:9Package registry (OSV)
almalinux:php-fpm8.0.30-6.el9_8 · AlmaLinux:9Package registry (OSV)
almalinux:php-gd8.0.30-6.el9_8 · AlmaLinux:9Package registry (OSV)
debian:php8.28.2.31-1~deb12u1 · Debian:12Package registry (OSV)
debian:php8.48.4.21-1~deb13u1 · Debian:13Package registry (OSV)
opensuse:php88.5.6-1.1 · openSUSE:TumbleweedPackage registry (OSV)
red hat:apcu-panel0:5.1.23-1.module+el9.6.0+22647+1741ae35 · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)
red hat:php0:8.3.31-2.module+el9.8.0+24329+a775fb4e · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)
red hat:php-bcmath0:8.3.31-2.module+el9.8.0+24329+a775fb4e · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)
red hat:php-bcmath-debuginfo0:8.3.31-2.module+el9.8.0+24329+a775fb4e · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)
red hat:php-cli0:8.3.31-2.module+el9.8.0+24329+a775fb4e · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)
red hat:php-cli-debuginfo0:8.3.31-2.module+el9.8.0+24329+a775fb4e · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)
red hat:php-common0:8.3.31-2.module+el9.8.0+24329+a775fb4e · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)
red hat:php-common-debuginfo0:8.3.31-2.module+el9.8.0+24329+a775fb4e · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)
red hat:php-dba0:8.3.31-2.module+el9.8.0+24329+a775fb4e · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)
red hat:php-dba-debuginfo0:8.3.31-2.module+el9.8.0+24329+a775fb4e · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)
red hat:php-dbg0:8.3.31-2.module+el9.8.0+24329+a775fb4e · Red Hat:enterprise_linux:9::appstreamPackage 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.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

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 corruptionKEV
    96Now
  • CVE-2026-109619164 days apartRCE via stale global stateKEV
    96Now
  • CVE-2024-11235401 days apartReference counting in php_request_shutdown causes Use-After-Free
    36Monitor
  • CVE-2026-72610 days apartSoapServer session-persisted object use-after-free via SOAP header fault
    25Monitor

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.

All national notices →

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 Free

CVSS 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.

A representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.

Vulnerable

c
free(dev->buf);/* ... another thread is still running ... */process(dev->buf);

Fixed

c
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

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records