Summary
CVE-2026-128015 is a use-after-free vulnerability (CWE-416) in FrankenPHP, the PHP application server, affecting all versions before 1.13.4. It can allow a remote attacker to crash the process or leak environment data from prior requests. The CVE record rates it High (CVSS v4.0 base score 8.3).
Technical details
- Root cause: A dangling pointer to a freed environment table is left behind when
putenv()is called during request shutdown. - Trigger conditions: A PHP application calling
putenv()during request shutdown. The record rates attack complexity as High. - Attack vector: Network, with no privileges or user interaction required.
- Impact: Process crash (availability impact) and leakage of environment data from previous requests (limited confidentiality impact).
Affected software
- FrankenPHP (php/frankenphp): all versions before 1.13.4
Severity
- CVSS v4.0 base score 8.3 (High):
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N - CVSS v3.1 base score 6.5 (Medium), as listed in the CVE record:
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:H
Mitigation and recommended actions
- Immediate: upgrade FrankenPHP to version 1.13.4 or later.
- No workarounds are documented in the sources reviewed. Review the vendor advisory for further guidance.

