Skip to main content
Network Thinking Solutions Logo

CVE-2021-21703

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 c…

All CVEs
CVE-2021-21703Published 10/25/2021

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 c…

Vendor advisory
CVSS7.8High

Overview

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.

Published
10/25/2021
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
php
php
≥ 7.3.0, ≤ 7.3.31

Verify advisory

Source
php
php
≥ 7.4.0, < 7.4.25

Verify advisory

Source
php
php
≥ 8.0.0, < 8.0.12

Verify advisory

Source
debian linux
debian
9.0

Verify advisory

Source
debian linux
debian
10.0

Verify advisory

Source
debian linux
debian
11.0

Verify advisory

Source
fedora
fedoraproject
33

Verify advisory

Source
fedora
fedoraproject
34

Verify advisory

Source
fedora
fedoraproject
35

Verify advisory

Source
clustered data ontap
netapp
Range not specified — verify advisory

Verify advisory

Source
communications diameter signaling router
oracle
≥ 8.0.0.0, ≤ 8.5.0.2

Verify advisory

Source
PHP
PHP Group
≥ 7.3.x, ≤ 7.3.31

Verify advisory

Source
PHP
PHP Group
≥ 7.4.x, < 7.4.25

Verify advisory

Source
PHP
PHP Group
≥ 8.0.X, < 8.0.12

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 7.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.