Skip to content
Fencer Intel
high 8.8

CVE-2026-129291 json

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

published 16h ago modified 1h ago also EUVD-2026-130184 , GHSA-jm4m-qfqx-967m

Unreviewed: the maintainers' own advisory

Published by the maintainers on their GitHub repository php/php-src. GitHub has not reviewed it into the GitHub Advisory Database, so the affected packages and versions are the maintainers' word. Read the full advisory on GitHub.

cvss
8.8
version 4.0, CNA
cisa kev
Not listed
not in CISA's catalog
epss
—
no EPSS score yet
public exploits
0
none known

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

Patch / fix

  • PHP Group PHP 8.2.36, 8.3.37, 8.4.28, 8.5.13
  • php8.2 Debian 12 8.2.36-1~deb12u1
  • php8.4 Debian 13 8.4.28-1~deb13u1

debian advisories DEBIAN-CVE-2026-129291

Is CVE-2026-129291 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
total
Assessed
yesterday

CVSS scores

assigned by version score vector
CNA 4.0 8.8 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

Affected products

  • PHP Group PHP

Classification

Weakness
Technology feeds

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

The maintainers of php/php-src published their own advisory on GitHub. Reviewed sources take precedence over it.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.