Double free in FrankenPHP worker mode via non-form POST requests
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
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
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
- 2026-11-13 Threatist record created from CVE-2026-128017
- 2026-11-13 Alias added: GHSA-cwwm-gfxf-5342
- 2026-11-13 CISA SSVC decision points changed
References
Patch 1
More PHP vulnerabilities
- 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
Sources
- CVE-2026-128017 · CVE Program
- CVE-2026-128017 · NVD
- FIRST EPSS
- GHSA-cwwm-gfxf-5342 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences