# CVE-2026-129291: PHP-FPM epoll use-after-free can lead to local privilege escalation

- Severity: High 8.8 (CVSS:4.0, scored by php) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.88%, higher than 80% of CVEs (2026-12-01)
- Published: 2026-11-19T14:44:00.638Z
- Modified: 2026-11-27T06:55:45.049Z
- Also known as: BIT-LIBPHP-2026-129291, BIT-PHP-2026-129291, BIT-PHP-MIN-2026-129291, GHSA-jm4m-qfqx-967m
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: php

## Description

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

When 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.

This issue affects PHP versions from 8.1.20 through 8.1.34, 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.

(As written by CVE List.)

## Affected

- PHP Group PHP: from 8.1.20 up to 8.1.34; from 8.2.7 before 8.2.36; from 8.3.0 before 8.3.37; from 8.4.0 before 8.4.28; from 8.5.0 before 8.5.13
- libphp (Bitnami): from 8.2.7 before 8.2.36; from 8.3.0 before 8.3.37; from 8.4.0 before 8.4.28; from 8.5.0 before 8.5.13
- php (Bitnami): from 8.2.7 before 8.2.36; from 8.3.0 before 8.3.37; from 8.4.0 before 8.4.28; from 8.5.0 before 8.5.13
- php-min (Bitnami): from 8.2.7 before 8.2.36; from 8.3.0 before 8.3.37; from 8.4.0 before 8.4.28; from 8.5.0 before 8.5.13

## Every score

- php: CVSS:4.0 8.8 High `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`
- Bitnami Vulnerability Database: rating High

## References

- <https://github.com/php/php-src/security/advisories/GHSA-jm4m-qfqx-967m> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-129291> (web)

## Sources

- CVE List: [CVE-2026-129291](https://www.cve.org/CVERecord?id=CVE-2026-129291), CVE Terms of Use, modified 2026-11-20
- NVD: [CVE-2026-129291](https://nvd.nist.gov/vuln/detail/CVE-2026-129291), Public domain, modified 2026-11-20
- Bitnami Vulnerability Database: [BIT-LIBPHP-2026-129291](https://osv.dev/vulnerability/BIT-LIBPHP-2026-129291), Apache-2.0, modified 2026-11-27
- Bitnami Vulnerability Database: [BIT-PHP-2026-129291](https://osv.dev/vulnerability/BIT-PHP-2026-129291), Apache-2.0, modified 2026-11-27
- Bitnami Vulnerability Database: [BIT-PHP-MIN-2026-129291](https://osv.dev/vulnerability/BIT-PHP-MIN-2026-129291), Apache-2.0, modified 2026-11-27

---

Page: https://cve.day/CVE-2026-129291 · Whole record: https://cve.day/CVE-2026-129291.json · Rebuilt by cve.day 2026-11-27T07:07:28.089Z
