cve.bz

CVE-2026-129481 Use-after-free after interrupted session shutdown

9.2 criticalEPSS 3.5%

Critical (9.2) in php group php. EPSS 3.5% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 4.0

9.2 critical
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
EPSS
3.5% estimated probability of exploitation activity in the next 30 days; 89th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-11-19. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-416 Use After Free
CWE-459 Incomplete Cleanup
Published
Modified
Assigned by
php (CNA)
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-129481 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-129481?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-129481?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-129481 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
PHP Group PHPfrom 8.3.0 before 8.3.37
PHP Group PHPfrom 8.4.0 before 8.4.28
PHP Group PHPfrom 8.5.0 before 8.5.13

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian13php8.48.4.28-1~deb13u1DEBIAN-CVE-2026-129481 DSA-6641-1
Debian14php8.4no fix listedDEBIAN-CVE-2026-129481
Ubuntu22.04:LTSphp8.1no fix listedUBUNTU-CVE-2026-129481
Ubuntu24.04:LTSphp8.3no fix listedUBUNTU-CVE-2026-129481
Ubuntu26.04:LTS, 26.10php8.5no fix listedUBUNTU-CVE-2026-129481
UbuntuPro:14.04:LTSphp5no fix listedUBUNTU-CVE-2026-129481
UbuntuPro:16.04:LTSphp7.07.0.33-0ubuntu0.16.04.16+esm23UBUNTU-CVE-2026-129481
UbuntuPro:18.04:LTSphp7.27.2.24-0ubuntu0.18.04.17+esm15UBUNTU-CVE-2026-129481
UbuntuPro:20.04:LTSphp7.4no fix listedUBUNTU-CVE-2026-129481
SUSELinux Enterprise Module for Web and Scripting 15 SP7php8, php8-fpm, php8-test and 3 more8.3.37-150700.3.27.1SUSE-SU-2026:5398-1
openSUSETumbleweedphp88.5.13-1.1openSUSE-SU-2026:12618-1
AlmaLinux10php8.4, php8.4-gd, php8.4-cli and 22 more8.4.28-1.el10_3ALSA-2026:100821
Alpinev3.24php838.3.37-r0ALPINE-CVE-2026-129481
Alpinev3.24php848.4.28-r0ALPINE-CVE-2026-129481
Alpinev3.24php858.5.13-r0ALPINE-CVE-2026-129481
Azure Linux3phpno fix listedAZL-115138
Alpaquitastreamphp838.3.37-r0BELL-CVE-2026-129481

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpine · Alpaquita.

Red Hat

Red Hat rates this Important.

Red Hat's mitigation

See the security bulletin for a detailed mitigation procedure.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10php8.4-0:8.4.28-1.el10_3Fixed 2026-11-20RHSA-2026:100821
Red Hat Enterprise Linux 10phpAffected
Red Hat Enterprise Linux 6phpNot affected
Red Hat Enterprise Linux 7phpNot affected
Red Hat Enterprise Linux 8php:7.4/phpNot affected
Red Hat Enterprise Linux 8php:8.2/phpNot affected
Red Hat Enterprise Linux 9phpNot affected
Red Hat Enterprise Linux 9php:8.2/phpNot affected
Red Hat Enterprise Linux 9php:8.3/phpAffected
Red Hat Enterprise Linux 9php:8.4/phpAffected
Red Hat Hardened ImagesphpAffected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-129481.

References

Check your stackJSON