CVE-2026-129481 Use-after-free after interrupted session shutdown
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
- Technology
- PHPUbuntuDebianRed Hat
Description
Use-after-free after interrupted session shutdown.
The session extension records the filename of the executing script when a session starts. If a fatal error occurs in an application callback while the session variables are destroyed at shutdown, such as stream_close() of a user-defined stream wrapper, the pointer is retained after the request memory is freed, and a later request handled by the same worker can free the stale string. An attacker who can trigger such a failing cleanup may crash the worker or corrupt memory; code execution has not been demonstrated. This requires the filename to be allocated in request memory, for example when the script is not cached by OPcache.
This issue affects PHP versions 8.3.* before 8.3.37, 8.4.* before 8.4.28 and 8.5.* before 8.5.13.
Upgrade path
15 packages: 5 fixed, 10 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/php8.4(Debian 14) | = 8.4.11-1; = 8.4.16-1; = 8.4.16-1~deb13u1; = 8.4.20-1 +13 more | No fix listed | No fix yet |
| redhat/php(Red Hat enterprise_linux 10) | All versions | No fix listed | No fix yet |
| redhat/php(Red Hat hummingbird 1) | All versions | No fix listed | No fix yet |
| redhat/php8.4(Red Hat enterprise_linux 10) | All versions | No fix listed | No fix yet |
| redhat/php:8.3/php(Red Hat enterprise_linux 9) | All versions | No fix listed | No fix yet |
| redhat/php:8.4/php(Red Hat enterprise_linux 9) | All versions | No fix listed | No fix yet |
| ubuntu/php8.1(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/php8.3(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/php8.5(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/php8.5(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| alpine/php83(Alpine v3.24) | < 8.3.37-r0 | 8.3.37-r0 | Fixed |
| alpine/php84(Alpine v3.24) | < 8.4.28-r0 | 8.4.28-r0 | Fixed |
| alpine/php85(Alpine v3.24) | < 8.5.13-r0 | 8.5.13-r0 | Fixed |
| debian/php8.4(Debian 13) | < 8.4.28-1~deb13u1; = 8.4.11-1; = 8.4.16-1; = 8.4.16-1~deb13u1 +12 more | 8.4.28-1~deb13u1 | Fixed |
| PHP | >= 8.3.0, < 8.3.37; >= 8.4.0, < 8.4.28; >= 8.5.0, < 8.5.13 | 8.3.37, 8.4.28, 8.5.13 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| PHP | >= 8.3.0, < 8.3.37 | 8.3.37 |
| PHP | >= 8.4.0, < 8.4.28 | 8.4.28 |
| PHP | >= 8.5.0, < 8.5.13 | 8.5.13 |
| debian/php8.4(Debian:13) | < 8.4.28-1~deb13u1 | 8.4.28-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:13) | = 8.4.21-1 | No fix listed |
| debian/php8.4(Debian:13) | = 8.4.21-1~deb13u1 | No fix listed |
| debian/php8.4(Debian:13) | = 8.4.22-1 | No fix listed |
| debian/php8.4(Debian:13) | = 8.4.23-1 | No fix listed |
| debian/php8.4(Debian:13) | = 8.4.23-1~deb13u1 | No fix listed |
| debian/php8.4(Debian:13) | = 8.4.24-1 | No fix listed |
| debian/php8.4(Debian:13) | = 8.4.24-1~deb13u1 | No fix listed |
| debian/php8.4(Debian:13) | = 8.4.26-1 | No fix listed |
| debian/php8.4(Debian:13) | = 8.4.26-1~deb13u1 | No fix listed |
| debian/php8.4(Debian:13) | = 8.4.27-1 | No fix listed |
| debian/php8.4(Debian:13) | = 8.4.27-1~deb13u1 | No fix listed |
| debian/php8.4(Debian:14) | All versions | No fix listed |
| 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 | No fix listed |
Show 23 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/php8.4(Debian:14) | = 8.4.21-1~deb13u1 | No fix listed |
| debian/php8.4(Debian:14) | = 8.4.22-1 | No fix listed |
| debian/php8.4(Debian:14) | = 8.4.23-1 | No fix listed |
| debian/php8.4(Debian:14) | = 8.4.23-1~deb13u1 | No fix listed |
| debian/php8.4(Debian:14) | = 8.4.24-1 | No fix listed |
| debian/php8.4(Debian:14) | = 8.4.24-1~deb13u1 | No fix listed |
| debian/php8.4(Debian:14) | = 8.4.26-1 | No fix listed |
| debian/php8.4(Debian:14) | = 8.4.26-1~deb13u1 | No fix listed |
| debian/php8.4(Debian:14) | = 8.4.27-1 | No fix listed |
| debian/php8.4(Debian:14) | = 8.4.27-1~deb13u1 | No fix listed |
| debian/php8.4(Debian:14) | = 8.4.28-1~deb13u1 | No fix listed |
| alpine/php83(Alpine:v3.24) | < 8.3.37-r0 | 8.3.37-r0 |
| alpine/php84(Alpine:v3.24) | < 8.4.28-r0 | 8.4.28-r0 |
| alpine/php85(Alpine:v3.24) | < 8.5.13-r0 | 8.5.13-r0 |
| ubuntu/php8.1(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/php8.3(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/php8.5(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/php8.5(Ubuntu:26.10) | All versions | No fix listed |
| redhat/php(Red Hat:enterprise_linux:10) | All versions | No fix listed |
| redhat/php8.4(Red Hat:enterprise_linux:10) | All versions | No fix listed |
| redhat/php:8.3/php(Red Hat:enterprise_linux:9) | All versions | No fix listed |
| redhat/php:8.4/php(Red Hat:enterprise_linux:9) | All versions | No fix listed |
| redhat/php(Red Hat:hummingbird:1) | All versions | No fix listed |
References
- github.com vendor-advisory
- Debian Security Tracker CVE-2026-129481 vendor-advisory
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2576608 issue-tracking
- www.cve.org
- nvd.nist.gov
- ENISA EUVD EUVD-2026-130172 third-party-advisory
- security.alpinelinux.org vendor-advisory
- Ubuntu CVE tracker vendor-advisory