FrankenPHP before 1.13.4 Use-After-Free via putenv() During Request Shutdown
- State
- Published
- Severity
- 8.3 High
- Published
- Nov 13, 2026
- Updated
- Nov 17, 2026
- Reserved
- Nov 12, 2026
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.
| Product | Versions |
|---|---|
| frankenphp php | before 1.13.4 Affected1.13.4 Not Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 8.3 High | VulnCheck | |
| 3.1 | 6.5 Medium | VulnCheck |
Weaknesses
- CWE-416 Use After Free
References
- GitHub Security Advisory (GHSA-rgpj-f2qx-xwhf)Vendor Advisory
- Patch CommitPatch
- VulnCheck Advisory: FrankenPHP before 1.13.4 Use-After-Free via putenv() During Request ShutdownThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.