CVE-2026-128015
Deferred Deferred - Pending Action

FrankenPHP Use-After-Free in Environment Handling

Vulnerability report for CVE-2026-128015, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-13

Last updated on: 2026-11-13

Assigner: VulnCheck

Description

FrankenPHP before 1.13.4 contains a use-after-free vulnerability that leaves a dangling pointer to a freed environment table when putenv() is called during request shutdown. Attackers triggering putenv() in shutdown functions, destructors, or session handlers can crash the process on the next getenv() call or leak previous request environment values.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-13
Last Modified
2026-11-13
Generated
2026-11-13
AI Q&A
2026-11-13
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
frankenphp frankenphp to 1.13.4 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-416 The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-128015 is a use-after-free vulnerability in FrankenPHP versions before 1.13.4. It occurs when putenv() is called during request shutdown, leaving a dangling pointer to a freed environment table. Attackers can trigger putenv() in shutdown functions, destructors, or session handlers, causing crashes on subsequent getenv() calls or leaking environment values from previous requests.

Detection Guidance

To detect this vulnerability, check the installed version of FrankenPHP. If it is below 1.13.4, the system is vulnerable. Run: frankenphp --version. Additionally, monitor for crashes or unexpected behavior during PHP request shutdown, especially if putenv() is called in shutdown functions.

Impact Analysis

This vulnerability can lead to process crashes when getenv() is called after a dangling pointer is accessed. It may also cause environment value leaks from prior requests, potentially exposing sensitive data. Systems relying on stable PHP request handling could experience instability or data exposure.

Mitigation Strategies

Immediately upgrade FrankenPHP to version 1.13.4 or later. Avoid calling putenv() from shutdown functions, destructors, or session handlers as a temporary workaround. Review custom PHP code for such calls and modify them to prevent triggering the vulnerability.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-128015. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...