ADVISORIES

Vulnerability

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

28 advisories report this vulnerability, across 11 ecosystems.

Advisories

  • ALPINE-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…

    CVE-2021-21703 Alpine Updated 3 November 2026
  • ALSA-2022:1935

    Moderate: php:7.4 security update

    CVE-2021-21703CVE-2021-21705 AlmaLinux Updated 29 October 2026
  • CNA-CVE-2021-21703

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

    CVE-2021-21703 PHP Updated 17 September 2024
  • DEBIAN-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…

    CVE-2021-21703 Debian Updated 24 November 2026
  • DLA-2794-1

    php7.0 - security update

    CVE-2021-21703 Debian Updated 20 November 2026
  • DSA-4992-1

    php7.4 - security update

    CVE-2021-21703 Debian Updated 20 November 2026
  • DSA-4993-1

    php7.3 - security update

    CVE-2021-21703 Debian Updated 20 November 2026
  • ELSA-2022-1935

    ELSA-2022-1935: php:7.4 security update (MODERATE)

    Moderate CVE-2021-21703CVE-2021-21705 Oracle Linux Updated 17 May 2022
  • OESA-2021-1430

    php security update

    High CVE-2021-21703 openEuler Updated 18 August 2026
  • RHSA-2022:1935

    Red Hat Security Advisory: php:7.4 security update

    CVE-2021-21703CVE-2021-21705 Red Hat Updated 13 November 2026
  • RHSA-2022:5491

    Red Hat Security Advisory: rh-php73-php security and bug fix update

    CVE-2021-21703CVE-2021-21707CVE-2022-31625CVE-2022-31626 Red Hat Updated 13 November 2026
  • RHVEX-CVE-2021-21703

    php: Local privilege escalation via PHP-FPM

    Moderate CVE-2021-21703 Red Hat Updated 6 November 2026
  • RLSA-2022:1935

    Moderate: php:7.4 security update

    CVE-2021-21703CVE-2021-21705 Rocky Linux Updated 4 February 2026
  • SUSE-SU-2021:3726-1

    Security update for php74

    CVE-2021-21703 SUSE Updated 2 May 2025
  • SUSE-SU-2021:3727-1

    Security update for php72

    CVE-2021-21703 SUSE Updated 4 February 2026
  • SUSE-SU-2021:3943-1

    Recommended update for php7

    CVE-2021-21703CVE-2021-21707 SUSE Updated 4 February 2026
  • SUSE-SU-2022:0679-1

    Security update for php7

    CVE-2015-9253CVE-2017-8923CVE-2021-21703CVE-2021-21707 SUSE Updated 4 February 2026
  • SUSE-SU-2022:3661-1

    Security update for php8

    CVE-2021-21703CVE-2022-31628CVE-2022-31629 SUSEopenSUSE Updated 4 February 2026
  • SUSE-SU-2022:4067-1

    Security update for php7

    Known exploited CVE-2015-9253CVE-2017-8923CVE-2017-9120CVE-2018-1000222 SUSEopenSUSE Updated 4 February 2026
  • SUSE-SU-2022:4068-1

    Security update for php74

    CVE-2017-8923CVE-2020-7068CVE-2020-7069CVE-2020-7070 SUSE Updated 4 February 2026
  • SUSE-SU-2022:4069-1

    Security update for php7

    CVE-2017-8923CVE-2020-7068CVE-2020-7069CVE-2020-7070 SUSEopenSUSE Updated 4 February 2026
  • SUSEVEX-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…

    Moderate CVE-2021-21703 SUSE Updated 2 November 2026
  • UBUNTU-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…

    CVE-2021-21703 Ubuntu Updated 22 April 2026
  • USN-5125-1

    php5, php7.0, php7.2, php7.4, php8.0 vulnerability

    CVE-2021-21703 Ubuntu Updated 29 June 2026
  • openSUSE-SU-2021:1570-1

    Recommended update for php7

    CVE-2021-21703CVE-2021-21707 openSUSE Updated 4 February 2026
  • openSUSE-SU-2021:3943-1

    Recommended update for php7

    CVE-2021-21703CVE-2021-21707 openSUSE Updated 4 February 2026
  • openSUSE-SU-2024:11585-1

    php8-8.0.12-1.1 on GA media

    CVE-2021-21703 openSUSE Updated 4 February 2026
  • openSUSE-SU-2024:11594-1

    php7-7.4.25-1.1 on GA media

    CVE-2021-21703 openSUSE Updated 4 February 2026

References