SecurityContext

CVE-2026-129481: PHP - Use-After-Free

  • Cve: CVE-2026-129481
  • Name: PHP - Use-After-Free
  • 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.
  • Impact: Attackers can crash the worker or corrupt memory, potentially leading to denial of service; code execution has not been demonstrated.
  • Remediation: Update to PHP 8.3.37, 8.4.28, 8.5.13 or latest available version.
  • Vulnerability type: use_after_free
  • Vulnerability impact: denial_of_service
  • Requirements: Filename must be allocated in request memory, e.g., script not cached by OPcache
  • Labels source: securitycontext
  • Severity: critical
  • Cvss score: 9.2
  • Cvss vector: 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/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:X
  • Epss score: 0.03539
  • Epss percentile: 0.8957
  • Assignee: [email protected]
  • Published at: 2026-11-19T15:17:28Z
  • Age in days: 5
  • Modified at: 2026-11-19T21:45:12Z
  • Patch available: yes
  • References total: 1
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-129481
  • Nvd status: awaiting_analysis
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirement type, hackerone

Cwe

IdName
CWE-416Use After Free

References

UrlSourceTags
https://github.com/php/php-src/security/advisories/GHSA-g3vh-838c-65v7nvd

Products

ProductAffectedPlatform boundSourcesUrl
php:php>= 8.5.0, < 8.5.13; >= 8.4.0, < 8.4.28; >= 8.3.0, < 8.3.37nocna_cpes/v1/products/php/php

Projects

RepositoryLink kindsIndexedUrl
php/php-srcsecurity_advisoryyes/v1/repositories/php/php-src

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Exposed hosts: 6200906
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports

Watchlists

SourceStatusUrlListed onTitle
zero_wireprioritize_patchinghttps://radar.cloudflare.com/zero-wire/php-november-2026-security-release-phpaftershell2026-11-19phpAfterShell and six other PHP critical flaws