Read the docs

Use-after-free in FrankenPHP worker mode reads freed memory

Priority LOW 36CWE-416Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
High
Attack requirements
Present
Impact type
—
Confidentiality · integrity · availability
Low · None · High
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA.

Summary

FrankenPHP from 0 before 1.13.4 contains a use-after-free flaw (CWE-416) in worker mode. Internal streams of SplTempFileObject or SplFileObject on php://temp instances survive across requests and are freed while still in use. A remote client without privileges can send requests that reach code using these persisted objects, reading freed memory that leaks garbage data or crashes the process.

Written with Claude Haiku 5.5 from the sources below · 2026-11-13

Description from the CNA

FrankenPHP before 1.13.4 contains a use-after-free vulnerability in worker mode that frees internal streams of SplTempFileObject or SplFileObject on php://temp instances surviving across requests. Remote clients can send requests reaching code that uses such persisted objects, causing reads of freed memory that leak garbage data or crash the process.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00423 37th percentileScored 2026-11-16
Fix Fixed frankenphp (php): 1.13.4

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
PHPfrankenphpbefore 1.13.41.13.4Patch availableCNA
  • frankenphp VendorPHP Affected before 1.13.4 Fixed in 1.13.4 Patch available CNA

Remediation

Upgrade FrankenPHP to version 1.13.4, which fixes this flaw.

Written with Claude Haiku 5.5 from the sources below · 2026-11-13

  • Fix · CNA frankenphp (php) Fixed in 1.13.4

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Release ·

    php frankenphp 1.13.4

    5 records Highest priority Priority MEDIUM 1 MEDIUM, 4 LOW

    Other records, highest priority first

    • TI-2026-91431 Double free in FrankenPHP worker mode via non-form POST requestsPriority MEDIUM 61
    • TI-2026-91429 Use-after-free in FrankenPHP putenv() during request shutdownPriority LOW 36
    • TI-2026-91433 FrankenPHP worker mode leaks environment variables between requestsPriority LOW 28

Timeline

  1. 2026-11-13 Threatist record created from CVE-2026-128016
  2. 2026-11-13 Alias added: GHSA-f45r-jvx9-jfvx
  3. 2026-11-13 CISA SSVC decision points changed

References

  • TI-2024-04260 Argument injection in PHP-CGI on Windows lets attackers pass options KEVCVSS 3.1CRITICAL 9.8
  • TI-2019-08259 Buffer underflow in PHP-FPM allows remote code execution KEVCVSS 3.1CRITICAL 9.8
  • TI-2016-08118 Argument injection in PHPMailer isMail transport allows code execution KEVCVSS 3.1CRITICAL 9.8
  • TI-2012-01607 Argument injection in PHP CGI binary allows remote code execution KEVCVSS 3.1CRITICAL 9.8
  • TI-2026-78794 Stale global state enables remote code execution in PHP KEVCVSS 4.0CRITICAL 9.2
  • TI-2026-78793 Out-of-memory error handling in PHP allows remote code execution KEVCVSS 4.0CRITICAL 9.2
See all 791 →

Sources