Skip to main content

FrankenPHP EUVDEUVD-2026-125082

| CVE-2026-128020 HIGH
Uncontrolled Recursion (CWE-674)
2026-11-13 VulnCheck GHSA-3wfj-qwvc-xxr4
8.2
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Reach app path that builds a cyclic array
  2. Exploit
    Pass self-referential array to frankenphp_log() or worker return
  3. Execution
    Trigger unbounded recursion in PHP-to-Go converter
  4. Impact
    Fatal Go stack overflow crashes entire process

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Recursion depth limits
Exploitation Conditions

Exploitation requires the running PHP application to construct or propagate a self-referential (cyclic) PHP array and pass it specifically to frankenphp_log() or return it from a worker callback handled by frankenphp_handle_request(); only then does goArray()/goValue() recurse without a visited-set or depth check. Limiting factors: ordinary HTTP request parameters do not create PHP reference cycles, so there is no direct remote trigger against a default app - an attacker needs a reachable application code path that builds/preserves such an array, which the reporter did NOT establish in an unmodified application. Affected versions are FrankenPHP <= 1.13.1 (fixed in 1.13.2). Impact is limited to availability (process-wide crash affecting all sites/endpoints sharing the process); no confidentiality or integrity impact was observed, and no authentication is enforced at the network layer for the trigger itself.

Impact

This is an availability-only, uncontrolled-recursion flaw (CWE-674/CWE-400) in FrankenPHP's PHP-to-Go array converter that crashes the entire server process. The authority CVSS 4.0 vector (AV:N/AC:H/AT:P/PR:N/UI:N) scores 8.2, driven almost entirely by VA:H (process-wide DoS) combined with no network-layer authentication; the AC:H and AT:P metrics correctly signal that successful triggering is not a simple, always-available action. No EPSS score was provided, so statistical exploitation probability cannot be assessed. The flaw is NOT in CISA KEV, so there is no evidence of active exploitation ('no public exploit identified' does not apply because a detailed reproducible PoC is published in the vendor GHSA advisory). The decisive limiting factor, stated explicitly by the reporter, is reachability: ordinary HTTP parameters do not create PHP reference cycles, so a remote attacker needs an application code path that constructs or preserves a self-referential array and passes it to frankenphp_log() or a worker callback return - a path the reporter explicitly says was NOT established in an unmodified application. Net assessment: this is a genuine, confirmed, process-wide availability risk warranting prompt patching (vendor/priority label 'this_week'), but it is application-dependent and not a drive-by remote DoS against default deployments, so the raw 8.2 overstates real-world universal risk. No confidentiality or integrity impact was observed.

Exploit ScenarioDerived

In an application that builds or forwards a self-referential (cyclic) PHP array and passes it to frankenphp_log() or returns it from a worker callback, a request that reaches that path causes the PHP-to-Go converter to recurse without bound and abort the Go runtime with a fatal stack overflow, terminating the whole FrankenPHP process and every unrelated site or endpoint it serves until manual restart. A complete, reproducible PoC (for both the logging and worker-callback paths) is published in the vendor GHSA advisory. Because AC:H/AT:P applies and ordinary HTTP parameters cannot create reference cycles, a remote attacker must find an app-specific route that constructs or preserves such an array; the reporter did not establish that path in an unmodified application.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.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

Uncontrolled recursion in FrankenPHP's PHP-to-Go array converter crashes the entire server process, giving a process-wide denial of service against versions up to and including 1.13.1 (fixed in 1.13.2). The flaw is triggered only when the running PHP application builds or preserves a self-referential array and then passes it to frankenphp_log() as log context or returns it from a worker callback, at which point goArray()/goValue() recurse without a visited-set or depth limit until the Go runtime aborts with a fatal stack overflow; unrelated requests and other sites sharing that process then fail until restart. Ordinary HTTP parameters do not create PHP reference cycles, so a remote attacker needs a reachable application code path that constructs such an array - a path the reporter did not establish in an unmodified application - and impact is availability-only, with no confidentiality or integrity effect observed; the upstream advisory documents a tested reproduction on v1.13.1 (a crash reproduction, not verified working exploit code), and no CISA KEV listing or EPSS score was supplied.

RemediationAI

Upgrade to FrankenPHP 1.13.2, which is the vendor-released fix for this issue; Go deployments should bump github.com/dunglas/frankenphp to 1.13.2 or later, since the module is listed as vulnerable at <= 1.13.1. Rebuild or re-pull the official binaries rather than only editing a manifest, because the crash lives in the compiled converter. Because the trigger is an application-supplied cyclic array rather than a direct HTTP input, audit any code that forwards request-derived or user-influenced structures into frankenphp_log() as context and any worker callback that returns arrays from frankenphp_handle_request(); flatten or copy those values (breaking PHP reference cycles) and enforce the application's own depth limits before they reach the converter, which removes the trigger but leaves the underlying converter unfixed. The available sources describe no configuration-level switch that disables the affected conversion, so updating is the complete fix; as a blast-radius control, note that the crash terminates the whole process and interrupts every site or endpoint it serves, so running untrusted or third-party applications in separate FrankenPHP processes limits collateral damage at the cost of additional process and memory overhead. Details are in GHSA-ccgp-ch9h-533f at https://github.com/php/frankenphp/security/advisories/GHSA-ccgp-ch9h-533f.

Affected VersionsENISA

frankenphp 0 <1.13.2

Affected Packages

euvd frankenphp fix: 1.13.2

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 (Zend engine) inside a Go process. In types.go, goArray() converts each PHP array element through goValue(); when an element is itself a PHP array, goValue() dispatches into GoAssociativeArray() or GoPackedArray() and repeats the traversal. The converter maintains neither a set of arrays already visited on the current conversion path nor a maximum recursion depth, so a PHP array containing a reference to itself (for example $a['self'] = &$a) causes the conversion to re-enter the same Zend array indefinitely until the Go runtime hits its goroutine stack limit ('runtime: goroutine stack exceeds 1000000000-byte limit', 'fatal error: stack overflow') and terminates the process. The crash, not an exception or a conversion error, is the failure mode. Two call paths are reachable: go_log_attrs() in frankenphp.go, which calls GoMap[any]() on the context array supplied to frankenphp_log(), and go_frankenphp_finish_worker_request() in threadworker.go, which calls GoValue[any]() on the return value of a worker callback driven by frankenphp_handle_request(). The root cause maps to CWE-674 (uncontrolled recursion) and, in the advisory's classification, CWE-400 (uncontrolled resource consumption); the suggested fix is cycle detection plus a bounding depth limit that returns a recoverable error. The flawed converter ships in the Go module github.com/dunglas/frankenphp through 1.13.1 and in the corresponding prebuilt FrankenPHP binaries (the reproduction used the official v1.13.1 Linux x86_64 build with PHP 8.5.11 and Caddy 2.11.7, release commit 99d4e119ca2e5a90a69d8dbee5d5c9a8016416c5).

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 8.2 HIGH
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
vuln.today AI 5.9 MEDIUM

AC:H because the trigger requires a non-default application code path that builds and passes a cyclic array; PR:N/UI:N at the HTTP layer; only availability impacted (process crash), so C:N/I:N/A:H.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/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
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Nov 13, 2026 - 10:02 EUVD
CVE Published
Nov 13, 2026 - 09:34 cve.org
HIGH 8.2

DescriptionCVE.org

FrankenPHP before 1.13.2 contains an uncontrolled recursion vulnerability in its PHP-to-Go array converter that fails to detect circular references in PHP arrays. Passing a self-referential array to frankenphp_log() or returning one from a worker callback triggers a fatal Go stack overflow, terminating the entire server process.

Technical POC Analysis

Evidence caveat: the supplied material is the GitHub advisory GHSA-ccgp-ch9h-533f only.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

FrankenPHP versions up to 1.13.1 contain a high-severity denial-of-service flaw (CVE-2026-128020) that can crash the entire server process when a PHP application passes a self-referential array to frankenphp_log() or returns it from a worker callback. Exploitation requires a specific application code path, and a tested reproduction exists. This vulnerability can cause service outages affecting all sites sharing the process, impacting availability and potentially disrupting business operations.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.4%
Top 61% exploitable
Prevalence
Medium
modern PHP application server, growing adoption but not universally deployed
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 HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

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

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

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-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

CVE-2026-128026 MEDIUM
6.9 Nov 13

Cross-request environment leakage in FrankenPHP 1.5.0 through 1.12.7 allows secrets placed in the process environment by

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