patchminder
No public exploit found CVE-2026-7261

Use after freein PHP.

Published 10 May 2026 · Updated 11 May 2026 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

No public exploit found; not on exploited lists.

Severity
Medium 6.3
CVSSA severity score from 0 to 10. 9 and higher is critical. 4.0 · no login needed
Attack likelihood
Low
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 0.4% chance in 30 days · 4 Dec 2026
Fix
Available
Fixed versions listed below
In plain words

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, when SoapServer is configured with SOAP_PERSISTENCE_SESSION, the handler object is persisted across requests via session storage. However, in the case SOAP requests results in an error, the persistance is handled incorrectly, resulting in freeing the object while keeping a pointer to it, which may lead to use-after-free. This may lead to memory corruption, information disclosure, or process crashes, with confidentiality, integrity, and availability impact on the vulnerable system.

What to do now
  • Upgrade PHP to 8.2.31, 8.3.31, 8.4.21, 8.5.6 or later, whichever matches your release line.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
PHP
before 8.2.31
8.2.31
CVE record
PHP
before 8.3.31
8.3.31
CVE record
PHP
before 8.4.21
8.4.21
CVE record
PHP
before 8.5.6
8.5.6
CVE record

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 28 Apr 2026
    CVE ID reserved by php.
  2. 10 May 2026
    Published in the CVE List.
  3. 11 May 2026
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: No public exploit found. CISA assessment (SSVC): exploitation none.

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
None known

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other PHP vulnerabilities

Same weakness: Use after free

All CWE-416 vulnerabilities

References
Cite this page

Patchminder. CVE-2026-7261: Use after free in PHP. https://patchminder.com/cve/cve-2026-7261/ (accessed 5 December 2026).