CVE-2026-129291 — PHP Group PHP
One of 17 PHP Group PHP vulnerabilities published together by NVD: our article covers all of them.
PHPDockerWebCloud & containersVulnerabilitiesResearch article
PHP-FPM epoll Use-After-Free Allows Local Privilege Escalation [CVE-2026-129291]
| CVE | CVE-2026-129291 |
|---|---|
| Vendor and product | PHP Group PHP |
| Published | November 26, 2026 16:40 UTC |
| Research cut-off | November 26, 2026 16:10 UTC |
| Sources reviewed | 3: NVD record (last modified 2026-11-20); CISA KEV catalog; FIRST EPSS (2026-11-25) |
Executive summary
The PHP-FPM epoll use-after-free vulnerability [1] enables local attackers to escalate privileges and potentially execute code with the master's privileges, commonly root. The CVSS 4.0 score is 8.8 HIGH, scored by security@php.net [1]. The flaw affects multiple PHP versions, including 8.2.x, 8.3.x, 8.4.x, and 8.5.x, and is not currently listed in CISA's Known Exploited Vulnerabilities Catalog [2]. The main action is to update to a fixed version.
Key points
- A use-after-free condition in PHP-FPM's epoll event handling allows local privilege escalation [1].
- The CVSS 4.0 score is 8.8 HIGH, scored by security@php.net [1].
- The vulnerability affects multiple PHP versions, including 8.2.x, 8.3.x, 8.4.x, and 8.5.x [1].
- CVE-2026-129291 is not currently listed in CISA's Known Exploited Vulnerabilities Catalog [2].
- Systems should be updated to the fixed versions: 8.2.36, 8.3.37, 8.4.28, or 8.5.13 [1].
Vulnerability identification
| CVE ID | Vendor | Product | CWE | CVSS 4.0 | Published | Last Modified | Record Status |
|---|---|---|---|---|---|---|---|
| CVE-2026-129291 | PHP Group | PHP | CWE-416 | 8.8 HIGH, scored by security@php.net [1] | 2026-11-19T15:17:27 | 2026-11-20T05:18:41 | Awaiting Analysis |
Vulnerability description
A use-after-free condition in PHP-FPM's epoll event handling can result in local privilege escalation. When the catchworkersoutput feature is enabled and the epoll backend is used, the master process may close a worker's output pipe without properly removing the associated event. This situation may result in a delayed removal of the worker record, which remains linked to an active epoll registration. A subsequent event could be initiated via a reference to already released memory, which might enable a local attacker to cause the master process to fail or run code with its elevated permissions, usually root [1].
Attack surface and exploitation prerequisites
Exploitation needs an attacker with local access who can run PHP code inside a worker process of FPM, with the catchworkersoutput feature turned on [1]. The CVSS vector indicates that the attacker must have low privileges and no user interaction is needed [1].
Impact analysis
The CVSS 4.0 vector highlights high impact on confidentiality, integrity, and availability. The flaw can let someone with local access crash the master process, or run code using its permissions, which are commonly root [1].
Affected products and versions
| Affected Version | Fixed Version |
|---|---|
| ≥ 8.1.20, ≤ 8.1.34 | not listed |
| ≥ 8.2.7, < 8.2.36 | 8.2.36 [1] |
| ≥ 8.3.0, < 8.3.37 | 8.3.37 [1] |
| ≥ 8.4.0, < 8.4.28 | 8.4.28 [1] |
| ≥ 8.5.0, < 8.5.13 | 8.5.13 [1] |
Exploitation and threat intelligence status
CVE-2026-129291 is not listed in CISA's Known Exploited Vulnerabilities Catalog as of 2026-11-26 [2]. The EPSS score for exploitation in the next 30 days is 1.39%, with a percentile of 0.7251 [3]. This is a statistical estimate and not evidence of active exploitation.
Detection and exposure assessment
To determine if a system is exposed, check if the installed PHP version falls within the affected range: ≥ 8.1.20, ≤ 8.1.34; ≥ 8.2.7, < 8.2.36; ≥ 8.3.0, < 8.3.37; ≥ 8.4.0, < 8.4.28; or ≥ 8.5.0, < 8.5.13 [1].
Remediation
The recommended action is to update to the fixed versions: 8.2.36, 8.3.37, 8.4.28, or 8.5.13 [1].
Remediation checklist
- Update PHP to version 8.2.36, 8.3.37, 8.4.28, or 8.5.13 [1].
- Turning off the `catchworkersoutput` setting in PHP-FPM configs when it is unneeded is broad protective advice that the sources do not state; S1 only mentions that its default is off, yet the official PHP-FPM Docker images switch it on.
- Review and audit PHP-FPM configurations for any potential misconfigurations.
- Monitor system logs for unusual activity that could indicate exploitation attempts.
Evidence gaps
- The sources do not describe the affected component's internals.
- The sources do not mention a workaround.
- The sources do not provide indicators of compromise.
- The sources do not describe the attack lifecycle or exploitation scenarios.
- The sources do not list any mitigations beyond updating to a fixed version.
References
- CVE-2026-129291 record. NIST National Vulnerability Database (NVD), 2026-11-20. https://nvd.nist.gov/vuln/detail/CVE-2026-129291. Accessed 2026-11-26.
- Known Exploited Vulnerabilities Catalog. Cybersecurity and Infrastructure Security Agency (CISA), 2026-11-26. https://www.cisa.gov/known-exploited-vulnerabilities-catalog. Accessed 2026-11-26.
- EPSS score for CVE-2026-129291. FIRST, 2026-11-25. https://api.first.org/data/v1/epss?cve=CVE-2026-129291. Accessed 2026-11-26.
Summary
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.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 breakdown
High · 8.8
An attacker with a normal user account can exploit this with local access, without any user action, but only under specific conditions.
- Attack from
- local access (a logged-in user, or a malicious file opened on the device)
- Attack complexity
- high (only works under specific conditions)
- Special conditions
- only in some setups or conditions
- Login needed
- yes, a normal user account
- User action needed
- no
- Impact
- high on confidentiality, integrity and availability
- Impact on other systems
- high on confidentiality, integrity and availability
Weakness
- CWE-416: Use After Free
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| PHP Group PHP | ≥ 8.1.20, ≤ 8.1.34 | — |
| ≥ 8.2.7, < 8.2.36 | 8.2.36 | |
| ≥ 8.3.0, < 8.3.37 | 8.3.37 | |
| ≥ 8.4.0, < 8.4.28 | 8.4.28 | |
| ≥ 8.5.0, < 8.5.13 | 8.5.13 |
References by type
Vendor advisories
Affected
- PHP Group PHP
Frequently asked questions
What is CVE-2026-129291?
The PHP-FPM epoll use-after-free vulnerability enables local attackers to escalate privileges and potentially execute code with the master's privileges, commonly root. The CVSS 4.0 score is 8.8 HIGH, scored by security@php.net. The flaw affects multiple PHP versions, including 8.2.x, 8.3.x, 8.4.x, and 8.5.x, and is not currently listed in CISA's Known Exploited Vulnerabilities Catalog. Weakness type: Use After Free (CWE-416).
How severe is CVE-2026-129291?
CVE-2026-129291 has a CVSS 4.0 base score of 8.8 (high), from the CNA (php.net). An attacker with a normal user account can exploit this with local access, without any user action, but only under specific conditions.
Is CVE-2026-129291 being exploited?
Not as far as is known: CVE-2026-129291 is not in CISA's Known Exploited Vulnerabilities catalog as of November 26, 2026. EPSS estimates a 1.4% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-129291?
PHP Group PHP ≥ 8.1.20, ≤ 8.1.34; PHP Group PHP ≥ 8.2.7, < 8.2.36 (fixed in 8.2.36); PHP Group PHP ≥ 8.3.0, < 8.3.37 (fixed in 8.3.37); PHP Group PHP ≥ 8.4.0, < 8.4.28 (fixed in 8.4.28); and more, listed on this page.
How do I fix CVE-2026-129291?
Update PHP to version 8.2.36, 8.3.37, 8.4.28, or 8.5.13. Turning off the catchworkersoutput setting in PHP-FPM configs when it is unneeded is broad protective advice that the sources do not state; S1 only mentions that its default is off, yet the official PHP-FPM Docker images switch it on. Review and audit PHP-FPM configurations for any potential misconfigurations.
Timeline & sources
References
Related vulnerabilities & news
- MediaWiki ExternalData Extension Sensitive Information Exposure in 1.43, 1.45, 1.46, 1.47
- CVE-2026-124969 — Optimole – Optimize Images | Convert WebP & AVIF | CDN & Lazy Load | Image Optimization
- FrankenPHP Docker Images Vulnerable to Stale Library Exploitation
- Forminator Forms Plugin Vulnerable to Stored XSS via File Upload Field
- CVE-2026-137472 — siyuan-note siyuan