Use-After-Free Vulnerability in PHP Affecting Memory Management

Patch this weekFull system takeover over the network, no login needed.
9.2CRITICAL

Key Information:

Vendor

PHP Group

Status
PHP
CVE ID
CVE ID:
CVE-2026-129481
Vendor
CVE Published:
19 November 2026
Fixed in
Fixed in:
8.3.37, 8.4.28, 8.5.13

Timeline

Exploit known 7 days after it was published

  • 🟑

    Public PoC available

  • πŸ‘Ύ

    Exploit known to exist

  • Vulnerability published

  • Vulnerability Reserved

Badges

πŸ‘Ύ Exploit Exists🟑 Public PoC

How risky is it?

  • Yes: Works over the network, no login needed
  • Yes: Public exploit code (1 proof-of-concept)
  • No: Not on CISA's exploited list
  • No: No ransomware use seen

Our verdict

Patch this week

Exploitation is likely. Prioritise the fix.

What to do

1Update to a fixed version
PHP 8.3.0 to below 8.3.37 is vulnerable
PHP 8.4.0 to below 8.4.28 is vulnerable
PHP 8.5.0 to below 8.5.13 is vulnerable

Install the PHP release that fixes your version line, or later:

8.3.378.4.288.5.13
Read the vendor advisory β†—
2Can't patch yet? Reduce exposure

It can be reached over the network, so limit who can reach PHP. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.

3Look for signs of compromise

Exploit code is public, so check logs on exposed PHP systems for unusual requests or new processes from before you patched. The 1 public proof-of-concept show what an attack looks like.

4Why it's rated "Patch this week"
  • Exploit code is public, so attacks are easy to copy.
  • It can be exploited remotely without credentials.
  • Its CVSS severity is critical (9.2).

What is CVE-2026-129481?

This vulnerability arises from a use-after-free condition during session shutdown following a fatal error in an application callback. In instances where session variables are destroyed and user-defined stream wrappers are involved, a pointer may be retained even after memory has been freed. An attacker leveraging this flaw can potentially cause worker crashes or memory corruption. Although direct code execution has not been confirmed, the risk remains significant, particularly under certain memory allocation conditions during request handling.

Exploit Proof of Concept (PoC)

PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.

References

Request Smuggling in PHP-FPM

CVE-2026-129289
PHP GroupPHPπŸ‘Ύ9.2CRITICAL

Use-After-Free Vulnerability in PHP Affects Multiple Versions and Releases

CVE-2026-129496
PHP GroupPHPπŸ˜„πŸ‘Ύ9.2CRITICAL

Remote Code Execution Vulnerability in PHP Session Management

CVE-2026-126714
PHP GroupPHPπŸ”₯πŸ˜„πŸ‘Ύ9.2CRITICAL
View more PHP Group vulnerabilities...

Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities Β· Report a correction

EPSS Score

8% chance of being exploited in the next 30 days.

CVSS V4

Score:
9.2
Severity:
CRITICAL
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
High
Attack Required:
Physical
Privileges Required:
Undefined
User Interaction:
None

Credit

Saad FELLAHI
Bryan Porras
Arnaud Le Blanc
Jakub Zelenka
Ilija Tovilo
.