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

- Priority: **Routine**
- Reason: Not severe (CVSS 6.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-05-10 · Modified: 2026-05-11
- Aliases: UBUNTU-CVE-2026-7261, DEBIAN-CVE-2026-7261, CGA-r4p2-6rc3-4g7c, CGA-v9q7-2688-73h3, ALPINE-CVE-2026-7261
- Record: https://cvemate.com/vulnerability/CVE-2026-7261 · JSON: https://cvemate.com/vulnerability/CVE-2026-7261/json

## Description

```text
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.
```

## Signals

- CVSS: 9.8 critical (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.393%, percentile 35.525%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine php81 (Alpine Linux): \< 8.1.34-r0
- alpine php82 (Alpine Linux): \< 8.2.31-r0
- alpine php83 (Alpine Linux): \< 8.3.36-r0 \| \< 8.3.31-r0
- alpine php84 (Alpine Linux): \< 8.4.27-r0 \| \< 8.4.21-r0
- alpine php85 (Alpine Linux): \< 8.5.6-r0
- chainguard php-8.2 (Chainguard): \< 8.2.31-r0
- wolfi php-8.2 (Wolfi): \< 8.2.31-r0
- debian php8.2 (Debian): \< 8.2.31-1~deb12u1
- debian php8.4 (Debian): \< 8.4.21-1~deb13u1 \| \< 8.4.21-1
- ubuntu php5 (Ubuntu): All versions (No fix recorded)
- ubuntu php7.0 (Ubuntu): \< 7.0.33-0ubuntu0.16.04.16+esm19
- ubuntu php7.2 (Ubuntu): All versions (No fix recorded)
- ubuntu php7.4 (Ubuntu): All versions (No fix recorded)
- ubuntu php8.1 (Ubuntu): \< 8.1.2-1ubuntu2.24
- ubuntu php8.3 (Ubuntu): \< 8.3.6-0ubuntu0.24.04.9
- ubuntu php8.4 (Ubuntu): \< 8.4.11-1ubuntu1.2
- ubuntu php8.5 (Ubuntu): \< 8.5.4-0ubuntu1.1
- php group php: ≥ 8.2.\*, \< 8.2.31 \| ≥ 8.3.\*, \< 8.3.31 \| ≥ 8.4.\*, \< 8.4.21 \| ≥ 8.5.\*, \< 8.5.6
- php php: ≥ 8.2.0, \< 8.2.31 \| ≥ 8.3.0, \< 8.3.31 \| ≥ 8.4.0, \< 8.4.21 \| ≥ 8.5.0, \< 8.5.6

## References

- <https://github.com/php/php-src/security/advisories/GHSA-m33r-qmcv-p97q>
- <https://ubuntu.com/security/CVE-2026-7261>
- <https://www.cve.org/CVERecord?id=CVE-2026-7261>
- <https://ubuntu.com/security/notices/USN-8336-1>
- <https://ubuntu.com/security/notices/USN-8513-1>
- <https://security-tracker.debian.org/tracker/CVE-2026-7261>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-7261>
- <https://security.alpinelinux.org/vuln/CVE-2026-7261>

---

Data as of 2026-12-05T03:31:08.227Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
