CVE-2026-129481
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
Azure Linux Affected 2 releases
| Version | Package | Status | Fixed in |
|---|---|---|---|
| 4.0 | — | Affected | — |
| 3.0 | — | Affected | — |
AlmaLinux Fixed 2 releases
| Version | Package | Status | Fixed in |
|---|---|---|---|
| 10 | php8.4-dbg php8.4-snmp php8.4-pgsql +22 more |
Fixed | 8.4.28-1.el10_3 |
| 10 | php-ffi php-dbg php-mbstring +22 more |
Fixed | 8.3.37-1.el10_3 |
| 9 | php-gd php-cli php-soap +22 more |
Fixed | 8.3.37-1.module_el9.9.0+366+181bdbf1 |
| 9 | php-pecl-zip |
Fixed | 1.22.7-2.module_el9.9.0+305+241c80e2 |
| 9 | php-pecl-xdebug3 |
Fixed | 3.4.7-3.module_el9.9.0+323+8b975f9e |
| 9 | php-pecl-apcu php-pecl-apcu-devel apcu-panel |
Fixed | 5.1.27-2.module_el9.9.0+305+241c80e2 |
| 9 | php-pecl-rrd |
Fixed | 2.0.3-19.module_el9.9.0+305+241c80e2 |
| 9 | php-pecl-redis6 |
Fixed | 6.2.0-3.module_el9.9.0+305+241c80e2 |
Alpine Fixed 1 release
| Version | Package | Status | Fixed in |
|---|---|---|---|
| v3.24 | php83 |
Fixed | 8.3.37-r0 |
| v3.24 | php85 |
Fixed | 8.5.13-r0 |
| v3.24 | php84 |
Fixed | 8.4.28-r0 |
Debian Fixed 4 releases
| Version | Package | Status | Fixed in |
|---|---|---|---|
| trixie | php8.4 |
Fixed | 8.4.28-1~deb13u1 |
| sid | php8.4 |
Fixed | 8.4.28-2 |
| forky | php8.4 |
Fixed | 8.4.28-2 |
| bookworm | php8.2 |
Not affected | — |
Gentoo Fixed 1 release
| Version | Package | Status | Fixed in |
|---|---|---|---|
| — | — | Fixed | 8.2.36 |
Red Hat Fixed 1 release
| Version | Package | Status | Fixed in |
|---|---|---|---|
| 9 | php-pecl-redis6 |
Fixed | 6.2.0-3.module+el9.9.0+24551+b05e3fee |
| 9 | apcu-panel php-pecl-apcu php-pecl-apcu-devel |
Fixed | 5.1.27-2.module+el9.9.0+24551+b05e3fee |
| 9 | php php-bcmath php-cli +22 more |
Fixed | 8.4.28-1.module+el9.9.0+25379+ae24289e |
| 9 | php-pecl-rrd |
Fixed | 2.0.3-19.module+el9.9.0+24551+b05e3fee |
| 9 | php-pecl-xdebug3 |
Fixed | 3.4.7-3.module+el9.9.0+24551+b05e3fee |
| 9 | php-pecl-zip |
Fixed | 1.22.7-2.module+el9.9.0+24551+b05e3fee |
Rocky Linux Fixed 2 releases
| Version | Package | Status | Fixed in |
|---|---|---|---|
| 10 | php8.4 |
Fixed | 8.4.28-1.el10_3 |
| 10 | php |
Fixed | 8.3.37-1.el10_3 |
| 9 | php-pecl-apcu |
Fixed | 5.1.23-1.module+el9.7.0+40004+bf50a568 |
| 9 | php-pecl-redis6 |
Fixed | 6.1.0-3.module+el9.8.0+40203+35cc8ffc |
| 9 | php-pecl-rrd |
Fixed | 2.0.3-4.module+el9.7.0+40005+715283ec |
| 9 | php-pecl-xdebug3 |
Fixed | 3.3.1-1.module+el9.7.0+40005+715283ec |
| 9 | php-pecl-zip |
Fixed | 1.22.3-1.module+el9.7.0+40005+715283ec |
| 9 | php |
Fixed | 8.3.37-1.module+el9.9.0+40496+4cbfb9f5 |
Ubuntu Fixed 8 releases
| Version | Package | Status | Fixed in |
|---|---|---|---|
| xenial | libapache2-mod-php7.0 libphp7.0-embed php7.0 +36 more |
Fixed | 7.0.33-0ubuntu0.16.04.16+esm23 |
| trusty | php5-cli php5-common php5-curl +26 more |
Fixed | 5.5.9+dfsg-1ubuntu4.29+esm19 |
| stonking | php8.5-sqlite3 php8.5-tidy php8.5-xsl +30 more |
Fixed | 8.5.9-0ubuntu2.2 |
| resolute | libphp8.5-embed php8.5 php8.5-bcmath +30 more |
Fixed | 8.5.4-0ubuntu1.6 |
| noble | libapache2-mod-php8.3 libphp8.3-embed php8.3 +32 more |
Fixed | 8.3.6-0ubuntu0.24.04.14 |
| jammy | php8.1-soap php8.1-sqlite3 php8.1-sybase +34 more |
Fixed | 8.1.2-1ubuntu2.29 |
| focal | php7.4 php7.4-bcmath php7.4-bz2 +34 more |
Fixed | 7.4.3-4ubuntu2.29+esm6 |
| bionic | libapache2-mod-php7.2 libphp7.2-embed php7.2 +35 more |
Fixed | 7.2.24-0ubuntu0.18.04.17+esm15 |
SUSE Tracked 1 release
| Version | Package | Status | Fixed in |
|---|---|---|---|
| — | — | Unknown | — |
References
- https://www.suse.com/security/cve/CVE-2026-129481.html
- https://github.com/php/php-src/security/advisories/GHSA-g3vh-838c-65v7
- https://security-tracker.debian.org/tracker/CVE-2026-129481
- https://security.gentoo.org/glsa/202611-13
- https://security.alpinelinux.org/vuln/CVE-2026-129481
- https://pkgs.alpinelinux.org/packages?name=php83
- https://pkgs.alpinelinux.org/packages?name=php84
- https://pkgs.alpinelinux.org/packages?name=php85
- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-129481
- https://access.redhat.com/errata/RHSA-2026:100821
- https://bugzilla.redhat.com/2576597
- https://bugzilla.redhat.com/2576598
- https://bugzilla.redhat.com/2576599
- https://bugzilla.redhat.com/2576600
- https://bugzilla.redhat.com/2576601
- https://bugzilla.redhat.com/2576602
- https://bugzilla.redhat.com/2576603
- https://bugzilla.redhat.com/2576604
- https://bugzilla.redhat.com/2576605
- https://bugzilla.redhat.com/2576606
- https://bugzilla.redhat.com/2576607
- https://bugzilla.redhat.com/2576608
- https://bugzilla.redhat.com/2576609
- https://bugzilla.redhat.com/2576610
- https://errata.almalinux.org/10/ALSA-2026-100821.html
CWEs
CWE-416 CWE-459
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.