BlogSafe.org

PHP CVEs

Vulnerabilities in the PHP language itself, and which PHP versions they affect.

← Back to CVE list

CVE-2026-7261

MEDIUM 6.3 CVSS 4.0
Published
May 10, 2026
Last modified
July 24, 2026
NVD status
Analyzed
Reported by
security@php.net
Weakness
CWE-416
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:L/SC:L/SI:L/SA:L/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:P/AU:Y/R:X/V:X/RE:M/U:Amber

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.

Affected products and versions

  • PHP — From 8.2.0 (including) to 8.2.31 (excluding)
  • PHP — From 8.3.0 (including) to 8.3.31 (excluding)
  • PHP — From 8.4.0 (including) to 8.4.21 (excluding)
  • PHP — From 8.5.0 (including) to 8.5.6 (excluding)

References

  • github.com https://github.com/php/php-src/security/advisories/GHSA-m33r-qmcv-p97q Vendor Advisory
  • nvd.nist.gov Official NVD record