Vendors › PHP

CVE-2026-129291

High (8.8) EPSS 1.9% PHP · PHP-FPM

PHP-FPM epoll use-after-free can lead to local privilege escalation

PHP-FPM can dispatch an epoll event that refers to a freed worker record when worker output capture is enabled. An attacker who can execute PHP code in an unprivileged FPM worker can exploit this use-after-free to execute commands with the privileges of the FPM master, which commonly runs as root.

Published2026-11-19
Updated2026-11-19
AffectedPHP versions >= 8.2.7, < 8.2.36; PHP versions >= 8.3.0, < 8.3.37; PHP versions >= 8.4.0, < 8.4.28; PHP versions >= 8.5.0, < 8.5.13
FixUpgrade to 8.2.36, 8.3.37, 8.4.28, 8.5.13 (first fixed release per supported branch).
CVEMesh analysisA vulnerability in PHP-FPM allows an attacker to execute commands with root privileges. The attacker needs to be able to execute PHP code in an unprivileged FPM worker. The most important action is to upgrade to PHP version 8.2.36, 8.3.37, 8.4.28, or 8.5.13.
Vendor states: "An attacker who can execute PHP code in an unprivileged FPM worker can exploit this use-after-free to execute commands with the privileges of the FPM master, which commonly runs as root."
AI-generated — see the vendor advisory for the authoritative text.
Vendor advisoryhttps://github.com/php/php-src/security/advisories/GHSA-jm4m-qfqx-967m

CVEs (1)

CVECWETypeImpactLinks
CVE-2026-129291———NVD · CVE.org · EUVD

CWE, type and impact come from the NVD enrichment pass; unfilled rows are pending enrichment.

Same CVE in other advisories

Open in the CVEMesh app Create a free account

Track this advisory against your own stack — add your assets and CVEMesh shows which advisories actually apply to the versions you run.

CVEMesh aggregates public vendor advisories as guidance; always verify against the vendor's official advisory before patching or upgrading.