# CVE-2021-22901: TLS session caching disaster

- Severity: High 8.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 63.5%, higher than 99% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2021-05-26T08:00:00.000Z
- Modified: 2026-10-25T01:04:44.135Z
- Also known as: CURL-CVE-2021-22901
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: hackerone

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

(As written by CVE List.)

## Affected

- https://github.com/curl/curl: 7.75.0 through 7.76.1
- https://github.com/curl/curl.git: from 7.75.0 before 7.77.0; from a304051620b92e12b6b1b4e19edc57b34ea332b6 before 7f4a9a9b2a49547eae24d2e19bc5c346e9026479
- haxx curl: from 7.75.0 up to 7.76.1
- oracle communications_cloud_native_core_binding_support_function: 1.11.0
- oracle communications_cloud_native_core_network_function_cloud_native_environment: 1.10.0
- oracle communications_cloud_native_core_network_repository_function: 1.15.0; 1.15.1
- oracle communications_cloud_native_core_network_slice_selection_function: 1.8.0
- oracle communications_cloud_native_core_service_communication_proxy: 1.15.0
- oracle essbase: before 11.1.2.4.047; from 21.0 before 21.3
- oracle mysql_server: up to 5.7.34; from 8.0.0 up to 8.0.25
- netapp active_iq_unified_manager: no versions given
- netapp cloud_backup: no versions given
- netapp oncommand_insight: no versions given
- netapp oncommand_workflow_automation: no versions given
- netapp snapcenter: no versions given
- netapp solidfire,_enterprise_sds_&_hci_storage_node: no versions given
- netapp solidfire_&_hci_management_node: no versions given
- netapp solidfire_baseboard_management_controller_firmware: no versions given
- netapp hci_compute_node_firmware: no versions given
- netapp h300e_firmware: no versions given
- netapp h300s_firmware: no versions given
- netapp h410s_firmware: no versions given
- netapp h500e_firmware: no versions given
- netapp h500s_firmware: no versions given
- netapp h700e_firmware: no versions given
- netapp h700s_firmware: no versions given
- siemens sinec_infrastructure_network_services: before 1.0.1.1
- splunk universal_forwarder: from 8.2.0 before 8.2.12; from 9.0.0 before 9.0.6; 9.1.0

## Every score

- curl: rating High
- NVD: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.8 Medium `AV:N/AC:M/Au:N/C:P/I:P/A:P`

## References

- <https://hackerone.com/reports/1180380> (exploit, issue-tracking, third-party-advisory)
- <https://curl.se/docs/CVE-2021-22901.html> (exploit, patch, vendor-advisory)
- <https://github.com/curl/curl/commit/7f4a9a9b2a49547eae24d2e19bc5c346e9026479> (patch, third-party-advisory)
- <https://www.oracle.com//security-alerts/cpujul2021.html> (patch, third-party-advisory)
- <https://security.netapp.com/advisory/ntap-20210723-0001/> (third-party-advisory)
- <https://www.oracle.com/security-alerts/cpujan2022.html> (patch, third-party-advisory)
- <https://security.netapp.com/advisory/ntap-20210727-0007/> (third-party-advisory)
- <https://www.oracle.com/security-alerts/cpuapr2022.html> (patch, third-party-advisory)
- <https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf> (patch, third-party-advisory)
- <https://cert-portal.siemens.com/productcert/pdf/ssa-732250.pdf> (third-party-advisory)
- <https://cert-portal.siemens.com/productcert/html/ssa-389290.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-732250.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-398330.html>

## Sources

- CVE List: [CVE-2021-22901](https://www.cve.org/CVERecord?id=CVE-2021-22901), CVE Terms of Use, modified 2026-10-14
- curl: [CURL-CVE-2021-22901](https://osv.dev/vulnerability/CURL-CVE-2021-22901), MIT, modified 2026-10-25
- NVD: [CVE-2021-22901](https://nvd.nist.gov/vuln/detail/CVE-2021-22901), Public domain, modified 2026-10-14

---

Page: https://cve.day/CVE-2021-22901 · Whole record: https://cve.day/CVE-2021-22901.json · Rebuilt by cve.day 2026-11-25T22:58:01.810Z
