Read the docs

Double free in FrankenPHP worker mode via non-form POST requests

Priority MEDIUM 61CWE-415Published · Updated

Key facts

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

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

Summary

FrankenPHP before 1.13.4 contains a double free in worker mode, where a worker script that ends its loop after a non-form POST request frees the same content type buffer twice. An unauthenticated remote attacker can send repeated JSON POST requests until the worker loop ends, which aborts the whole process when USE_ZEND_ALLOC=0 is set. The CVSS 4.0 vector rates availability impact as low, and the record lists CWE-415 for this flaw.

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

Description from the CNA

FrankenPHP before 1.13.4 contains a double free vulnerability in worker mode that frees SG(request_info).content_type_dup twice when a worker script ends its loop after a non-form POST request. Unauthenticated attackers can send repeated JSON POST requests until the worker loop ends, aborting the whole process when USE_ZEND_ALLOC=0 is set.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00519 44th percentileScored 2026-11-16
Fix Fixed frankenphp (php): 1.13.4

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
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 or later.

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-91430 Use-after-free in FrankenPHP worker mode reads freed memoryPriority LOW 36
    • 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-128017
  2. 2026-11-13 Alias added: GHSA-cwwm-gfxf-5342
  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