CVE Catalog

CVE-2021-22945

CriticalCVSS 9.1
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Very high risk
6.68%

94th percentile - higher than 94% of all known CVEs

Summary

When sending data to an MQTT server, libcurl <= 7.73.0 and 7.78.0 could in some circumstances erroneously keep a pointer to an already freed memory area and both use that again in a subsequent call to send data and also free it *again*.

Risk Assessment

This could lead to use-after-free, potentially resulting in application crash or possibly remote code execution.

Recommendation

It is recommended to upgrade libcurl to version 7.79.0 or later, which includes a fix for this bug.

Other vulnerabilities in libcurl

See all
Original NVD description (English source)

When sending data to an MQTT server, libcurl <= 7.73.0 and 7.78.0 could in some circumstances erroneously keep a pointer to an already freed memory area and both use that again in a subsequent call to send data and also free it *again*.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS