high8.3
CVE-2026-128015
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 req…
Impact
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.
An attacker can exploit this over the network, without logging in, without any action by a user. Specific conditions have to be met, which makes an attack harder. If it succeeds: low risk of data being read, high risk of outages.
Affected products · PHP
| Product | Affected versions |
|---|---|
| Frankenphp | before 1.13.4 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/php/frankenphp/security/advisories/GHSA-rgpj-f2qx-xwhf
- https://github.com/php/frankenphp/commit/ab174aa6c27738b9ee56c97ac276d152bfb38f5e
- https://www.vulncheck.com/advisories/frankenphp-before-1.13.4-use-after-free-via-putenv-during-request-shutdown
- https://github.com/advisories/GHSA-2v43-gp2p-9228
- https://nvd.nist.gov/vuln/detail/CVE-2026-128015