Home / https://github.com/curl/curl / https://github.com/curl/curl / CVE-2021-22945
CVE-2021-22945: is it exploited, and which versions of https://github.com/curl/curl are affected and fixed?
CVE-2021-22945 is a double free vulnerability in https://github.com/curl/curl. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 09:38 UTC). Affected: https://github.com/curl/curl curl 7.73.0 to and including 7.78.0 (CVE record by hackerone). Fixed in 12.3, 1.0.1.1, 8.2.12 and 9.0.6 (NVD). Severity: Critical (9.1, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 09:38 UTC, CVE record November 19, 2026, 07:15 UTC and NVD November 19, 2026, 07:54 UTC.
What is CVE-2021-22945?
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*.
From the CVE record by hackerone, last updated October 14, 2026, 11:19 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| https://github.com/curl/curl | curl 7.73.0 to and including 7.78.0 |
As the CVE record by hackerone states it, last updated October 14, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| haxx | libcurl | from 7.73.0 through 7.78.0 | application |
| fedoraproject | fedora | 33 | operating system |
| fedoraproject | fedora | 35 | operating system |
| netapp | cloud backup | all versions | application |
| netapp | clustered data ontap | all versions | application |
| oracle | mysql server | from 5.7.0 through 5.7.35 | application |
| oracle | mysql server | from 8.0.0 through 8.0.26 | application |
| netapp | h300s firmware | all versions | operating system |
| netapp | h500s firmware | all versions | operating system |
| netapp | h700s firmware | all versions | operating system |
| netapp | h300e firmware | all versions | operating system |
| netapp | h500e firmware | all versions | operating system |
| netapp | h700e firmware | all versions | operating system |
| netapp | h410s firmware | all versions | operating system |
| netapp | solidfire baseboard management controller firmware | all versions | operating system |
| apple | macos | from 12.0.0 before 12.3 | operating system |
| siemens | sinec ins | before 1.0.1.1 | application |
| debian | debian linux | 11.0 | operating system |
| splunk | universal forwarder | from 8.2.0 before 8.2.12 | application |
| splunk | universal forwarder | from 9.0.0 before 9.0.6 | application |
| splunk | universal forwarder | 9.1.0 | application |
NVD analysis (status Modified), last modified October 14, 2026, 12:17 UTC.
How severe is CVE-2021-22945?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H | CISA-ADP |
| Critical 9.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H | NVD |
| Medium 5.8 | CVSS 2.0 | AV:N/AC:M/Au:N/C:P/I:N/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2021-22945 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, March 28, 2024)
- EPSS
- 6.68% probability of exploitation activity in the next 30 days, percentile 94.0 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-415 Double Free
Where are the vendor advisories and references?
- https://hackerone.com/reports/1269242
- FEDORA-2021-fc96a3a749 vendor-advisory
- https://www.oracle.com/security-alerts/cpuoct2021.html
- https://security.netapp.com/advisory/ntap-20211029-0003/
- FEDORA-2021-1d24845e93 vendor-advisory
- https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf
- https://support.apple.com/kb/HT213183
- 20220314 APPLE-SA-2022-03-14-4 macOS Monterey 12.3 mailing-list
- DSA-5197 vendor-advisory
- GLSA-202212-01 vendor-advisory
- https://cert-portal.siemens.com/productcert/html/ssa-389290.html
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html
When was it published, and where is the official record?
- Reserved
- January 6, 2021
- Published
- September 23, 2021, 00:00 UTC
- CVE record updated
- October 14, 2026, 11:19 UTC by hackerone
- NVD
- Modified, last modified October 14, 2026, 12:17 UTC
- Last checked
- CVE list November 19, 2026, 07:15 UTC; NVD November 19, 2026, 07:54 UTC; KEV December 3, 2026, 09:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect https://github.com/curl/curl?
- May 26, 2023CVE-2023-28322 https://github.com/curl/curl: information disclosure
- May 26, 2023CVE-2023-28321 https://github.com/curl/curl: improper certificate validation
- May 26, 2023CVE-2023-28320 https://github.com/curl/curl: denial of service (uncontrolled resource consumption)
- May 26, 2023CVE-2023-28319 https://github.com/curl/curl: use after free
- Mar 30, 2023CVE-2023-27538 https://github.com/curl/curl: authentication Bypass by Primary Weakness
- Mar 30, 2023CVE-2023-27537 https://github.com/curl/curl: double free
- Mar 30, 2023CVE-2023-27536 https://github.com/curl/curl: authentication Bypass by Primary Weakness
- Mar 30, 2023CVE-2023-27535 https://github.com/curl/curl: authentication Bypass by Primary Weakness
Every CVE in https://github.com/curl/curl
Questions about CVE-2021-22945
Is CVE-2021-22945 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 09:38 UTC. FIRST's EPSS gives it a 6.68% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of https://github.com/curl/curl are affected by CVE-2021-22945?
https://github.com/curl/curl curl 7.73.0 to and including 7.78.0, per the CVE record by hackerone. The tables above give every range the sources list.
Which version fixes CVE-2021-22945?
12.3, 1.0.1.1, 8.2.12 and 9.0.6, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2021-22945?
Critical (9.1, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2021-22945?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.