Skip to content
Noroxi
CVE-2021-21702· NVD / CVE Program· CNA php

Null Dereference in SoapClient

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.

HighCVSS 7.5 · v3.1—No exploit Fix available
Published
Feb 15, 2021
Updated
Jun 16, 2026
EPSS
3.2% · 88th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

31

Monitor

Low priority for now.

CVSS
30 / 40 · 7.5 / 10
CISA KEV
0 / 30 · Not listed
EPSS
1 / 30 · 3.2%

CNA vs NVD score

NVD
7.5
CNA · php
5.3
2.2 point gap

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.

Affected systems

VendorProduct
phpphp
debiandebian linux
netappclustered data ontap
oraclecommunications diameter signaling router

Using php? Add it to your stack and be the first to know about CVEs like this one. (PHP)

Add to my stack

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • php php7.3.0 and later · before 7.3.27
  • php php7.4.0 and later · before 7.4.15
  • php php8.0.0 and later · before 8.0.2

Versions reported by the vendor

Affected version ranges reported by the assigning authority (php). Independent of NVD's CPE analysis and usually ahead of it.

  • PHP Group PHP

    • 7.3.x and later · before 7.3.27affected
    • 7.4.x and later · before 7.4.15affected
    • 8.0.X and later · before 8.0.2affected

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
AlmaLinux:8apcu-panelbefore 5.1.18-1.module_el8.6.0+2750+78feabcb5.1.18-1.module_el8.6.0+2750+78feabcb
AlmaLinux:8libzipbefore 1.6.1-1.module_el8.6.0+2750+78feabcb1.6.1-1.module_el8.6.0+2750+78feabcb
AlmaLinux:8libzip-develbefore 1.6.1-1.module_el8.6.0+2750+78feabcb1.6.1-1.module_el8.6.0+2750+78feabcb
AlmaLinux:8libzip-toolsbefore 1.6.1-1.module_el8.6.0+2750+78feabcb1.6.1-1.module_el8.6.0+2750+78feabcb
AlmaLinux:8phpbefore 7.4.19-3.module_el8.6.0+2976+8b9a0d087.4.19-3.module_el8.6.0+2976+8b9a0d08
AlmaLinux:8php-bcmathbefore 7.4.19-3.module_el8.6.0+2976+8b9a0d087.4.19-3.module_el8.6.0+2976+8b9a0d08
AlmaLinux:8php-clibefore 7.4.19-3.module_el8.6.0+2976+8b9a0d087.4.19-3.module_el8.6.0+2976+8b9a0d08
AlmaLinux:8php-commonbefore 7.4.19-3.module_el8.6.0+2976+8b9a0d087.4.19-3.module_el8.6.0+2976+8b9a0d08
AlmaLinux:8php-dbabefore 7.4.19-3.module_el8.6.0+2976+8b9a0d087.4.19-3.module_el8.6.0+2976+8b9a0d08
AlmaLinux:8php-dbgbefore 7.4.19-3.module_el8.6.0+2976+8b9a0d087.4.19-3.module_el8.6.0+2976+8b9a0d08
AlmaLinux:8php-develbefore 7.4.19-3.module_el8.6.0+2976+8b9a0d087.4.19-3.module_el8.6.0+2976+8b9a0d08
AlmaLinux:8php-embeddedbefore 7.4.19-3.module_el8.6.0+2976+8b9a0d087.4.19-3.module_el8.6.0+2976+8b9a0d08
AlmaLinux:8php-enchantbefore 7.4.19-3.module_el8.6.0+2976+8b9a0d087.4.19-3.module_el8.6.0+2976+8b9a0d08
AlmaLinux:8php-ffibefore 7.4.19-3.module_el8.6.0+2976+8b9a0d087.4.19-3.module_el8.6.0+2976+8b9a0d08
AlmaLinux:8php-fpmbefore 7.4.19-3.module_el8.6.0+2976+8b9a0d087.4.19-3.module_el8.6.0+2976+8b9a0d08
AlmaLinux:8php-gdbefore 7.4.19-3.module_el8.6.0+2976+8b9a0d087.4.19-3.module_el8.6.0+2976+8b9a0d08
AlmaLinux:8php-gmpbefore 7.4.19-3.module_el8.6.0+2976+8b9a0d087.4.19-3.module_el8.6.0+2976+8b9a0d08
AlmaLinux:8php-intlbefore 7.4.19-3.module_el8.6.0+2976+8b9a0d087.4.19-3.module_el8.6.0+2976+8b9a0d08
AlmaLinux:8php-jsonbefore 7.4.19-3.module_el8.6.0+2976+8b9a0d087.4.19-3.module_el8.6.0+2976+8b9a0d08
AlmaLinux:8php-ldapbefore 7.4.19-3.module_el8.6.0+2976+8b9a0d087.4.19-3.module_el8.6.0+2976+8b9a0d08
AlmaLinux:8php-mbstringbefore 7.4.19-3.module_el8.6.0+2976+8b9a0d087.4.19-3.module_el8.6.0+2976+8b9a0d08
AlmaLinux:8php-mysqlndbefore 7.4.19-3.module_el8.6.0+2976+8b9a0d087.4.19-3.module_el8.6.0+2976+8b9a0d08
AlmaLinux:8php-odbcbefore 7.4.19-3.module_el8.6.0+2976+8b9a0d087.4.19-3.module_el8.6.0+2976+8b9a0d08
AlmaLinux:8php-opcachebefore 7.4.19-3.module_el8.6.0+2976+8b9a0d087.4.19-3.module_el8.6.0+2976+8b9a0d08

+96

Same product

php: all records

Other highest-scoring records for the same primary product.

  • CVE-2024-4577Argument Injection in PHP-CGIKEV
    99Now
  • CVE-2019-11043Underflow in PHP-FPM can lead to RCEKEV
    99Now
  • CVE-2012-1823sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not properly handle queKEV
    99Now
  • CVE-2018-7584In PHP through 5.6.33, 7.0.x before 7.0.28, 7.1.x through 7.1.14, and 7.2.x through 7.2.2, there is a stack-based buffer under-read while pa
    65This week
  • CVE-2018-19518University of Washington IMAP Toolkit 2007f on UNIX, as used in imap_open() in PHP and other products, launches an rsh command (by means of
    59Plan
  • CVE-2016-3078Multiple integer overflows in php_zip.c in the zip extension in PHP before 7.0.6 allow remote attackers to cause a denial of service (heap-b
    56Plan

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
almalinux:apcu-panel5.1.18-1.module_el8.6.0+2750+78feabcb · AlmaLinux:8Package registry (OSV)
almalinux:libzip1.6.1-1.module_el8.6.0+2750+78feabcb · AlmaLinux:8Package registry (OSV)
almalinux:libzip-devel1.6.1-1.module_el8.6.0+2750+78feabcb · AlmaLinux:8Package registry (OSV)
almalinux:libzip-tools1.6.1-1.module_el8.6.0+2750+78feabcb · AlmaLinux:8Package registry (OSV)
almalinux:php7.4.19-3.module_el8.6.0+2976+8b9a0d08 · AlmaLinux:8Package registry (OSV)
almalinux:php-bcmath7.4.19-3.module_el8.6.0+2976+8b9a0d08 · AlmaLinux:8Package registry (OSV)
almalinux:php-cli7.4.19-3.module_el8.6.0+2976+8b9a0d08 · AlmaLinux:8Package registry (OSV)
almalinux:php-common7.4.19-3.module_el8.6.0+2976+8b9a0d08 · AlmaLinux:8Package registry (OSV)
almalinux:php-dba7.4.19-3.module_el8.6.0+2976+8b9a0d08 · AlmaLinux:8Package registry (OSV)
almalinux:php-dbg7.4.19-3.module_el8.6.0+2976+8b9a0d08 · AlmaLinux:8Package registry (OSV)
almalinux:php-devel7.4.19-3.module_el8.6.0+2976+8b9a0d08 · AlmaLinux:8Package registry (OSV)
almalinux:php-embedded7.4.19-3.module_el8.6.0+2976+8b9a0d08 · AlmaLinux:8Package registry (OSV)
debian:php7.07.0.33-0+deb9u11 · Debian:9Package registry (OSV)
debian:php7.37.3.27-1~deb10u1 · Debian:10Package registry (OSV)
debian:php7.47.4.15-1 · Debian:11Package registry (OSV)
opensuse:php77.4.33-150200.3.46.2 · openSUSE:Leap 15.3Package registry (OSV)
opensuse:php7-test7.4.33-150200.3.46.2 · openSUSE:Leap 15.3Package registry (OSV)
red hat:rh-php73-php0:7.3.29-1.el7 · Red Hat:rhel_software_collections:3::el7Package registry (OSV)
red hat:rh-php73-php-bcmath0:7.3.29-1.el7 · Red Hat:rhel_software_collections:3::el7Package registry (OSV)
red hat:rh-php73-php-cli0:7.3.29-1.el7 · Red Hat:rhel_software_collections:3::el7Package registry (OSV)
red hat:rh-php73-php-common0:7.3.29-1.el7 · Red Hat:rhel_software_collections:3::el7Package registry (OSV)
red hat:rh-php73-php-dba0:7.3.29-1.el7 · Red Hat:rhel_software_collections:3::el7Package registry (OSV)
red hat:rh-php73-php-dbg0:7.3.29-1.el7 · Red Hat:rhel_software_collections:3::el7Package registry (OSV)
red hat:rh-php73-php-debuginfo0:7.3.29-1.el7 · Red Hat:rhel_software_collections:3::el7Package registry (OSV)
red hat:rh-php73-php-devel0:7.3.29-1.el7 · Red Hat:rhel_software_collections:3::el7Package registry (OSV)
red hat:rh-php73-php-embedded0:7.3.29-1.el7 · Red Hat:rhel_software_collections:3::el7Package registry (OSV)
red hat:rh-php73-php-enchant0:7.3.29-1.el7 · Red Hat:rhel_software_collections:3::el7Package registry (OSV)
red hat:rh-php73-php-fpm0:7.3.29-1.el7 · Red Hat:rhel_software_collections:3::el7Package registry (OSV)
red hat:rh-php73-php-gd0:7.3.29-1.el7 · Red Hat:rhel_software_collections:3::el7Package registry (OSV)
rocky linux:libzip0:1.6.1-1.module+el8.6.0+789+2130c178 · Rocky Linux:8Package registry (OSV)

+11

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Anyone who can reach it over the internet can trigger it.
  • No account or password is required.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
none
Integrity
none
Availability
high · the service can be disrupted
Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality impact
None
Integrity impact
None
Availability impact
High

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

nvd-primary

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

MITRE has no CAPEC/ATT&CK mapping for this CWE.

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records