CVE-2026-7261: Vulnerability in PHP

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

CWE-416

Exploitation
None confirmed
Severity
9.8 of 10
Attack likelihood
Unknown
Fix
Fixed version known
Patch deadline
No deadline set

Details

Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-416
Published
10 May 2026
Last change
24 Jul 2026

Affected products

Affected versions and the first fixed release

  • PHP From 8.2.0 before 8.2.31; From 8.3.0 before 8.3.31; From 8.4.0 before 8.4.21; From 8.5.0 before 8.5.6. Fixed in 8.2.31, 8.3.31, 8.4.21, 8.5.6

Advisories

Vendor and security advisories

Related