CVE-2026-129291
PHP-FPM epoll use-after-free can lead to local privilege escalation
Reported by php · Published November 19, 2026
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| php8.5 | Amazon Linux | 8.5.13-1.amzn2023.0.1 |
| php8.4-tidy | Amazon Linux | 8.4.28-1.amzn2023.0.1 |
| php-pecl-xdebug-debuginfo | errata.rockylinux.org | 0:2.9.5-1.module+el8.10.0+1912+72767185.x86_64, 0:2.9.5-1.module+el8.10.0+1604+6558efc7.x86_64 |
| php8.2-process | Amazon Linux | 8.2.36-1.amzn2023.0.1 |
| php-pecl-rrd-debuginfo | errata.rockylinux.org | 0:2.0.3-1.module+el8.10.0+1911+f499711e.aarch64, 0:2.0.3-1.module+el8.10.0+1605+02e07af7.aarch64, 0:2.0.3-1.module+el8.10.0+1596+477f03f8.aarch64, 0:2.0.1-1.module+el8.10.0+1912+72767185.aarch64, 0:2.0.1-1.module+el8.10.0+1604+6558efc7.aarch64, 0:2.0.1-1.module+el8.4.0+414+2e7afcdd.aarch64 |
| php8.3-common | Amazon Linux | 8.3.37-1.amzn2023.0.1 |
| php-pecl-xdebug | errata.rockylinux.org | 0:2.9.5-1.module+el8.10.0+1912+72767185.x86_64, 0:2.9.5-1.module+el8.10.0+1912+72767185.src, 0:2.9.5-1.module+el8.10.0+1912+72767185.aarch64, 0:2.9.5-1.module+el8.10.0+1604+6558efc7.x86_64, 0:2.9.5-1.module+el8.10.0+1604+6558efc7.src, 0:2.9.5-1.module+el8.10.0+1604+6558efc7.aarch64 |
| php8.5-snmp | Amazon Linux | 8.5.13-1.amzn2023.0.1 |
| php8.5-mbstring | Amazon Linux | 8.5.13-1.amzn2023.0.1 |
| php8.3-mysqlnd | Amazon Linux | 8.3.37-1.amzn2023.0.1 |
| php8.2-soap | Amazon Linux | 8.2.36-1.amzn2023.0.1 |
| php-pecl-xdebug3 | errata.rockylinux.org | 0:3.2.2-2.module+el8.10.0+1911+f499711e.x86_64, 0:3.2.2-2.module+el8.10.0+1911+f499711e.src, 0:3.2.2-2.module+el8.10.0+1911+f499711e.aarch64, 0:3.2.2-2.module+el8.10.0+1596+477f03f8.x86_64, 0:3.2.2-2.module+el8.10.0+1596+477f03f8.src, 0:3.2.2-2.module+el8.10.0+1596+477f03f8.aarch64 |
80 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| PHP Group | PHP | 8.1.20, 8.2.7, 8.3.0 |
| PHP Group | PHP | 8.1.20, 8.2.7, 8.3.0 |
Timeline
- Nov 19, 2026 Coalition ESS Score
- Nov 19, 2026 CVE Published
- Nov 19, 2026 PoC Published (4 in total, the first dated here)
- Nov 19, 2026 CVE Updated
- Nov 20, 2026 EPSS Score (2 in total, the first dated here)
- Nov 22, 2026 Distribution Patch (9 in total, the first dated here)
- Nov 22, 2026 Security Advisory (8 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-129291
vulnetix vdb fixes CVE-2026-129291
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-129291/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart