Skip to content
Back to search

CVE-2026-7261

CRITICAL
9.8NVD

Summary

generated automatically from NVD data

CVE-2026-7261 affects PHP's SoapServer when it is configured with SOAP_PERSISTENCE_SESSION, which stores the handler object in session storage across requests. If a SOAP request ends in an error, the persistence logic frees the object but keeps a pointer to it, causing a use-after-free (CWE-416). This can lead to memory corruption, information disclosure, or process crashes. 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, and is rated CRITICAL with a CVSS v3.1 score of 9.8.

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

Share:

EPSS · FIRST.org

0.53%probability of exploitation in the next 30 days

Higher than 38% of scored CVEs

EPSS (Exploit Prediction Scoring System) estimates, from observed exploitation activity, how likely a CVE is to be exploited in the next 30 days. It complements CVSS, which measures severity, not likelihood. Score of 2026-11-25, recomputed daily by FIRST.org.

In-depth analysis on cveo.tech

This CVE is covered in an article: context, affected versions and published fixes.

CVSS v3.1 Score

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

Information

Published
10 mai 2026
Updated
24 juil. 2026
Status
Analyzed
Source
security@php.net

Affected products

Versions ≥ 8.2.0, < 8.2.31 · ≥ 8.3.0, < 8.3.31 · ≥ 8.4.0, < 8.4.21 · ≥ 8.5.0, < 8.5.6

Bounds published by NVD: "< 8.4.27" means 8.4.27 is no longer vulnerable. The fixed release to install is in the vendor advisory.

Weaknesses (CWE)

CWE-416

Similar CVEs

Other vulnerabilities of type CWE-416

…

Running PHP servers? Know which CVEs hit your version.

Add the product and its version: cveo.tech lists the CVEs that affect it right away, then alerts you by email when a new one affects it — including before NVD has finished its analysis. Free, an account is all it takes.