CVE Database›Document archive›CVE-2021-22945

CVE-2021-22945

curl: use-after-free and double-free in MQTT sending

Loading…

Severity

Moderate

Red Hat Product Security

9.1

CVSS 3.1

Review impact separately from score.

Published · September 15, 2021

Updated · June 28, 2026

Description

A flaw was found in libcurl. When sending data to an MQTT server could in some situations lead to libcurl using already freed memory and then try to free it again. The highest threat from this vulnerability is to data confidentiality as well as system availability.

Statement

The MQTT feature is not enabled by default in any of the curl version that Red Hat ships

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

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

CWE-416 · Use After Free