CVE-2026-7261 SoapServer session-persisted object use-after-free via SOAP header fault
MediumCVSS 6.3
EPSS 0.30%
- Published
- Updated
- Exploit status
- No public exploit known
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
| Product | Affected versions | Fixed in |
|---|---|---|
| PHP | < 8.2.31 | 8.2.31 |
| PHP | < 8.3.31 | 8.3.31 |
| PHP | < 8.4.21 | 8.4.21 |
| PHP | < 8.5.6 | 8.5.6 |
| redhat/php8.4(Red Hat:enterprise_linux:10.2) | < 8.4.21-1.el10_2 | 8.4.21-1.el10_2 |
| redhat/php(Red Hat:enterprise_linux:10.2) | < 8.3.31-1.el10_2 | 8.3.31-1.el10_2 |
| redhat/php:8.2-8100020260521052503.f7998665(Red Hat:enterprise_linux:8) | All versions | No fix listed |
| redhat/php:7.4-8100020260604072603.f7998665(Red Hat:enterprise_linux:8) | All versions | No fix listed |
| redhat/php:8.3-9080020260521113736.9(Red Hat:enterprise_linux:9) | All versions | No fix listed |
| redhat/php:8.2-9080020260521080715.9(Red Hat:enterprise_linux:9) | All versions | No fix listed |
| redhat/php(Red Hat:enterprise_linux:9) | < 8.0.30-6.el9_8 | 8.0.30-6.el9_8 |
| redhat/php(Red Hat:rhel_els:6) | All versions | No fix listed |
| redhat/php(Red Hat:rhel_els:7) | All versions | No fix listed |
| debian/php8.2(Debian:12) | < 8.2.31-1~deb12u1 | 8.2.31-1~deb12u1 |
| debian/php8.2(Debian:12) | = 8.2.10-1 | No fix listed |
| debian/php8.2(Debian:12) | = 8.2.10-2 | No fix listed |
| debian/php8.2(Debian:12) | = 8.2.12-1 | No fix listed |
| debian/php8.2(Debian:12) | = 8.2.16-1 | No fix listed |
| debian/php8.2(Debian:12) | = 8.2.16-2 | No fix listed |
| debian/php8.2(Debian:12) | = 8.2.17-1 | No fix listed |
| debian/php8.2(Debian:12) | = 8.2.18-1 | No fix listed |
| debian/php8.2(Debian:12) | = 8.2.18-1~deb12u1 | No fix listed |
| debian/php8.2(Debian:12) | = 8.2.20-1~deb12u1 | No fix listed |
| debian/php8.2(Debian:12) | = 8.2.20-2 | No fix listed |
| debian/php8.2(Debian:12) | = 8.2.20-3 | No fix listed |
Show 45 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/php8.2(Debian:12) | = 8.2.21-1 | No fix listed |
| debian/php8.2(Debian:12) | = 8.2.23-1 | No fix listed |
| debian/php8.2(Debian:12) | = 8.2.24-1 | No fix listed |
| debian/php8.2(Debian:12) | = 8.2.24-1~deb12u1 | No fix listed |
| debian/php8.2(Debian:12) | = 8.2.26-1~deb12u1 | No fix listed |
| debian/php8.2(Debian:12) | = 8.2.26-4 | No fix listed |
| debian/php8.2(Debian:12) | = 8.2.27-1 | No fix listed |
| debian/php8.2(Debian:12) | = 8.2.28-1~deb12u1 | No fix listed |
| debian/php8.2(Debian:12) | = 8.2.29-1~deb12u1 | No fix listed |
| debian/php8.2(Debian:12) | = 8.2.30-1~deb12u1 | No fix listed |
| debian/php8.2(Debian:12) | = 8.2.5-2 | No fix listed |
| debian/php8.2(Debian:12) | = 8.2.7-1 | No fix listed |
| debian/php8.2(Debian:12) | = 8.2.7-1.1 | No fix listed |
| debian/php8.2(Debian:12) | = 8.2.7-1.2 | No fix listed |
| debian/php8.2(Debian:12) | = 8.2.7-1~deb12u1 | No fix listed |
| debian/php8.4(Debian:13) | < 8.4.21-1~deb13u1 | 8.4.21-1~deb13u1 |
| debian/php8.4(Debian:13) | = 8.4.11-1 | No fix listed |
| debian/php8.4(Debian:13) | = 8.4.16-1 | No fix listed |
| debian/php8.4(Debian:13) | = 8.4.16-1~deb13u1 | No fix listed |
| debian/php8.4(Debian:13) | = 8.4.20-1 | No fix listed |
| debian/php8.4(Debian:14) | < 8.4.21-1 | 8.4.21-1 |
| debian/php8.4(Debian:14) | = 8.4.11-1 | No fix listed |
| debian/php8.4(Debian:14) | = 8.4.16-1 | No fix listed |
| debian/php8.4(Debian:14) | = 8.4.16-1~deb13u1 | No fix listed |
| debian/php8.4(Debian:14) | = 8.4.20-1 | No fix listed |
| debian/php8.4(Debian:14) | = 8.4.21-1~deb13u1 | No fix listed |
| ubuntu/php8.1(Ubuntu:22.04) | < 8.1.2-1ubuntu2.24 | 8.1.2-1ubuntu2.24 |
| alpine/php81(Alpine:v3.19) | < 8.1.34-r0 | 8.1.34-r0 |
| alpine/php82(Alpine:v3.22) | < 8.2.31-r0 | 8.2.31-r0 |
| alpine/php83(Alpine:v3.22) | < 8.3.36-r0 | 8.3.36-r0 |
| alpine/php83(Alpine:v3.23) | < 8.3.31-r0 | 8.3.31-r0 |
| alpine/php83(Alpine:v3.24) | < 8.3.31-r0 | 8.3.31-r0 |
| alpine/php84(Alpine:v3.22) | < 8.4.27-r0 | 8.4.27-r0 |
| alpine/php84(Alpine:v3.23) | < 8.4.21-r0 | 8.4.21-r0 |
| alpine/php84(Alpine:v3.24) | < 8.4.21-r0 | 8.4.21-r0 |
| alpine/php85(Alpine:v3.23) | < 8.5.6-r0 | 8.5.6-r0 |
| alpine/php85(Alpine:v3.24) | < 8.5.6-r0 | 8.5.6-r0 |
| ubuntu/php8.3(Ubuntu:24.04) | < 8.3.6-0ubuntu0.24.04.9 | 8.3.6-0ubuntu0.24.04.9 |
| ubuntu/php8.5(Ubuntu:26.04) | < 8.5.4-0ubuntu1.1 | 8.5.4-0ubuntu1.1 |
| PHP | >= 8.2.0, < 8.2.31 | 8.2.31 |
| PHP | >= 8.3.0, < 8.3.31 | 8.3.31 |
| PHP | >= 8.4.0, < 8.4.21 | 8.4.21 |
| PHP | >= 8.5.0, < 8.5.6 | 8.5.6 |
| PHP(Azure Linux:3.0) | All versions | No fix listed |
| PHP(Azure Linux:4.0) | < 0:8.4.26-5.azl4 | 0:8.4.26-5.azl4 |
References
- MSRC Security Update Guide vendor-advisory
- github.com vendor-advisory
- Red Hat CVE page mitigation vendor-advisory
- RHSA-2026:22649 patch vendor-advisory
- RHSA-2026:23388 patch vendor-advisory
- RHSA-2026:22305 patch vendor-advisory
- RHSA-2026:34354 patch vendor-advisory
- RHSA-2026:22142 patch vendor-advisory
- RHSA-2026:22143 patch vendor-advisory
- RHSA-2026:33449 patch vendor-advisory
- Red Hat Bugzilla 2468563 issue-tracking
- www.cve.org
- nvd.nist.gov
- Debian Security Tracker CVE-2026-7261 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- USN-8336-1 vendor-advisory
- USN-8513-1 vendor-advisory
- security.alpinelinux.org vendor-advisory
- bugs.debian.org issue-tracking
- Release Notes vendor-advisory