CVE-2021-22901: haxx curl Use After Free
Vulnerability summary
CVE-2021-22901 is a high (CVSS 8.1) Use After Free vulnerability in haxx curl. EPSS estimates a 63.53% chance of exploitation in the next 30 days, higher than 99.2% of scored vulnerabilities. 2 public exploits are recorded.
Advisory lineage
Upstream 0 · Downstream 2 · Related 1Timeline
- 11-06-2021PublishedVulnerability first disclosed.
- 14-10-2026Last modifiedVulnerability information updated.
Description
curl 7.75.0 through 7.76.1 suffers from a use-after-free vulnerability resulting in already freed memory being used when a TLS 1.3 session ticket arrives over a connection. A malicious server can use this in rare unfortunate circumstances to potentially reach remote code execution in the client. When libcurl at run-time sets up support for TLS 1.3 session tickets on a connection using OpenSSL, it stores pointers to the transfer in-memory object for later retrieval when a session ticket arrives. If the connection is used by multiple transfers (like with a reused HTTP/1.1 connection or multiplexed HTTP/2 connection) that first transfer object might be freed before the new session is established on that connection and then the function will access a memory buffer that might be freed. When using that memory, libcurl might even call a function pointer in the object, making it possible for a remote code execution if the server could somehow manage to get crafted memory content into the correct place in memory.
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · AlpineEcosystem advisory · calculated8.1HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · UbuntuEcosystem advisory · calculated8.1HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
63.53%
Chance of exploitation in the next 30 days
Percentile
99%
Versus all other CVEs
30-day change
+3.41 pp
From 60.12% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
2 foundExploit Reference (hackerone.com)
Maturity: unknown
Exploit Reference (curl.se)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Netapp16 products
Oracle7 products
- communications_cloud_native_core_binding_support_function1.11.0
- communications_cloud_native_core_network_function_cloud_native_environment1.10.0
- communications_cloud_native_core_network_repository_function1.15.0 | 1.15.1
- communications_cloud_native_core_network_slice_selection_function1.8.0
- communications_cloud_native_core_service_communication_proxy1.15.0
Alpine1 product
- curl≥ 7.75.0, < 7.77.0-r0
Haxx1 product
- curl≥ 7.75.0, ≤ 7.76.1
Siemens1 product
Splunk1 product
- universal_forwarder≥ 8.2.0, < 8.2.12 | ≥ 9.0.0, < 9.0.6 | 9.1.0
Ubuntu1 product
- curl< 7.58.0-2ubuntu3.13 | < 7.68.0-1ubuntu2.5
7 vendors · 28 products
References
17 links- github.com/curl/curl/commit/7f4a9a9b2a49547eae24d2e19bc5c346e9026479X Refsource MISCPatchThird Party Advisory