# CVE-2021-21702: Null Dereference in SoapClient

- Severity: Medium 5.3 (CVSS:3.1, scored by php) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 3.19%, higher than 88% of CVEs (2026-12-01)
- Published: 2021-02-15T04:10:16.837Z
- Modified: 2026-09-08T08:48:18.114Z
- Also known as: BIT-LIBPHP-2021-21702, BIT-PHP-2021-21702, BIT-PHP-MIN-2021-21702
- Weaknesses: CWE-476
- Assigned by: php

## Description

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.

(As written by CVE List.)

## Affected

- PHP Group PHP: from 7.3.x before 7.3.27; from 7.4.x before 7.4.15; from 8.0.X before 8.0.2
- php php: from 7.3.0 before 7.3.27; from 7.4.0 before 7.4.15; from 8.0.0 before 8.0.2
- debian debian_linux: 9.0; 10.0
- netapp clustered_data_ontap: no versions given
- oracle communications_diameter_signaling_router: from 8.0.0 up to 8.5.0
- libphp (Bitnami): from 7.3.0 before 7.3.27; from 7.4.0 before 7.4.15; from 8.0.0 before 8.0.2
- php (Bitnami): from 7.3.0 before 7.3.27; from 7.4.0 before 7.4.15; from 8.0.0 before 8.0.2
- php-min (Bitnami): from 7.3.0 before 7.3.27; from 7.4.0 before 7.4.15; from 8.0.0 before 8.0.2

## Every score

- php: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:N/A:P`
- Bitnami Vulnerability Database: rating High

## References

- <https://bugs.php.net/bug.php?id=80672> (advisory, issue-tracking, vendor-advisory)
- <https://www.debian.org/security/2021/dsa-4856> (advisory, third-party-advisory, vendor-advisory)
- <https://security.gentoo.org/glsa/202105-23> (advisory, third-party-advisory, vendor-advisory)
- <https://lists.debian.org/debian-lts-announce/2021/07/msg00008.html> (advisory, mailing-list, third-party-advisory)
- <https://www.oracle.com/security-alerts/cpuoct2021.html> (advisory, patch, third-party-advisory)
- <https://www.tenable.com/security/tns-2021-14> (advisory, third-party-advisory)
- <https://security.netapp.com/advisory/ntap-20210312-0005/> (advisory, third-party-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-21702> (web)

## Sources

- CVE List: [CVE-2021-21702](https://www.cve.org/CVERecord?id=CVE-2021-21702), CVE Terms of Use, modified 2024-09-16
- NVD: [CVE-2021-21702](https://nvd.nist.gov/vuln/detail/CVE-2021-21702), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-LIBPHP-2021-21702](https://osv.dev/vulnerability/BIT-LIBPHP-2021-21702), Apache-2.0, modified 2026-09-08
- Bitnami Vulnerability Database: [BIT-PHP-2021-21702](https://osv.dev/vulnerability/BIT-PHP-2021-21702), Apache-2.0, modified 2026-09-08
- Bitnami Vulnerability Database: [BIT-PHP-MIN-2021-21702](https://osv.dev/vulnerability/BIT-PHP-MIN-2021-21702), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2021-21702 · Whole record: https://cve.day/CVE-2021-21702.json · Rebuilt by cve.day 2026-11-25T22:57:59.947Z
