{"id":"CVE-2021-22901","published":"2021-06-11T15:49:38Z","modified":"2026-10-14T10:31:25Z","title":"curl 7.75.0 through 7.76.1 suffers from a use-after-free vulnerability resulting in already freed memory being used…","vendor":null,"product":null,"tier":"core","eol":null,"affectedVersions":[{"vendor":"n/a","product":"https://github.com/curl/curl","versions":["7.75.0 through 7.76.1"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2026-10-08T20:56:54.242206Z","from":"CISA ADP","provenance":"source"},"description":{"text":"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.","provenance":"source","from":"CVE.org"},"summary":{"text":"The use-after-free flaw affects curl 7.75.0 through 7.76.1 in the libcurl TLS 1.3 session ticket handling when built against OpenSSL, where a transfer object pointer can be used after it has been freed. A malicious server can trigger this when a connection is reused across multiple transfers, such as with HTTP/1.1 keep-alive or multiplexed HTTP/2, and an attacker who can also place crafted content in the right memory location could in rare cases reach remote code execution on the client.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-29T07:22:53Z"},"cvss":null,"epss":{"score":0.63531,"percentile":0.9923,"date":"2026-11-20","provenance":"source"},"kev":null,"vulncheckKev":null,"exploited":false,"otx":{"pulseCount":2,"pulses":[{"name":"Siemens Releases June 2022 Patch Tuesday Advisories to Address 59 Bugs Affecting Its Products","url":"https://otx.alienvault.com/pulse/62ba972eb403bd2062972eaa","created":"2022-06-28"},{"name":"Oracle Critical Patch Update Advisory - April 2022","url":"https://otx.alienvault.com/pulse/626040216e00cd388b1b9180","created":"2022-04-20"}],"provenance":"machine"},"cwes":[{"id":"CWE-416","name":"Use After Free"}],"references":[{"url":"https://hackerone.com/reports/1180380","tags":["x_refsource_MISC"]},{"url":"https://curl.se/docs/CVE-2021-22901.html","tags":["x_refsource_MISC"]},{"url":"https://github.com/curl/curl/commit/7f4a9a9b2a49547eae24d2e19bc5c346e9026479","tags":["x_refsource_MISC"]},{"url":"https://www.oracle.com//security-alerts/cpujul2021.html","tags":["x_refsource_MISC"]},{"url":"https://security.netapp.com/advisory/ntap-20210723-0001/","tags":["x_refsource_CONFIRM"]},{"url":"https://www.oracle.com/security-alerts/cpujan2022.html","tags":["x_refsource_MISC"]},{"url":"https://security.netapp.com/advisory/ntap-20210727-0007/","tags":["x_refsource_CONFIRM"]},{"url":"https://www.oracle.com/security-alerts/cpuapr2022.html","tags":["x_refsource_MISC"]},{"url":"https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf","tags":["x_refsource_CONFIRM"]},{"url":"https://cert-portal.siemens.com/productcert/pdf/ssa-732250.pdf","tags":["x_refsource_CONFIRM"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-389290.html","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-732250.html","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-398330.html","tags":[]}],"techniques":[],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2021-10033","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2021-10033","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":null,"exploitRefs":[],"flow":[],"timeline":[{"date":"2021-06-11","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2021-22901","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":null,"daysToKev":null},"priority":{"score":20.9,"factors":[{"name":"In a KEV catalog","points":0.0,"detail":"not listed"},{"name":"Recent KEV listing","points":0.0,"detail":"not listed"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.85,"detail":"percentile 0.9923"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":0.0,"detail":"none found"},{"name":"Mentioned in OTX pulses","points":1.08,"detail":"2 pulses"},{"name":"CVSS severity","points":0.0,"detail":"no CVSS"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]},"lineage":{"familyId":"fam-cve-2021-22897-family-cve-2021-22897","parents":[{"from":"CVE-2021-22897","to":"CVE-2021-22901","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["lib/vtls/schannel.c"],"commits":["https://github.com/curl/curl/commit/bbb71507b7bab52002f9b1e0880bed6a32834511","https://github.com/curl/curl/commit/7f4a9a9b2a49547eae24d2e19bc5c346e9026479"],"basis":"shared function","functions":["get_alg_id_by_name"]}]}]}}