Use-after-free after interrupted session shutdown (CVE-2026-129481)
Published Last modified Sources: SingCERT, CVE.org, EUVD, BSI, Debian, HKCERT
What is affected, what to do
Use-after-free after interrupted session shutdown. The session extension records the filename of the executing script when a session starts.
Update PHP to version 8.3.37, PHP to version 8.4.28, PHP to version 8.5.13.
- Affected
- PHP
lt 8.3.0..8.3.37 - PHP
lt 8.4.0..8.4.28 - PHP
lt 8.5.0..8.5.13
- PHP
- Fixed in
- PHP
8.3.37 - PHP
8.4.28 - PHP
8.5.13
- PHP
Not sure whether and how you are affected? Ask a question about this vulnerability
Metrics
9.2
XIEM Effective CVSS
Highest available CVSS rating from NVD and vendor data.
Source: Vendor (CNA), CVSS v4
9.2
CVSS v4
Severity Critical on the scale from 0 to 10.
Source: SingCERT, CVE.org, EUVD, BSI, Debian, HKCERT
—
EPSS score
No value is available for this vulnerability.
Show all metrics
- Severity
- Critical
Priority (0–325)
The priority score is a consolidated metric that condenses several individual signals into a single, action-guiding ranking: technical severity (CVSS), exploitation likelihood (EPSS), known-exploited status (KEV) and the context of the affected asset. The aim is to answer the only truly important question in vulnerability management: what first?
Read in glossary- 104.00 Methodology
Exploit maturity
An exploit is code or a technique that specifically uses a concrete vulnerability to force unintended behaviour — such as executing code or escalating privileges. It is the tool that turns a theoretical flaw into a practical attack.
Read in glossary- no public PoC known
XIEM Effective CVSS
XIEM® is the tiered managed-security operating model from NEOSEC and a registered trademark of NEOSEC GmbH. It extends classic SIEM — the central collection, normalisation and correlation of security-relevant events — with endpoint forensics, network visibility and deception technology, and consolidates them into three building tiers: Sentry, Orchestrate and Command.
Read in glossary- 9.2 Methodology
CVSS v4
CVSS is the globally established, open standard for assessing the technical severity of a vulnerability on a scale from 0 to 10. It describes how easily a flaw can be exploited and what damage it can cause — but not how likely its actual exploitation is. CVSS and the complementary EPSS deliberately answer different questions.
Read in glossary- 9.2
KEV status
The KEV catalogue is a list maintained by the US authority CISA of vulnerabilities for which active exploitation in the wild has been confirmed. It answers not the question „how severe?“ but „is it already being attacked?“ — thereby sharply prioritising patching.
Read in glossary- —
- Published
- CISA assessment (SSVC)
- Exploitation: none known · not automatable · Technical impact: total
- Source: CISA Vulnrichment, as of 19 November 2026
CWE
CWE is a catalogue of typical weakness types in software and hardware — such as flawed input validation, unsafe memory handling or poor authentication. Where a CVE names a concrete vulnerability in a concrete product, a CWE describes the underlying class of defect.
Read in glossary- CWE-416, CWE-459
Detection rules
No NEOSEC detection rule is available for this vulnerability yet.
Classification under NIS2 and CRA
Rule-based classification from exploitation status and severity. It does not replace a case-by-case assessment.
NIS2
NIS2 is EU Directive (EU) 2022/2555 to raise the level of cybersecurity across the Union. It substantially broadens obligations compared with the first NIS directive: more sectors, mandatory risk management, staged reporting duties and personal accountability of senior management.
Read in glossary- High technical severity: assess and remediate the vulnerability in vulnerability handling under Art. 21(2)(e) NIS2 and document the decision.
CRA
The CRA is EU Regulation (EU) 2024/2847 setting horizontal cybersecurity requirements for „products with digital elements“ — from industrial controllers and software to connected consumer devices. For the first time manufacturers must ensure security across the entire product lifecycle, handle vulnerabilities and provide security updates.
Read in glossary- From 11.12.2027, Annex I Part II CRA requires manufacturers of affected products with digital elements to handle vulnerabilities without delay and provide security updates.
ISO/IEC 27001
ISO/IEC 27001 is the internationally leading standard for an information security management system (ISMS). It describes a risk-based, process-oriented framework to systematically plan, implement, review and improve information security.
Read in glossary- Control A.8.8, management of technical vulnerabilities: assess relevance to your systems, plan remediation and keep evidence.
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.
Source: CSA/SingCERT, NVD (NIST), cvelistv5, ENISA EUVD, CVE.org (MITRE), BSI WID Portal, BSI CSAF, Debian Security Advisories, HKCERT (CC BY 3.0 HK) · HKCERT rating: high
Affected products
The following versions are affected. Older releases of the same product line are also vulnerable unless stated otherwise.
| Affected versions | Fixed in | ||
|---|---|---|---|
| PHP Group | PHP |
|
|
| Open Source | PHP |
|
|
Fixed in hardened container images
Vendors of hardened images ship their own builds with a fix, often ahead of the distribution. This only concerns you if you use these images.
Show all 1,562 entries
| Fixed in | |||
|---|---|---|---|
| Chainguard | Chainguard | php-8.3 |
|
| Chainguard | Chainguard | php-8.3 |
|
| Chainguard | Chainguard | php-8.3-apache |
|
| Chainguard | Chainguard | php-8.3-apache |
|
| Chainguard | Chainguard | php-8.3-bcmath |
|
| Chainguard | Chainguard | php-8.3-bcmath |
|
| Chainguard | Chainguard | php-8.3-bcmath-config |
|
| Chainguard | Chainguard | php-8.3-bcmath-config |
|
| Chainguard | Chainguard | php-8.3-bz2 |
|
| Chainguard | Chainguard | php-8.3-bz2 |
|
| Chainguard | Chainguard | php-8.3-bz2-config |
|
| Chainguard | Chainguard | php-8.3-bz2-config |
|
| Chainguard | Chainguard | php-8.3-calendar |
|
| Chainguard | Chainguard | php-8.3-calendar |
|
| Chainguard | Chainguard | php-8.3-calendar-config |
|
| Chainguard | Chainguard | php-8.3-calendar-config |
|
| Chainguard | Chainguard | php-8.3-cgi |
|
| Chainguard | Chainguard | php-8.3-cgi |
|
| Chainguard | Chainguard | php-8.3-config |
|
| Chainguard | Chainguard | php-8.3-config |
|
| Chainguard | Chainguard | php-8.3-ctype |
|
| Chainguard | Chainguard | php-8.3-ctype |
|
| Chainguard | Chainguard | php-8.3-ctype-config |
|
| Chainguard | Chainguard | php-8.3-ctype-config |
|
| Chainguard | Chainguard | php-8.3-curl |
|
| Chainguard | Chainguard | php-8.3-curl |
|
| Chainguard | Chainguard | php-8.3-curl-config |
|
| Chainguard | Chainguard | php-8.3-curl-config |
|
| Chainguard | Chainguard | php-8.3-dbg |
|
| Chainguard | Chainguard | php-8.3-dbg |
|
| Chainguard | Chainguard | php-8.3-dev |
|
| Chainguard | Chainguard | php-8.3-dev |
|
| Chainguard | Chainguard | php-8.3-doc |
|
| Chainguard | Chainguard | php-8.3-doc |
|
| Chainguard | Chainguard | php-8.3-dom |
|
| Chainguard | Chainguard | php-8.3-dom |
|
| Chainguard | Chainguard | php-8.3-dom-config |
|
| Chainguard | Chainguard | php-8.3-dom-config |
|
| Chainguard | Chainguard | php-8.3-exif |
|
| Chainguard | Chainguard | php-8.3-exif |
|
| Chainguard | Chainguard | php-8.3-exif-config |
|
| Chainguard | Chainguard | php-8.3-exif-config |
|
| Chainguard | Chainguard | php-8.3-fileinfo |
|
| Chainguard | Chainguard | php-8.3-fileinfo |
|
| Chainguard | Chainguard | php-8.3-fileinfo-config |
|
| Chainguard | Chainguard | php-8.3-fileinfo-config |
|
| Chainguard | Chainguard | php-8.3-fpm |
|
| Chainguard | Chainguard | php-8.3-fpm |
|
| Chainguard | Chainguard | php-8.3-fpm-config |
|
| Chainguard | Chainguard | php-8.3-fpm-config |
|
| Chainguard | Chainguard | php-8.3-frankenphp |
|
| Chainguard | Chainguard | php-8.3-frankenphp |
|
| Chainguard | Chainguard | php-8.3-frankenphp-cli |
|
| Chainguard | Chainguard | php-8.3-frankenphp-cli |
|
| Chainguard | Chainguard | php-8.3-frankenphp-dev |
|
| Chainguard | Chainguard | php-8.3-frankenphp-dev |
|
| Chainguard | Chainguard | php-8.3-frankenphp-doc |
|
| Chainguard | Chainguard | php-8.3-frankenphp-doc |
|
| Chainguard | Chainguard | php-8.3-frankenphp-pear |
|
| Chainguard | Chainguard | php-8.3-frankenphp-pear |
|
| Chainguard | Chainguard | php-8.3-frankenphp-src |
|
| Chainguard | Chainguard | php-8.3-frankenphp-src |
|
| Chainguard | Chainguard | php-8.3-ftp |
|
| Chainguard | Chainguard | php-8.3-ftp |
|
| Chainguard | Chainguard | php-8.3-ftp-config |
|
| Chainguard | Chainguard | php-8.3-ftp-config |
|
| Chainguard | Chainguard | php-8.3-gd |
|
| Chainguard | Chainguard | php-8.3-gd |
|
| Chainguard | Chainguard | php-8.3-gd-config |
|
| Chainguard | Chainguard | php-8.3-gd-config |
|
| Chainguard | Chainguard | php-8.3-gettext |
|
| Chainguard | Chainguard | php-8.3-gettext |
|
| Chainguard | Chainguard | php-8.3-gettext-config |
|
| Chainguard | Chainguard | php-8.3-gettext-config |
|
| Chainguard | Chainguard | php-8.3-gmp |
|
| Chainguard | Chainguard | php-8.3-gmp |
|
| Chainguard | Chainguard | php-8.3-gmp-config |
|
| Chainguard | Chainguard | php-8.3-gmp-config |
|
| Chainguard | Chainguard | php-8.3-iconv |
|
| Chainguard | Chainguard | php-8.3-iconv |
|
| Chainguard | Chainguard | php-8.3-iconv-config |
|
| Chainguard | Chainguard | php-8.3-iconv-config |
|
| Chainguard | Chainguard | php-8.3-intl |
|
| Chainguard | Chainguard | php-8.3-intl |
|
| Chainguard | Chainguard | php-8.3-intl-config |
|
| Chainguard | Chainguard | php-8.3-intl-config |
|
| Chainguard | Chainguard | php-8.3-ldap |
|
| Chainguard | Chainguard | php-8.3-ldap |
|
| Chainguard | Chainguard | php-8.3-ldap-config |
|
| Chainguard | Chainguard | php-8.3-ldap-config |
|
| Chainguard | Chainguard | php-8.3-mbstring |
|
| Chainguard | Chainguard | php-8.3-mbstring |
|
| Chainguard | Chainguard | php-8.3-mbstring-config |
|
| Chainguard | Chainguard | php-8.3-mbstring-config |
|
| Chainguard | Chainguard | php-8.3-mysqli |
|
| Chainguard | Chainguard | php-8.3-mysqli |
|
| Chainguard | Chainguard | php-8.3-mysqli-config |
|
| Chainguard | Chainguard | php-8.3-mysqli-config |
|
| Chainguard | Chainguard | php-8.3-mysqlnd |
|
| Chainguard | Chainguard | php-8.3-mysqlnd |
|
| Chainguard | Chainguard | php-8.3-mysqlnd-config |
|
| Chainguard | Chainguard | php-8.3-mysqlnd-config |
|
| Chainguard | Chainguard | php-8.3-odbc |
|
| Chainguard | Chainguard | php-8.3-odbc |
|
| Chainguard | Chainguard | php-8.3-odbc-config |
|
| Chainguard | Chainguard | php-8.3-odbc-config |
|
| Chainguard | Chainguard | php-8.3-opcache |
|
| Chainguard | Chainguard | php-8.3-opcache |
|
| Chainguard | Chainguard | php-8.3-opcache-config |
|
| Chainguard | Chainguard | php-8.3-opcache-config |
|
| Chainguard | Chainguard | php-8.3-openssl |
|
| Chainguard | Chainguard | php-8.3-openssl |
|
| Chainguard | Chainguard | php-8.3-openssl-config |
|
| Chainguard | Chainguard | php-8.3-openssl-config |
|
| Chainguard | Chainguard | php-8.3-pcntl |
|
| Chainguard | Chainguard | php-8.3-pcntl |
|
| Chainguard | Chainguard | php-8.3-pcntl-config |
|
| Chainguard | Chainguard | php-8.3-pcntl-config |
|
| Chainguard | Chainguard | php-8.3-pdo |
|
| Chainguard | Chainguard | php-8.3-pdo |
|
| Chainguard | Chainguard | php-8.3-pdo-config |
|
| Chainguard | Chainguard | php-8.3-pdo-config |
|
| Chainguard | Chainguard | php-8.3-pdo_dblib |
|
| Chainguard | Chainguard | php-8.3-pdo_dblib |
|
| Chainguard | Chainguard | php-8.3-pdo_dblib-config |
|
| Chainguard | Chainguard | php-8.3-pdo_dblib-config |
|
| Chainguard | Chainguard | php-8.3-pdo_mysql |
|
| Chainguard | Chainguard | php-8.3-pdo_mysql |
|
| Chainguard | Chainguard | php-8.3-pdo_mysql-config |
|
| Chainguard | Chainguard | php-8.3-pdo_mysql-config |
|
| Chainguard | Chainguard | php-8.3-pdo_odbc |
|
| Chainguard | Chainguard | php-8.3-pdo_odbc |
|
| Chainguard | Chainguard | php-8.3-pdo_odbc-config |
|
| Chainguard | Chainguard | php-8.3-pdo_odbc-config |
|
| Chainguard | Chainguard | php-8.3-pdo_pgsql |
|
| Chainguard | Chainguard | php-8.3-pdo_pgsql |
|
| Chainguard | Chainguard | php-8.3-pdo_pgsql-config |
|
| Chainguard | Chainguard | php-8.3-pdo_pgsql-config |
|
| Chainguard | Chainguard | php-8.3-pdo_sqlite |
|
| Chainguard | Chainguard | php-8.3-pdo_sqlite |
|
| Chainguard | Chainguard | php-8.3-pdo_sqlite-config |
|
| Chainguard | Chainguard | php-8.3-pdo_sqlite-config |
|
| Chainguard | Chainguard | php-8.3-pear |
|
| Chainguard | Chainguard | php-8.3-pear |
|
| Chainguard | Chainguard | php-8.3-pgsql |
|
| Chainguard | Chainguard | php-8.3-pgsql |
|
| Chainguard | Chainguard | php-8.3-pgsql-config |
|
| Chainguard | Chainguard | php-8.3-pgsql-config |
|
| Chainguard | Chainguard | php-8.3-phar |
|
| Chainguard | Chainguard | php-8.3-phar |
|
| Chainguard | Chainguard | php-8.3-phar-config |
|
| Chainguard | Chainguard | php-8.3-phar-config |
|
| Chainguard | Chainguard | php-8.3-posix |
|
| Chainguard | Chainguard | php-8.3-posix |
|
| Chainguard | Chainguard | php-8.3-posix-config |
|
| Chainguard | Chainguard | php-8.3-posix-config |
|
| Chainguard | Chainguard | php-8.3-simplexml |
|
| Chainguard | Chainguard | php-8.3-simplexml |
|
| Chainguard | Chainguard | php-8.3-simplexml-config |
|
| Chainguard | Chainguard | php-8.3-simplexml-config |
|
| Chainguard | Chainguard | php-8.3-soap |
|
| Chainguard | Chainguard | php-8.3-soap |
|
| Chainguard | Chainguard | php-8.3-soap-config |
|
| Chainguard | Chainguard | php-8.3-soap-config |
|
| Chainguard | Chainguard | php-8.3-sockets |
|
| Chainguard | Chainguard | php-8.3-sockets |
|
| Chainguard | Chainguard | php-8.3-sockets-config |
|
| Chainguard | Chainguard | php-8.3-sockets-config |
|
| Chainguard | Chainguard | php-8.3-sodium |
|
| Chainguard | Chainguard | php-8.3-sodium |
|
| Chainguard | Chainguard | php-8.3-sodium-config |
|
| Chainguard | Chainguard | php-8.3-sodium-config |
|
| Chainguard | Chainguard | php-8.3-sysvsem |
|
| Chainguard | Chainguard | php-8.3-sysvsem |
|
| Chainguard | Chainguard | php-8.3-sysvsem-config |
|
| Chainguard | Chainguard | php-8.3-sysvsem-config |
|
| Chainguard | Chainguard | php-8.3-sysvshm |
|
| Chainguard | Chainguard | php-8.3-sysvshm |
|
| Chainguard | Chainguard | php-8.3-sysvshm-config |
|
| Chainguard | Chainguard | php-8.3-sysvshm-config |
|
| Chainguard | Chainguard | php-8.3-tidy |
|
| Chainguard | Chainguard | php-8.3-tidy |
|
| Chainguard | Chainguard | php-8.3-tidy-config |
|
| Chainguard | Chainguard | php-8.3-tidy-config |
|
| Chainguard | Chainguard | php-8.3-xml |
|
| Chainguard | Chainguard | php-8.3-xml |
|
| Chainguard | Chainguard | php-8.3-xml-config |
|
| Chainguard | Chainguard | php-8.3-xml-config |
|
| Chainguard | Chainguard | php-8.3-xmlreader |
|
| Chainguard | Chainguard | php-8.3-xmlreader |
|
| Chainguard | Chainguard | php-8.3-xmlreader-config |
|
| Chainguard | Chainguard | php-8.3-xmlreader-config |
|
| Chainguard | Chainguard | php-8.3-xmlwriter |
|
| Chainguard | Chainguard | php-8.3-xmlwriter |
|
| Chainguard | Chainguard | php-8.3-xmlwriter-config |
|
| Chainguard | Chainguard | php-8.3-xmlwriter-config |
|
| Chainguard | Chainguard | php-8.3-xsl |
|
| Chainguard | Chainguard | php-8.3-xsl |
|
| Chainguard | Chainguard | php-8.3-xsl-config |
|
| Chainguard | Chainguard | php-8.3-xsl-config |
|
Showing 200 of 1562 entries. Source: OSV.dev, licensed CC BY 4.0.
Vendors and products
Affected operating systems
| Linux | debian | php8.4 | trixie |
Weakness classes (CWE)
CWE-416Use After Free
Variant
The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.
Entry at MITRE CWE-416CWE-459Incomplete Cleanup
Base
The product does not properly "clean up" and remove temporary or supporting resources after they have been used.
Entry at MITRE CWE-459
References & sources
- github.comphp/php-src/security/advisories/GHSA-g3vh-838c-65v7Vendor advisory, euvd
- cert.atCERT.at: Kritische Sicherheitslücken in PHP - Updates verfügbarcert-at
Changes to this CVE
Who changed this CVE and when: NVD (analysis, affected products, CVSS), the CVE publisher (CNA) and additional providers such as CISA (ADP).
Record modifiedCISA ADP
CISA assessment (SSVC): exploitation: none known, automatable: no
Show the original change
Individual changes of this event as published by NVD Type Action Before After SSVC assessment added —{"id":"CVE-2026-129481","role":"CISA Coordinator","options":[{"exploitation":"none"},{"automatable":"no"},{"technicalImpact":"total"}],"version":"2.0.3","timestamp":"2026-11-19T16:22:56.472131Z"}Source identifier: 134c704f-9b21-4f2e-91b3-4a467353bcc0
ReceivedPHP
CVSS V4.0: AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Weakness type: CWE-416, CWE-459
Description added or changed
Show 6 original changes
Individual changes of this event as published by NVD Type Action Before After Description added —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.CVSS added —AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:XWeakness type (CWE) added —CWE-416Weakness type (CWE) added —CWE-459Affected versions (publisher) added —New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/129xxx/CVE-2026-129481.json">CVE-2026-129481</a>Reference added —https://github.com/php/php-src/security/advisories/GHSA-g3vh-838c-65v7Source identifier: security@php.net
Embed badge
Show the severity and KEV status of this vulnerability on your site – with a link back here. The image is updated hourly.
<a href="https://intel.neosec.eu/en/cve/CVE-2026-129481"><img src="https://intel.neosec.eu/badge/cve/CVE-2026-129481.svg?lang=en" alt="CVE-2026-129481 – NEOSEC Intel" height="20"></a>