Skip to main content

FrankenPHP EUVDEUVD-2026-125084

| CVE-2026-128018 MEDIUM
Improper Resource Shutdown or Release (CWE-404)
2026-11-13 VulnCheck GHSA-xvmj-pj62-9cmx
6.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Send request to worker-mode endpoint
  2. Exploit
    Induce fatal error during request startup
  3. Impact
    Pending request left unfinished, client hangs indefinitely

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Resource release
Exploitation Conditions

Exploitation requires FrankenPHP running in worker mode (not classic request-per-process mode) AND a worker script that continues calling frankenphp_handle_request() even after it returns false - a pattern the vendor notes common worker scripts avoid, since documented scripts stop the loop on a false return. An attacker must also trigger a PHP fatal error specifically during request startup, before application code runs; the vendor notes PHP 8.2.35/8.3.36/8.4.27/8.5.12 and later defer memory-limit errors out of this phase, making the condition harder to reach. The limiting factors are therefore: non-default worker-loop coding, the narrow startup-phase window for the fatal error, and the recent PHP versions that reduce reachable triggers. Impact is confined to availability (hanging client requests / stuck worker handling), with no confidentiality or integrity effect. The exact way an attacker induces the startup fatal error is not described in the available sources.

Impact

This is a genuine but low-urgency availability issue, best characterized as a high-CVSS-class-of-bug that carries modest real-world risk due to strict preconditions. The CVSS 4.0 vector (AV:N/AC:H/AT:P/PR:N/UI:N) shows network reach with no authentication, but both AC:H and AT:P signal that successful exploitation is conditional and not reliably attacker-controlled, and the only impact is VA:L - a limited availability degradation, not a full outage. The vuln.today decision label is 'this_month' rather than act_now/emergency, and there is no CISA KEV listing and no EPSS score supplied, which is consistent with a non-widespread, non-actively-exploited issue. No confirmed working exploit code is present; VulnCheck published an advisory (reference included) but the input does not mark a PoC as confirmed. Critically, the GHSA advisory itself states exploitation requires BOTH a fatal error during request startup AND a worker script that keeps calling frankenphp_handle_request() after it returns false - and that recent PHP builds (8.2.35, 8.3.36, 8.4.27, 8.5.12+) defer memory-limit errors away from startup, making the trigger harder, while common worker scripts already stop on a false return. Net: real and patch-worthy, but prioritize as routine remediation rather than emergency.

Exploit ScenarioDerived

An attacker repeatedly sends requests to a FrankenPHP worker-mode endpoint, aiming to induce a fatal error during the request-startup phase (before application code runs). If the deployed worker script ignores the false return from frankenphp_handle_request() and loops to call it again, the originating client request is never finished and hangs indefinitely while the worker keeps running. No confirmed working exploit code is identified; VulnCheck has published an advisory for the issue.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 13, 2026

Denial of service in FrankenPHP worker mode allows client requests to hang indefinitely when a fatal error occurs during request startup: frankenphp_handle_request() returns false without closing the request it dequeued, so any worker script that keeps calling the function leaves the original client waiting forever while the worker keeps running. All releases from 0 through 1.13.3 are affected (CPE cpe:2.3:a:php:frankenphp, Go module go/github.com/dunglas/frankenphp <= 1.13.3), and the vendor has released 1.13.4 as the fix. Unauthenticated remote attackers can reach the defect (PR:N), but exploitation is rated difficult (AC:H/AT:P) because it requires non-standard worker-loop coding, a fatal error confined to the pre-application startup phase, and is harder to trigger on PHP 8.2.35, 8.3.36, 8.4.27, 8.5.12 and later, which defer memory-limit errors out of that phase; impact is availability-only with no confidentiality or integrity effect, and no public exploit has been identified at time of analysis.

RemediationAI

Upgrade to FrankenPHP 1.13.4, which the vendor identifies as the complete fix; the change is in commit 185bfe578af854d29d7bdff3dd83b3b9dea3572b (https://github.com/php/frankenphp/commit/185bfe578af854d29d7bdff3dd83b3b9dea3572b) and documented in GHSA-x6j6-qv7w-fq3c, with the Go module go/github.com/dunglas/frankenphp moving from the vulnerable <= 1.13.3 range to 1.13.4. Where an immediate upgrade is not possible, the vendor's stated workaround is to stop the worker loop as soon as frankenphp_handle_request() returns false, matching the worker mode documentation; the trade-off is that the worker process exits on any startup failure, so it must be restarted by a process supervisor and briefly stops serving requests, and any code that currently keeps calling the function after a false return must be rewritten. Running on PHP 8.2.35, 8.3.36, 8.4.27, 8.5.12 or later also reduces exposure by deferring memory-limit errors out of the request-startup phase, but this lowers reachability rather than removing the defect, so the 1.13.4 update remains the only complete remedy.

Affected VersionsENISA

frankenphp 0 <1.13.4

Affected Packages

euvd frankenphp fix: 1.13.4

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

FrankenPHP embeds the PHP interpreter in a Go-based application server, and its worker mode keeps a PHP script alive across many requests: the script loops on the C-level PHP function frankenphp_handle_request(), which pops a request from the queue, runs sapi_activate()/request startup, executes the application, and then deactivates. The defect is an instance of CWE-404 (Improper Resource Shutdown or Release), with the advisory also classifying it as CWE-755 (Improper Handling of Exceptional Conditions): when frankenphp_worker_request_startup() returned FAILURE because of a fatal error raised before application code ran, the function returned false to the worker without finishing the already-dequeued request, breaking the intended balance between sapi_activate() and sapi_deactivate(). The fix in commit 185bfe578af854d29d7bdff3dd83b3b9dea3572b restructures the function so a startup failure triggers zend_bailout(), deliberately ending the script because the engine cannot run userland code after a caught bailout, which closes the pending request; the shutdown-detection branch is separated into a distinct check on the request result. The trigger is narrow: the fatal error must land in the request-startup window, before the application runs, and the worker must keep looping after a false return, which the vendor notes documented worker scripts do not do. The available sources do not describe how an attacker induces that startup fatal error, and newer PHP patch releases move memory-limit errors out of the startup phase, shrinking the set of reachable triggers.

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

Vendor (VulnCheck) PRIMARY 6.3 MEDIUM
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
vuln.today AI 3.7 LOW

Network-reachable and unauthenticated (AV:N/PR:N), but AC:H reflects the required startup fatal error plus a non-conforming worker loop; only limited availability impact (A:L), no C/I effect.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
4.0 AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
High
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

FrankenPHP before 1.13.4 contains a denial of service vulnerability in worker mode where frankenphp_handle_request() returns false without finishing the dequeued request after a fatal error during request startup. Attackers who trigger startup fatal errors against worker scripts that keep calling frankenphp_handle_request() can leave client requests hanging indefinitely while the worker continues running.

Threat Intelligence Overview

EPSS Score
0.4%
Top 62% exploitable
Prevalence
Low
modern niche PHP app server, limited production footprint versus nginx/Apache
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

CVE-2026-24895 CRITICAL POC
9.8 Feb 12

CGI path splitting vulnerability in FrankenPHP before 1.11.2 — Unicode characters bypass path validation during CGI proc

CVE-2026-24894 HIGH POC
7.5 Feb 12

FrankenPHP versions prior to 1.11.2 fail to properly isolate session data between worker requests, enabling cross-user s

CVE-2026-128027 CRITICAL
9.3 Nov 13

FrankenPHP Docker images before 1.1.11 were built only when an upstream base-image tag was created, so when Alpine, PHP,

CVE-2026-128014 CRITICAL
9.2 Nov 13

FrankenPHP standalone static binaries 1.8.0 through 1.13.1 can be crashed by a single unauthenticated request when appli

CVE-2026-128023 CRITICAL
9.1 Nov 13

An authentication bypass in FrankenPHP before 1.13.0 lets unauthenticated remote attackers spoof any trusted dash-form r

CVE-2026-128015 HIGH
8.3 Nov 13

A use-after-free in FrankenPHP releases before 1.13.4 leaves a dangling thread-local pointer to a freed environment sand

CVE-2026-128016 HIGH
8.3 Nov 13

Use-after-free in FrankenPHP worker mode (versions up to and including 1.13.3) lets remote clients trigger reads of free

CVE-2026-128024 HIGH
8.2 Nov 13

FrankenPHP releases before 1.13.0 abort the entire server process - every vhost, worker and in-flight request - when a c

CVE-2026-128020 HIGH
8.2 Nov 13

Uncontrolled recursion in FrankenPHP's PHP-to-Go array converter crashes the entire server process, giving a process-wid

CVE-2026-82416 HIGH
7.7 Oct 13

Unauthenticated remote attackers can obtain another client's PHP session identifier from FrankenPHP worker mode before 1

CVE-2026-128022 MEDIUM
6.9 Nov 13

Denial of service in FrankenPHP releases up to and including 1.13.1 allows unauthenticated remote clients to tie up the

CVE-2026-128025 MEDIUM
6.9 Nov 13

Unauthenticated remote attackers can bypass extension-based execution protections in FrankenPHP before 1.13.0 and cause

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy