ADVISORIES

Vulnerability

CVE-2021-21702

In PHP versions 7.3.x below 7.3.27, 7.4.x below 7.4.15 and 8.0.x below 8.0.2, when using SOAP extension to connect to a SOAP server, a malicious SOAP server could return malformed XML data as a response that would cause PHP to access a null pointer and thus cause a crash.

25 advisories report this vulnerability, across 10 ecosystems.

Advisories

  • ALPINE-CVE-2021-21702

    In PHP versions 7.3.x below 7.3.27, 7.4.x below 7.4.15 and 8.0.x below 8.0.2, when using SOAP extension to connect to a SOAP server, a malicious SOAP server could return malformed XML data as a response that would cause…

    CVE-2021-21702 Alpine Updated 3 November 2026
  • ALSA-2021:4213

    Moderate: php:7.4 security, bug fix, and enhancement update

    CVE-2020-7068CVE-2020-7069CVE-2020-7070CVE-2020-7071 AlmaLinux Updated 29 October 2026
  • CNA-CVE-2021-21702

    Null Dereference in SoapClient

    CVE-2021-21702 PHP Updated 16 September 2024
  • DEBIAN-CVE-2021-21702

    In PHP versions 7.3.x below 7.3.27, 7.4.x below 7.4.15 and 8.0.x below 8.0.2, when using SOAP extension to connect to a SOAP server, a malicious SOAP server could return malformed XML data as a response that would cause…

    CVE-2021-21702 Debian Updated 24 November 2026
  • DLA-2708-1

    php7.0 - security update

    CVE-2019-18218CVE-2020-7071CVE-2021-21702CVE-2021-21704 Debian Updated 20 November 2026
  • DSA-4856-1

    php7.3 - security update

    CVE-2020-7068CVE-2020-7069CVE-2020-7070CVE-2020-7071 Debian Updated 20 November 2026
  • ELSA-2021-4213

    ELSA-2021-4213: php:7.4 security, bug fix, and enhancement update (MODERATE)

    Moderate CVE-2020-7068CVE-2020-7069CVE-2020-7070CVE-2020-7071 Oracle Linux Updated 16 November 2021
  • RHSA-2021:2992

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

    CVE-2020-7068CVE-2020-7069CVE-2020-7070CVE-2020-7071 Red Hat Updated 13 November 2026
  • RHSA-2021:4213

    Red Hat Security Advisory: php:7.4 security, bug fix, and enhancement update

    CVE-2020-7068CVE-2020-7069CVE-2020-7070CVE-2020-7071 Red Hat Updated 13 November 2026
  • RHVEX-CVE-2021-21702

    php: NULL pointer dereference in SoapClient

    Low CVE-2021-21702 Red Hat Updated 11 November 2026
  • RLSA-2021:4213

    Moderate: php:7.4 security, bug fix, and enhancement update

    CVE-2020-7068CVE-2020-7069CVE-2020-7070CVE-2020-7071 Rocky Linux Updated 5 February 2026
  • SUSE-SU-2021:0494-1

    Security update for php7

    CVE-2021-21702 SUSE Updated 4 February 2026
  • SUSE-SU-2021:0498-1

    Security update for php72

    CVE-2021-21702 SUSE Updated 4 February 2026
  • SUSE-SU-2021:0522-1

    Security update for php74

    CVE-2021-21702 SUSE Updated 4 February 2026
  • SUSE-SU-2021:0584-1

    Security update for php7

    CVE-2021-21702 SUSE Updated 4 February 2026
  • SUSE-SU-2021:14668-1

    Security update for php53

    CVE-2021-21702 SUSE 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-21702

    In PHP versions 7.3.x below 7.3.27, 7.4.x below 7.4.15 and 8.0.x below 8.0.2, when using SOAP extension to connect to a SOAP server, a malicious SOAP server could return malformed XML data as a response that would cause…

    Important CVE-2021-21702 SUSE Updated 2 November 2026
  • UBUNTU-CVE-2021-21702

    In PHP versions 7.3.x below 7.3.27, 7.4.x below 7.4.15 and 8.0.x below 8.0.2, when using SOAP extension to connect to a SOAP server, a malicious SOAP server could return malformed XML data as a response that would cause…

    CVE-2021-21702 Ubuntu Updated 22 April 2026
  • USN-5006-1

    php7.2, php7.4 vulnerabilities

    CVE-2020-7068CVE-2020-7071CVE-2021-21702CVE-2021-21704 Ubuntu Updated 22 April 2026
  • USN-5006-2

    php5, php7.0 vulnerabilities

    CVE-2020-7068CVE-2020-7071CVE-2021-21702CVE-2021-21704 Ubuntu Updated 29 June 2026
  • openSUSE-SU-2021:0305-1

    Security update for php7

    CVE-2021-21702 openSUSE Updated 4 February 2026
  • openSUSE-SU-2024:11569-1

    php7-7.4.24-2.1 on GA media

    CVE-2020-7068CVE-2021-21702 openSUSE Updated 7 May 2025

References