Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2021-21703

published high CVSS 3.1 · 7.8

PHP-FPM memory access in root process leading to privilege escalation

Published
25 Oct 2021, 05:40:08 UTC
Updated
17 Sep 2024, 03:02:55 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
PHP Group — PHP7.3.x through 7.3.31 · 7.4.x to < 7.4.25 · 8.0.X to < 8.0.12 Affected Not stated php

Description

In PHP versions 7.3.x up to and including 7.3.31, 7.4.x below 7.4.25 and 8.0.x below 8.0.12, when running PHP FPM SAPI with main FPM daemon process running as root and child worker processes running as lower-privileged users, it is possible for the child processes to access memory shared with the main process and write to it, modifying it in a way that would cause the root process to conduct invalid memory reads and writes, which can be used to escalate privileges from local unprivileged user to the root user.

en · php · cna

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
php · cna
Vector string
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
PHP Group PHP 7.3.x through 7.3.31 (affected · custom)7.4.x to < 7.4.25 (affected · custom)8.0.X to < 8.0.12 (affected · custom) php · cna

Weaknesses

2
  • CWE-787 CWE-787 Out-of-bounds Write (php · cna)
  • CWE-284 CWE-284 Improper Access Control (php · cna)

References

12

Provider assertions

2

php · cna

PHP-FPM memory access in root process leading to privilege escalation

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
0c3698f69e814afbbd577590ce3e8018ccb7d0a126c028e4063f3f4e2af651b8
Ingested
23 Sep 2026, 07:52:31 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected