CVE-2026-129182PHP engine >= 8.5.0, Use After Free
NVD
Vulnerability Summary
Use-after-free via repopulation of last_fatal_error_backtrace global after shutdown. As part of CVE-2026-109619 (GHSA-6wmf-4rv5-p3rp), PHP 8.5.12 fixes a generic use-after-free of the last_fatal_error_backtrace global by clearing it during executor shutdown. Further scenarios have been discovered in which a fatal diagnostic during later shutdown work repopulates the global. The request heap is then released, and an early diagnostic in a subsequent request handled by the same worker can access the stale backtrace before normal executor initialization.
CVSS v4.0 Base Metrics — Score 9.2 (CRITICAL)
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NAttack VectorNetwork
Attack ComplexityLow
Attack RequirementsPresent
Privileges RequiredNone
User InteractionNone
Confidentiality (Vulnerable System)High
Integrity (Vulnerable System)High
Availability (Vulnerable System)High
Confidentiality (Subsequent System)None
Integrity (Subsequent System)None
Availability (Subsequent System)None
Affected & Patched Versions
- PHP engine >= 8.5.0, < 8.5.13
- PHP 8.5.13
What to do
Plan remediation soon. No exploitation is confirmed yet, but the severity is critical.
- Check whether you run PHP engine >= 8.5.0, and which version.
- Update to a patched version listed above, then confirm the new version.
- Until you can update, follow the vendor workaround: As a temporary workaround, disable fatal-error backtraces administratively with fatal_error_backtraces=0 and restart all workers. Ensure that request-specific configuration cannot re-enable the setting.
Timeline
- Nov 19, 2026Published
- Nov 19, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new PHP engine >= 8.5.0, CVEsYou are reading CVE-2026-129182. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsRelated Coverage
External References
Data last checked: Nov 19, 2026 14:43 UTC