Skip to main content
Mallory
MediumVulnerability

CVE-2026-7261: Use-after-free in PHP SoapServer session persistence

Published May 10, 2026 · Updated today
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days8 mentions · peak 5 in a dayToday
CVSS6.3Medium · v4
EPSS0.39%25th percentile
CISA KEVNoNot listed
In the wildNoneNo exploitation reported
Vendor
PHP Group
IdentifiersCVE-2026-7261CWE-825

CVE-2026-7261 is a use-after-free vulnerability in PHP SoapServer session persistence. It affects PHP 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, as well as affected vendor-maintained older branches. When SOAP_PERSISTENCE_SESSION is enabled, two SOAP header error paths can release the handler object while retaining its pointer in session state. These paths occur when a header handler returns false or throws an exception. Subsequent session serialization accesses the freed object, potentially causing memory corruption, information disclosure, or process crashes.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation can disclose sensitive process memory, corrupt memory and compromise integrity, or crash the PHP process and cause denial of service. Exploitability depends on memory layout and object lifetime: typical deployments process one SOAP request per PHP request, limiting opportunities to control the freed allocation, while address space layout randomization adds another obstacle. Arbitrary code execution has not been established specifically for this vulnerability.

Mitigation

If you can’t patch tonight, do this now.

No vendor-supported temporary workaround is specified. Red Hat states that no mitigation is available that meets its deployment, applicability, and stability criteria. Address space layout randomization can impede exploitation but does not eliminate the vulnerability.

Remediation

Patch, then assume compromise.

Upgrade PHP and its SOAP extension to 8.2.31, 8.3.31, 8.4.21, 8.5.6, or a later supported release for the deployed branch. For distribution-maintained PHP packages, install the vendor's applicable security update, including matching SOAP packages; older branch version numbers may contain backported fixes.

Public exploits

Exploits

No validated public exploits yet. Hidden: 1 rejected by Mallory's analysis as not a working exploit.

View more in app →
Every candidate exploit was rejected by Mallory's analysis.
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
PHP GroupPhpapplication
FAQ

Frequently asked questions

Is CVE-2026-7261 exploited in the wild?
As of Nov 27, 2026, Mallory has no reports of CVE-2026-7261 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2026-7261?
As of Nov 27, 2026, Mallory has found no public exploit for CVE-2026-7261.
Is there a patch for CVE-2026-7261?
Upgrade PHP and its SOAP extension to 8.2.31, 8.3.31, 8.4.21, 8.5.6, or a later supported release for the deployed branch. For distribution-maintained PHP packages, install the vendor's applicable security update, including matching SOAP packages; older branch version numbers may contain backported fixes.
What products are affected by CVE-2026-7261?
PHP Group Php.
How severe is CVE-2026-7261?
CVE-2026-7261 has a CVSS v4 score of 6.3 (Medium) and an EPSS score of 0.39% (25th percentile) as of Nov 27, 2026.
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity12Community discussion across Reddit, Mastodon, and other social sources.