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.
https://github.com/php/frankenphp/security/advisories/GHSA-rgpj-f2qx-xwhf
https://github.com/php/frankenphp/commit/ab174aa6c27738b9ee56c97ac276d152bfb38f5e
Published: 2026-11-13
Updated: 2026-11-17
Base Score: 6.1
Vector: CVSS2#AV:N/AC:H/Au:N/C:P/I:N/A:C
Severity: Medium
Base Score: 6.5
Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:H
Severity: Medium
Base Score: 8.3
Vector: 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
Severity: High
EPSS: 0.00346