Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend repeated JSON POST requests
-
ExploitWorker script ends loop after non-form POST
-
Executioncontent_type_dup freed twice during shutdown
-
ImpactSystem allocator (USE_ZEND_ALLOC=0) aborts worker process
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Double free prevention
|
| Exploitation Conditions | Exploitation requires all of: FrankenPHP running in worker mode (classic mode is not affected); the worker script ending its own loop rather than relying on FrankenPHP's max_requests (default in Symfony Runtime and Laravel Octane, which end the loop every 500 requests); a non-form POST request whose Content-Type is not a form (JSON, XML, plain text), since PHP itself clears content_type_dup for form requests; and the host running with USE_ZEND_ALLOC=0, typically only set with some profilers and memory debuggers. Limiting factors: with PHP's default allocator no visible effect was observed, so the crash is confined to USE_ZEND_ALLOC=0 deployments; and restarts handled by FrankenPHP (max_requests, graceful shutdown, file watcher, admin API) are not affected. |
| Impact | Real-world risk is low despite the network, unauthenticated vector. The CVSS 4.0 vector (AV:N/AC:H/AT:P/PR:N/UI:N) and the 6.3 Medium score agree with the advisory: the only impact is availability (VA:L) - a double free (CWE-415) that can abort the worker process - with no confidentiality or integrity effect, which directly contradicts the 'Information Disclosure' tag in the input. The high attack complexity (AC:H) and attack requirement (AT:P) reflect that a visible crash only occurs when USE_ZEND_ALLOC=0 is set, a non-default allocator mode normally used only with profilers/memory debuggers; the vendor states that with PHP's default allocator no visible effect was observed. No KEV listing and no EPSS score were provided, consistent with no confirmed active exploitation. A public PoC reference exists in the GHSA advisory; it is not verified as working weaponized exploit code. The vuln.today decision label is 'this_month', not act_now/emergency, matching a limited-impact, config-dependent denial-of-service rather than a widespread critical flaw. |
| Exploit ScenarioDerived | An unauthenticated attacker repeatedly sends non-form POST requests (Content-Type application/json, XML, or plain text) to a FrankenPHP worker-mode application such as one built on Symfony Runtime or Laravel Octane, which end the worker loop every 500 requests by default. When the loop ends right after such a request, SG(request_info).content_type_dup is freed twice; on a host running with USE_ZEND_ALLOC=0 the system allocator detects the double free and aborts the whole process. A public PoC reference exists in the advisory; with PHP's default allocator no visible effect was observed, and high complexity stems from the required non-default allocator setting. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 13, 2026
A double free in FrankenPHP worker mode (CWE-415) is fixed in 1.13.4: when a worker script ends its own request loop immediately after serving a POST request whose Content-Type is not a form (JSON, XML, plain text), the same pointer is released twice during shutdown. Affected are FrankenPHP releases up to and including 1.13.3 running in worker mode; classic mode and restarts handled by FrankenPHP itself (max_requests, graceful shutdown, file watcher, admin API) are not affected. The observable impact is a process abort, and only on hosts that run with USE_ZEND_ALLOC=0 - with PHP's default allocator no visible effect was observed - so real-world risk is low despite the remote, unauthenticated CVSS 3.1 vector (AV:N/AC:H/PR:N/UI:N/A:L); no active exploitation (CISA KEV) is recorded, and a proof-of-concept snippet is included in the vendor advisory but has not been verified as working exploit code. Priority is this_month.
RemediationAI
Vendor-released patch: FrankenPHP 1.13.4, which clears SG(request_info).content_type_dup, current_user and current_user_length after each worker request (commit https://github.com/php/frankenphp/commit/8777cc2e5c872ebb869fa2b5f972a913648621e8); upgrade both the binary and the go/github.com/dunglas/frankenphp module to 1.13.4, as detailed in https://github.com/php/frankenphp/security/advisories/GHSA-h764-4wh7-m7j2. If upgrading is not immediately possible, the vendor lists two workarounds: do not run worker mode with USE_ZEND_ALLOC=0 (this removes the crash path but also removes the diagnostic capability that profilers and memory debuggers rely on, so those tools must be pointed at a non-production environment or run without it), or use FrankenPHP's max_requests option instead of ending the loop inside the worker script (restarts handled by FrankenPHP are not affected, but this changes the application's request-recycling behaviour and must be validated against the Symfony Runtime or Laravel Octane defaults of ending the loop every 500 requests). Running in classic mode avoids the issue entirely at the cost of the performance benefits of worker mode. No public exploitation is recorded, and the vendor reports the practical effect is confined to USE_ZEND_ALLOC=0 hosts, so patching can be scheduled within the current monthly maintenance window.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw lives in the interaction between PHP's SAPI shutdown path and FrankenPHP's per-request worker lifecycle. PHP's sapi_deactivate() frees SG(request_info).content_type_dup and SG(request_info).current_user but does not clear those pointers (addressed in php-src starting with PHP 8.6). FrankenPHP calls sapi_deactivate() after each worker request, and when the worker script returns php_request_shutdown() invokes it again without a new request having repopulated the fields in between - a classic CWE-415 double free. For form-encoded requests PHP clears content_type_dup itself, which is why only non-form content types (JSON, XML, plain text) can trigger the bug. The upstream fix commit 8777cc2e5c872ebb869fa2b5f972a913648621e8 sets SG(request_info).content_type_dup, current_user and current_user_length to NULL/0 after each worker request, mirroring php-src 8.6 behaviour, and adds a regression test (TestWorkerScriptEndsAfterNonFormPost) sending a JSON POST to a worker that ends its loop. Exploitation requires all of: worker mode, a worker script that ends its own loop rather than relying on max_requests (Symfony Runtime and Laravel Octane end the loop every 500 requests by default), a non-form POST, and USE_ZEND_ALLOC=0, typically only set together with some profilers and memory debuggers; with the default allocator no visible effect was observed.
Know when Frankenphp gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Network unauthenticated JSON POST gives AV:N/PR:N/UI:N; dependence on non-default USE_ZEND_ALLOC=0 and loop-end timing gives AC:H; only a process abort yields A:L with no C/I.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
More in Frankenphp
View allCGI path splitting vulnerability in FrankenPHP before 1.11.2 — Unicode characters bypass path validation during CGI proc
FrankenPHP versions prior to 1.11.2 fail to properly isolate session data between worker requests, enabling cross-user s
FrankenPHP Docker images before 1.1.11 were built only when an upstream base-image tag was created, so when Alpine, PHP,
FrankenPHP standalone static binaries 1.8.0 through 1.13.1 can be crashed by a single unauthenticated request when appli
An authentication bypass in FrankenPHP before 1.13.0 lets unauthenticated remote attackers spoof any trusted dash-form r
A use-after-free in FrankenPHP releases before 1.13.4 leaves a dangling thread-local pointer to a freed environment sand
Use-after-free in FrankenPHP worker mode (versions up to and including 1.13.3) lets remote clients trigger reads of free
FrankenPHP releases before 1.13.0 abort the entire server process - every vhost, worker and in-flight request - when a c
Uncontrolled recursion in FrankenPHP's PHP-to-Go array converter crashes the entire server process, giving a process-wid
Unauthenticated remote attackers can obtain another client's PHP session identifier from FrankenPHP worker mode before 1
Denial of service in FrankenPHP releases up to and including 1.13.1 allows unauthenticated remote clients to tie up the
Unauthenticated remote attackers can bypass extension-based execution protections in FrankenPHP before 1.13.0 and cause
EUVD-2026-125085
GHSA-cwwm-gfxf-5342
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB