CVE & CISA-KEV Catalog

CVE-2021-22945

CRITICALEPSS 94th pctl
9.1
CVSS v3
NVD

Description

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*.

How to fix

Remediation Available
curlAmazon
Fixed in:0:7.79.1-1.amzn2.0.1
Fixed in:0:7.79.1-1.amzn2.0.1
Fixed in:0:7.79.1-1.amzn2.0.1
curl-debuginfoAmazon
Fixed in:0:7.79.1-1.amzn2.0.1
Fixed in:0:7.79.1-1.amzn2.0.1
Fixed in:0:7.79.1-1.amzn2.0.1
libcurlAmazon
Fixed in:0:7.79.1-1.amzn2.0.1
Fixed in:0:7.79.1-1.amzn2.0.1
Fixed in:0:7.79.1-1.amzn2.0.1
libcurl-develAmazon
Fixed in:0:7.79.1-1.amzn2.0.1
Fixed in:0:7.79.1-1.amzn2.0.1
Fixed in:0:7.79.1-1.amzn2.0.1
curlDebian
Fixed in:7.79.1-1CVE-2021-22945
Fixed in:7.79.1-1CVE-2021-22945
Fixed in:7.79.1-1CVE-2021-22945
curlUbuntu
Fixed in:7.58.0-2ubuntu3.15USN-5079-1

This Ubuntu release reached end-of-life on 2023-05-31. Extended security maintenance is available until 2028-04-01.

Fixed in:7.68.0-1ubuntu2.7USN-5079-1

This Ubuntu release reached end-of-life on 2025-05-31. Extended security maintenance is available until 2030-04-02.

libcurl3-gnutlsUbuntu
Fixed in:7.58.0-2ubuntu3.15USN-5079-1

This Ubuntu release reached end-of-life on 2023-05-31. Extended security maintenance is available until 2028-04-01.

Fixed in:7.68.0-1ubuntu2.7USN-5079-1

This Ubuntu release reached end-of-life on 2025-05-31. Extended security maintenance is available until 2030-04-02.

libcurl3-nssUbuntu
Fixed in:7.58.0-2ubuntu3.15USN-5079-1

This Ubuntu release reached end-of-life on 2023-05-31. Extended security maintenance is available until 2028-04-01.

Fixed in:7.68.0-1ubuntu2.7USN-5079-1

This Ubuntu release reached end-of-life on 2025-05-31. Extended security maintenance is available until 2030-04-02.

libcurl4Ubuntu
Fixed in:7.58.0-2ubuntu3.15USN-5079-1

This Ubuntu release reached end-of-life on 2023-05-31. Extended security maintenance is available until 2028-04-01.

Fixed in:7.68.0-1ubuntu2.7USN-5079-1

This Ubuntu release reached end-of-life on 2025-05-31. Extended security maintenance is available until 2030-04-02.

UniversalForwarderWindows application
Affected:8.2.0 8.2.12Fixed in:8.2.12Splunk, Inc.
Affected:9.0.0 9.0.6Fixed in:9.0.6Splunk, Inc.

TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityNone
AvailabilityHigh

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

Exploit Intelligence

6.68%probability of exploitation in 30 days
94thpercentile

High risk: more likely to be exploited than 94% of all known CVEs.

References

Related Vulnerabilities

Other CWE-415 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2023-25136Medium6.590%-Fix
CVE-2003-0545Critical9.887%-Fix
CVE-2018-0101Critical10.087%-Fix
CVE-2026-33824Critical9.873%KEVFix
CVE-2019-3829Medium5.359%-Fix
CVE-2021-3407Medium5.550%-Fix

Common questions

How do I fix CVE-2021-22945?

Published advisories record a fix for 10 affected products. The "How to fix" section on this page lists the fixed version and source advisory for each one, so apply the entry matching what you actually run.

Is CVE-2021-22945 being actively exploited?

Not that we know of. CVE-2021-22945 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 6.7% is the estimated probability that it will be exploited in the next 30 days. That is higher than 94% of all scored CVEs.

How severe is CVE-2021-22945?

CVE-2021-22945 has a CVSS v3 base score of 9.1, rated critical. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.

What does CVE-2021-22945 affect?

Published advisories record a fix for curl (Amazon), curl-debuginfo (Amazon), libcurl (Amazon), libcurl-devel (Amazon), and 6 more. Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.

Embed a live status badge for CVE-2021-22945
CVE-2021-22945 severity badge

Markdown

[![CVE-2021-22945](https://tridentstack.com/cve/badge/CVE-2021-22945.svg)](https://tridentstack.com/cve/CVE-2021-22945)

HTML

<a href="https://tridentstack.com/cve/CVE-2021-22945"><img src="https://tridentstack.com/cve/badge/CVE-2021-22945.svg" alt="CVE-2021-22945"></a>

Check your Linux endpoints for this class of vulnerability

TridentStack Control continuously scans Linux endpoints for known vulnerabilities and deploys the fixes from the same console. 200 endpoints free forever, no credit card.

Patch your fleet freeStart freeThis CVE lookup is free and always will be.

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-06-17.