CVE-2026-7261

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

Configuration 1 (hide)

OR cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
cpe:2.3:a:php:php:*:*:*:*:*:*:*:*

History

24 Jul 2026, 08:10

Type Values Removed Values Added
Summary
  • (es) En versiones de PHP 8.2.* anteriores a 8.2.31, 8.3.* anteriores a 8.3.31, 8.4.* anteriores a 8.4.21, y 8.5.* anteriores a 8.5.6, cuando SoapServer está configurado con SOAP_PERSISTENCE_SESSION, el objeto gestor es persistido entre solicitudes a través del almacenamiento de sesión. Sin embargo, en el caso de que las solicitudes SOAP resulten en un error, la persistencia se maneja incorrectamente, lo que resulta en la liberación del objeto mientras se mantiene un puntero a él, lo que puede llevar a uso después de liberación. Esto puede llevar a corrupción de memoria, revelación de información, o caídas del proceso, con impacto en la confidencialidad, integridad y disponibilidad del sistema vulnerable.

12 May 2026, 17:40

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 9.8
CPE cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
First Time Php
Php php
References () https://github.com/php/php-src/security/advisories/GHSA-m33r-qmcv-p97q - () https://github.com/php/php-src/security/advisories/GHSA-m33r-qmcv-p97q - Vendor Advisory

10 May 2026, 05:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-05-10 05:16

Updated : 2026-07-24 08:10


NVD link : CVE-2026-7261

Mitre link : CVE-2026-7261

CVE.ORG link : CVE-2026-7261


JSON object : View

Products Affected

php

  • php
CWE
CWE-416

Use After Free