ADVISORIES

CVE Program

CNA-CVE-2021-21702

Null Dereference in SoapClient

Details

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.

Affected packages

EcosystemPackageAffected versions
PHPphp
From 7.3 before 7.3.27 (fixed in 7.3.27)
From 7.4 before 7.4.15 (fixed in 7.4.15)
From 8.0.X before 8.0.2 (fixed in 8.0.2)

References