{"id":"CVE-2026-129291","aliases":["GHSA-jm4m-qfqx-967m"],"title":"PHP-FPM epoll use-after-free can lead to local privilege escalation","originalDescription":"PHP-FPM epoll use-after-free can lead to local privilege escalation.\n\nWhen catch_workers_output is enabled and the epoll event backend is used, the PHP-FPM master can close a worker's output pipe in fpm_child_close() without removing the associated event, and the delayed cleanup can free the worker record while its epoll registration is still active. A later event is then dispatched through a pointer into freed memory. A local attacker who can execute PHP code in an FPM worker can crash the master or execute code with its privileges, commonly root. catch_workers_output is disabled by default but enabled in the official PHP-FPM Docker images.\n\nThis issue affects PHP versions from 8.2.7 before 8.2.36, 8.3.* before 8.3.37, 8.4.* before 8.4.28 and 8.5.* before 8.5.13.","severity":{"cvss":8.8,"vector":"CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H","label":"high"},"exploitation":{"kev":null,"epss":{"score":0.01879,"percentile":0.80133},"exploitDb":null},"affected":[{"ecosystem":"vendor","name":"PHP","range":">=8.2.7, <8.2.36","fixed":"8.2.36"},{"ecosystem":"vendor","name":"PHP","range":">=8.3.0, <8.3.37","fixed":"8.3.37"},{"ecosystem":"vendor","name":"PHP","range":">=8.4.0, <8.4.28","fixed":"8.4.28"},{"ecosystem":"vendor","name":"PHP","range":">=8.5.0, <8.5.13","fixed":"8.5.13"}],"references":[{"url":"https://github.com/php/php-src/security/advisories/GHSA-jm4m-qfqx-967m","type":"vendor-advisory"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/129xxx/CVE-2026-129291.json","type":"advisory"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-129291","type":"advisory"}],"sources":[{"name":"nvd","at":"2026-11-20T05:24:44.100Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-129291","license":"NVD terms of use","firstSeenAt":"2026-11-19T15:43:47.308Z"},{"name":"osv","at":"2026-11-25T16:35:09.482Z","url":"https://osv.dev/vulnerability/CVE-2026-129291","license":"CC-BY 4.0","firstSeenAt":"2026-11-20T12:01:40.913Z"},{"name":"cvelistV5","at":"2026-11-23T21:31:56.736Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-129291","license":"CVE Terms of Use","firstSeenAt":"2026-11-19T15:00:33.781Z"}],"firstSeenAt":"2026-11-19T15:00:33.781Z","publishedAt":"2026-11-19T14:44:00.638Z","modifiedAt":"2026-11-25T15:42:29.907Z"}