Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › CVE › PHP

CVE-2026-129291 — PHP Group PHP

High · CVSS 8.8EPSS 1.4% First seen November 19, 2026

One of 17 PHP Group PHP vulnerabilities published together by NVD: our article covers all of them.

PHPDockerWebCloud & containersVulnerabilities

Research article

PHP-FPM epoll Use-After-Free Allows Local Privilege Escalation [CVE-2026-129291]

CVECVE-2026-129291
Vendor and productPHP Group PHP
PublishedNovember 26, 2026 16:40 UTC
Research cut-offNovember 26, 2026 16:10 UTC
Sources reviewed3: 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 IDVendorProductCWECVSS 4.0PublishedLast ModifiedRecord Status
CVE-2026-129291PHP GroupPHPCWE-4168.8 HIGH, scored by security@php.net [1]2026-11-19T15:17:272026-11-20T05:18:41Awaiting 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 VersionFixed Version
≥ 8.1.20, ≤ 8.1.34not listed
≥ 8.2.7, < 8.2.368.2.36 [1]
≥ 8.3.0, < 8.3.378.3.37 [1]
≥ 8.4.0, < 8.4.288.4.28 [1]
≥ 8.5.0, < 8.5.138.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

  1. Update PHP to version 8.2.36, 8.3.37, 8.4.28, or 8.5.13 [1].
  2. 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.
  3. Review and audit PHP-FPM configurations for any potential misconfigurations.
  4. 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

  1. 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. Vulnerability identification, Vulnerability description, Attack surface and exploitation prerequisites, Impact analysis, Affected products and versions, Remediation
  2. 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. Exploitation and threat intelligence status
  3. 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. Exploitation and threat intelligence status

Written with AI assistance from the 3 sources listed above, as of the research cut-off; each fact is cited to its source. Check the vendor's advisory before acting.

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.

Description: NIST National Vulnerability Database (public domain)

Severity breakdown

High · 8.8 CVSS 4.0 base score 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.

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

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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Weakness

Affected and fixed versions

ProductAffected versionsFixed in
PHP Group PHP≥ 8.1.20, ≤ 8.1.34—
≥ 8.2.7, < 8.2.368.2.36
≥ 8.3.0, < 8.3.378.3.37
≥ 8.4.0, < 8.4.288.4.28
≥ 8.5.0, < 8.5.138.5.13

From the vendor's CVE record; confirm with the vendor advisory before relying on a version number.

References by type

Vendor advisories

Details from NVD (public domain).

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