Skip to content

PHP

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

CVE-2026-129291Published 19 Nov 2026, 14:44 UTC

Real-world risk

0.9/ 10Low

Routine

If the vulnerable configuration applies to you: 1.9

PreliminaryFrom the CVSS vector only · confidence low

CVSS

8.8

scored by the vendor (CNA), CVSS 4.0

In plain words

No plain-language summary yet. The original description is below.

Original description (from php)

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.

Am I affected?

ProductAffected versions (from the sources)Fixed in
PHPUbiquitous>= 8.1.20, <= 8.1.34; >= 8.2.7, < 8.2.36; >= 8.3.0, < 8.3.37; >= 8.4.0, < 8.4.28; >= 8.5.0, < 8.5.138.2.36, 8.3.37, 8.4.28, 8.5.13

What to do

Update to a fixed version: 8.2.36, 8.3.37, 8.4.28, 8.5.13.

Why this score

FactorValueEvidence×
ImpactFull compromiseCode execution or full control of the system or applicationFrom the CVSS vector1.00
Attacker positionLocalMust already run code or have a shell on the machineFrom the CVSS vector0.50
Privileges neededLowA real low-privileged accountFrom the CVSS vector1.00
Victim interactionNoneNothingFrom the CVSS vector1.00
ConfigurationUncommonNeeds a non-default feature that a minority enablesFrom the CVSS vector0.45
ReliabilityHardNarrow race, needs an extra info leak, needs a man-in-the-middle position, or must be chained with another bugFrom the CVSS vector0.45

Threat level T1: Nothing known (× 0.85)

The default for a new disclosure

EPSS 1.9% chance of exploitation in 30 days (percentile 80), as of 2026-12-04.

The arithmetic
  1. Prerequisites multiplied together0.101
  2. Threat T1: Nothing known0.850
  3. 10 × impact 1 × prerequisites 0.1013 × threat 0.850.861
  4. Rounded to one decimal between 0.1 and 100.9

How the score works

Exploitation and evidence timeline

  1. 19 Nov 2026 Published
  2. 3 Dec 2026 Risk 0.9 (cvss fallback)

Weakness

CWE-416

References

Get alerts for PHP

Free email or text alerts when a vulnerability in PHP reaches risk 8 or higher. Nothing else.