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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | https://github.com/curl/curl | 7.75.0 through 7.76.1 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat JBoss Core Services 1 | jbcs-httpd24 +1 | 1-18.el8jbcs | RHSA-2021:2472 |
| Red Hat JBoss Core Services 1 | jbcs-httpd24-apr +1 | 1.6.3-105.el8jbcs | RHSA-2021:2472 |
| Red Hat JBoss Core Services 1 | jbcs-httpd24-apr-util +8 | 1.6.1-82.el8jbcs | RHSA-2021:2472 |
| Red Hat JBoss Core Services 1 | jbcs-httpd24-brotli +1 | 1.0.6-40.el8jbcs | RHSA-2021:2472 |
| Red Hat JBoss Core Services 1 | jbcs-httpd24-curl +2 | 7.77.0-2.el8jbcs | RHSA-2021:2472 |
| Red Hat JBoss Core Services 1 | jbcs-httpd24-httpd +6 | 2.4.37-74.el8jbcs | RHSA-2021:2472 |
| Red Hat JBoss Core Services 1 | jbcs-httpd24-jansson +1 | 2.11-55.el8jbcs | RHSA-2021:2472 |
| Red Hat JBoss Core Services 1 | jbcs-httpd24-mod_cluster-native | 1.3.16-5.Final_redhat_2.el8jbcs | RHSA-2021:2472 |
| Red Hat JBoss Core Services 1 | jbcs-httpd24-mod_http2 | 1.15.7-17.el8jbcs | RHSA-2021:2472 |
| Red Hat JBoss Core Services 1 | jbcs-httpd24-mod_jk +2 | 1.2.48-16.redhat_1.el8jbcs | RHSA-2021:2472 |
| Red Hat JBoss Core Services 1 | jbcs-httpd24-mod_md | 1:2.0.8-36.el8jbcs | RHSA-2021:2472 |
| Red Hat JBoss Core Services 1 | jbcs-httpd24-mod_security | 2.9.2-63.GA.el8jbcs | RHSA-2021:2472 |
| Red Hat JBoss Core Services 1 | jbcs-httpd24-mod_ssl +1 | 1:2.4.37-74.el8jbcs | RHSA-2021:2472 |
| Red Hat JBoss Core Services 1 | jbcs-httpd24-nghttp2 +1 | 1.39.2-37.el8jbcs | RHSA-2021:2472 |
| Red Hat JBoss Core Services 1 | jbcs-httpd24-openssl +4 | 1:1.1.1g-6.el8jbcs | RHSA-2021:2472 |
| Red Hat JBoss Core Services 1 | jbcs-httpd24-openssl-chil | 1.0.0-5.el8jbcs | RHSA-2021:2472 |
| Red Hat JBoss Core Services 1 | jbcs-httpd24-openssl-pkcs11 | 0.4.10-20.el8jbcs | RHSA-2021:2472 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | curl | 7.79.1-1.1 | openSUSE-SU-2024:10582-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | curl | 7.77.0-r0 | — |
| Alpine v3.23 | curl | 7.77.0-r0 | — |
| Alpine v3.22 | curl | 7.77.0-r0 | — |
| Alpine v3.21 | curl | 7.77.0-r0 | — |
| Alpine v3.20 | curl | 7.77.0-r0 | — |
Show 8 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | curl | 7.77.0-r0 | — |
| Alpine v3.18 | curl | 7.77.0-r0 | — |
| Alpine v3.17 | curl | 7.77.0-r0 | — |
| Alpine v3.16 | curl | 7.77.0-r0 | — |
| Alpine v3.15 | curl | 7.77.0-r0 | — |
| Alpine v3.14 | curl | 7.77.0-r0 | — |
| Alpine v3.13 | curl | 7.77.0-r0 | — |
| Alpine v3.12 | curl | 7.77.0-r0 | — |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 2 (CBL-Mariner) | curl | 7.76.0-5 | — |
Advisories 14
- RHSA-2021:2472 Red Hat Security Advisory: Red Hat JBoss Core Services Apache HTTP Server 2.4.37 SP8 security update Red Hat Security Advisories (RHSA) · Oct 15, 2026
- SSA-398330 SSA-398330: Vulnerabilities in the additional GNU/Linux subsystem of the SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP >= V3.1.0 and < V3.1.5 Siemens ProductCERT · Oct 13, 2026
- WID-SEC-2023-1350 Splunk Splunk Enterprise: Mehrere Schwachstellen in Komponenten von Drittanbietern BSI CERT-Bund (WID) · Jul 1, 2026
- openSUSE-SU-2024:10582-1 curl-7.79.1-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2023-2229 Splunk Splunk Enterprise: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 18, 2025
- WID-SEC-2022-0873 cURL und libcurl: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 6, 2025
- WID-SEC-2023-0063 Juniper Junos Space: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 8, 2025
- ICSA-23-348-10 Siemens SIMATIC S7-1500 CISA ICS & IT advisories · Aug 12, 2025
- ICSA-22-069-09 Siemens SINEC INS CISA ICS & IT advisories · May 6, 2025
- WID-SEC-2024-2180 Oracle Fusion Middleware: Mehrere Schwachstellen BSI CERT-Bund (WID) · Sep 18, 2024
- ICSA-22-132-13 Siemens Industrial Devices using libcurl CISA ICS & IT advisories · Aug 9, 2022
- SSA-732250 SSA-732250: Libcurl Vulnerabilities in Industrial Devices Siemens ProductCERT · Aug 9, 2022
- VDE-2022-019 Endress+Hauser: Multiple products utilizing vulnerable WIBU-SYSTEMS CodeMeter components CERT@VDE · Jun 2, 2022
- SSA-389290 SSA-389290: Third-Party Component Vulnerabilities in SINEC INS Siemens ProductCERT · Mar 8, 2022
References
- https://hackerone.com/reports/1180380
- https://curl.se/docs/CVE-2021-22901.html
- https://github.com/curl/curl/commit/7f4a9a9b2a49547eae24d2e19bc5c346e9026479
- https://www.oracle.com//security-alerts/cpujul2021.html
- https://security.netapp.com/advisory/ntap-20210723-0001/
- https://www.oracle.com/security-alerts/cpujan2022.html
- https://security.netapp.com/advisory/ntap-20210727-0007/
- https://www.oracle.com/security-alerts/cpuapr2022.html
- https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf
- https://cert-portal.siemens.com/productcert/pdf/ssa-732250.pdf