All vulnerabilities

Servers and applications

CVE-2026-129291

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

Severity
High 8.8
Published
19 Nov 2026
Last changed
20 Nov 2026
Added to UpHeron
19 Nov 2026
Fixed in
8.2.36, 8.3.37, 8.4.28, 8.5.13
Weakness
Use after free (CWE-416)
Attack
Needs local access · Only under certain conditions · Needs a user account · No user action needed
Attacker can
Read data · Change data · Take it down
CVSS 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
Sources
CVE Program

Description

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.

From the CVE Program.

Affected software

SoftwareAffected versions
PHPServers and applications · cna: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
PHPServers and applications · cpe:a:php: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

About PHP

scripting language focused on web development

From Wikidata, CC0 1.0.
Share of websites with a known server-side language
68.2%W3Techs, Nov 2026
Developers who used it in the past year
18.9%Stack Overflow Developer Survey 2025, 2025
Docker Hub pulls
1,405,401,976Docker Hub, 15 Nov 2026
GitHub stars
41,786GitHub, 15 Nov 2026
Forks
8,531GitHub, 15 Nov 2026
Latest release
php-8.5.12GitHub, 15 Nov 2026
Released
21 Oct 2026GitHub
Developer
Rasmus LerdorfWikidata
License
PHP License, 3-clause BSD LicenseWikidata
Written in
CWikidata
First released
8 Jun 1995Wikidata
First published on GitHub
16 Jun 2011GitHub

Release lines

ReleaseLatestSecurity fixes
8.58.5.12Until 31 Dec 2029
8.48.4.27Until 31 Dec 2028
8.38.3.36Until 31 Dec 2027
8.28.2.35Until 31 Dec 2026
8.18.1.34Ended 31 Dec 2025
8.08.0.30Ended 26 Nov 2023

From endoflife.date.

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-129291