CVE-2026-128015 FrankenPHP before 1.13.4 Use-After-Free via putenv() During Request Shutdown
- Exploited in the wild
- Not known
- Fix
- None listed
What is CVE-2026-128015?
CVE-2026-128015 is a high-severity vulnerability in frankenphp, published on 13 Nov 2026.
Official 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.
Weakness: CWE-416
Which versions are affected by CVE-2026-128015?
1 open source package ship an affected version, including github.com/dunglas/frankenphp.
| Package | Affected | Fixed in |
|---|---|---|
github.com/dunglas/frankenphp Gopkg:golang/github.com/dunglas/frankenphp | All versions | 1.13.4 |
How do I fix CVE-2026-128015?
Upgrade github.com/dunglas/frankenphp to 1.13.4 or later.
Is CVE-2026-128015 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-128015 exists.
Sources
Also known as GHSA-2v43-gp2p-9228, GHSA-rgpj-f2qx-xwhf.