# CVE-2026-7261: SoapServer session-persisted object use-after-free via SOAP header fault

- Severity: Medium 6.3 (CVSS:4.0, scored by php) `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/S:P/AU:Y/RE:M/U:Amber`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.39%, higher than 35% of CVEs (2026-12-01)
- Published: 2026-05-10T04:07:25.484Z
- Modified: 2026-11-11T02:56:11.365Z
- Also known as: BIT-LIBPHP-2026-7261, BIT-PHP-2026-7261, BIT-PHP-MIN-2026-7261, GHSA-m33r-qmcv-p97q
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: php

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

(As written by CVE List.)

## Affected

- soap: from 8.2.* before 8.2.31; from 8.3.* before 8.3.31; from 8.4.* before 8.4.21; from 8.5.* before 8.5.6
- php 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
- libphp (Bitnami): 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
- php (Bitnami): 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
- php-min (Bitnami): 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

## Every score

- php: CVSS:4.0 6.3 Medium `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/S:P/AU:Y/RE:M/U:Amber`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Bitnami Vulnerability Database: rating Critical

## References

- <https://github.com/php/php-src/security/advisories/GHSA-m33r-qmcv-p97q> (advisory, vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-7261> (web)

## Sources

- CVE List: [CVE-2026-7261](https://www.cve.org/CVERecord?id=CVE-2026-7261), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2026-7261](https://nvd.nist.gov/vuln/detail/CVE-2026-7261), Public domain, modified 2026-07-24
- Bitnami Vulnerability Database: [BIT-LIBPHP-2026-7261](https://osv.dev/vulnerability/BIT-LIBPHP-2026-7261), Apache-2.0, modified 2026-11-11
- Bitnami Vulnerability Database: [BIT-PHP-2026-7261](https://osv.dev/vulnerability/BIT-PHP-2026-7261), Apache-2.0, modified 2026-11-11
- Bitnami Vulnerability Database: [BIT-PHP-MIN-2026-7261](https://osv.dev/vulnerability/BIT-PHP-MIN-2026-7261), Apache-2.0, modified 2026-11-11

---

Page: https://cve.day/CVE-2026-7261 · Whole record: https://cve.day/CVE-2026-7261.json · Rebuilt by cve.day 2026-11-25T22:59:21.167Z
