Summary
CVE-2026-128024 is a denial-of-service vulnerability in FrankenPHP, the PHP application server built on Caddy. A nil type assertion in goArray() lets a remote attacker abort the server process using arrays that contain null integer-keyed elements. It is rated High (CVSS 8.2).
Technical details
- Root cause: an unchecked interface type assertion in the
goArray()function (types.go). For integer-keyed elements of non-packed Zend hashtables, the code asserts the type of a value without first checking that it is non-nil.goValue()returns a nil interface for PHPnull, and the string-key branch has a nil guard that the integer-key branch lacks. (CWE-248: Uncaught Exception.) - Trigger conditions: the array must be a real hash (non-packed) hashtable, for example one with any string key or numeric keys of 8 or higher. It must also contain an integer-keyed element whose value is
null. The array must be passed throughfrankenphp_log(), worker callbacks, or the documented extension API. Example from the advisory:frankenphp_log('x', 4, [8 => null]). - Attack vector: network, with no authentication or user interaction required. The attack is only possible where an application passes attacker-influenced decoded input into one of these APIs.
- Impact: the entire server process aborts, ending all in-flight requests. The process can be crashed again as soon as it restarts, and in multi-tenant setups one tenant’s input can take down all co-hosted applications.
Affected software
- FrankenPHP versions before 1.13.0 (the advisory lists versions up to 1.12.7)
Severity
- CVSS v4.0: 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 - CVSS v3.1: 5.9 (Medium),
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Mitigation and recommended actions
- Immediate: upgrade to FrankenPHP 1.13.0 or later. Other FrankenPHP CVEs published the same day are fixed in later 1.13.x releases (up to 1.13.4), so move to the latest 1.13.x release.
- The vendor advisory states that no reliable workarounds exist for affected versions.
- Until you can patch, review whether untrusted input can reach
frankenphp_log(), worker callbacks or extension APIs, and monitor for unexpected FrankenPHP process restarts.

