CVE catalog

CVE-2021-22901

curl: CVE-2021-22901

[CVE catalog]

Severity
High · CVSS 8.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Published
Source
[NVD] · [CVE record]
EPSS
63.53% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiancurlsid8.23.0-1not affected
Debiancurlforky8.22.0-1not affected
Debiancurltrixie8.14.1-2+deb13u5not affected
Debiancurltrixie-security8.14.1-2+deb13u7not affected
Debiancurlbookworm7.88.1-10+deb12u15not affected
Debiancurlbookworm-security7.88.1-10+deb12u5not affected
CpecurlNot reportedNot reportedunknown
Cpecommunications_cloud_native_core_binding_support_functionNot reportedNot reportedunknown
Cpecommunications_cloud_native_core_network_function_cloud_native_environmentNot reportedNot reportedunknown
Cpecommunications_cloud_native_core_network_repository_functionNot reportedNot reportedunknown
Cpecommunications_cloud_native_core_network_slice_selection_functionNot reportedNot reportedunknown
Cpecommunications_cloud_native_core_service_communication_proxyNot reportedNot reportedunknown
CpeessbaseNot reported21.3fixed
Cpemysql_serverNot reportedNot reportedunknown
Cpeactive_iq_unified_managerNot reportedNot reportedunknown
Cpecloud_backupNot reportedNot reportedunknown
Cpeoncommand_insightNot reportedNot reportedunknown
Cpeoncommand_workflow_automationNot reportedNot reportedunknown
CpesnapcenterNot reportedNot reportedunknown
Cpesolidfire\,_enterprise_sds_\&_hci_storage_nodeNot reportedNot reportedunknown
Cpesolidfire_\&_hci_management_nodeNot reportedNot reportedunknown
Cpesolidfire_baseboard_management_controller_firmwareNot reportedNot reportedunknown
Alpinecurl3.127.77.0-r0fixed
Alpinecurl3.137.77.0-r0fixed
Alpinecurl3.147.77.0-r0fixed
Alpinecurl3.157.77.0-r0fixed
Alpinecurl3.167.77.0-r0fixed
Alpinecurl3.177.77.0-r0fixed
Alpinecurl3.187.77.0-r0fixed
Alpinecurl3.197.77.0-r0fixed
Alpinecurl3.207.77.0-r0fixed
Alpinecurl3.217.77.0-r0fixed
Alpinecurl3.227.77.0-r0fixed
Alpinecurl3.237.77.0-r0fixed
Alpinecurl3.247.77.0-r0fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
DebiancurlsourcesidNot affectedunimportantNot reportedNot reported
DebiancurlsourceforkyNot affectedunimportantNot reportedNot reported
DebiancurlsourcetrixieNot affectedunimportantNot reportedNot reported
DebiancurlsourcebookwormNot affectedunimportantNot reportedNot reported
CpeessbasecpeNot reported21.3Not reportedNVD-CVE-2021-22901Not reported
Alpinecurlapk3.127.77.0-r0Not reportedALPINE-CVE-2021-22901Not reported
Alpinecurlapk3.137.77.0-r0Not reportedALPINE-CVE-2021-22901Not reported
Alpinecurlapk3.147.77.0-r0Not reportedALPINE-CVE-2021-22901Not reported
Alpinecurlapk3.157.77.0-r0Not reportedALPINE-CVE-2021-22901Not reported
Alpinecurlapk3.167.77.0-r0Not reportedALPINE-CVE-2021-22901Not reported
Alpinecurlapk3.177.77.0-r0Not reportedALPINE-CVE-2021-22901Not reported
Alpinecurlapk3.187.77.0-r0Not reportedALPINE-CVE-2021-22901Not reported
Alpinecurlapk3.197.77.0-r0Not reportedALPINE-CVE-2021-22901Not reported
Alpinecurlapk3.207.77.0-r0Not reportedALPINE-CVE-2021-22901Not reported
Alpinecurlapk3.217.77.0-r0Not reportedALPINE-CVE-2021-22901Not reported
Alpinecurlapk3.227.77.0-r0Not reportedALPINE-CVE-2021-22901Not reported
Alpinecurlapk3.237.77.0-r0Not reportedALPINE-CVE-2021-22901Not reported
Alpinecurlapk3.247.77.0-r0Not reportedALPINE-CVE-2021-22901Not reported

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

[Debian 12 (Bookworm)]

  • [curl]Unknown
    Details (6)
    • 7.88.1-10+deb12u15 · amd64 · bookworm

      Not affected

      dsa · curl · debian · bookworm

    • 7.88.1-10+deb12u15 · arm64 · bookworm

      Not affected

      dsa · curl · debian · bookworm

    • 8.14.1-2+deb13u2~bpo13+1 · amd64 · bookworm-backports

      Not affected

      dsa · curl · debian · bookworm

    • 8.14.1-2+deb13u2~bpo13+1 · arm64 · bookworm-backports

      Not affected

      dsa · curl · debian · bookworm

    • 7.88.1-10+deb12u5 · amd64 · bookworm-security

      Not affected

      dsa · curl · debian · bookworm

    • 7.88.1-10+deb12u5 · arm64 · bookworm-security

      Not affected

      dsa · curl · debian · bookworm

  • Source package: [curl]

    Details (6)
    • 7.88.1-10+deb12u15 · amd64 · bookworm

      Not affected

      dsa · curl · debian · bookworm

    • 7.88.1-10+deb12u15 · arm64 · bookworm

      Not affected

      dsa · curl · debian · bookworm

    • 8.14.1-2+deb13u2~bpo13+1 · amd64 · bookworm-backports

      Not affected

      dsa · curl · debian · bookworm

    • 8.14.1-2+deb13u2~bpo13+1 · arm64 · bookworm-backports

      Not affected

      dsa · curl · debian · bookworm

    • 7.88.1-10+deb12u5 · amd64 · bookworm-security

      Not affected

      dsa · curl · debian · bookworm

    • 7.88.1-10+deb12u5 · arm64 · bookworm-security

      Not affected

      dsa · curl · debian · bookworm

  • [libcurl3-nss]Unknown

    Source package: [curl]

    Details (4)
    • 7.88.1-10+deb12u15 · amd64 · bookworm

      Not affected

      dsa · curl · debian · bookworm

    • 7.88.1-10+deb12u15 · arm64 · bookworm

      Not affected

      dsa · curl · debian · bookworm

    • 7.88.1-10+deb12u5 · amd64 · bookworm-security

      Not affected

      dsa · curl · debian · bookworm

    • 7.88.1-10+deb12u5 · arm64 · bookworm-security

      Not affected

      dsa · curl · debian · bookworm

  • [libcurl4]Unknown

    Source package: [curl]

    Details (6)
    • 7.88.1-10+deb12u15 · amd64 · bookworm

      Not affected

      dsa · curl · debian · bookworm

    • 7.88.1-10+deb12u15 · arm64 · bookworm

      Not affected

      dsa · curl · debian · bookworm

    • 8.14.1-2+deb13u2~bpo13+1 · amd64 · bookworm-backports

      Not affected

      dsa · curl · debian · bookworm

    • 8.14.1-2+deb13u2~bpo13+1 · arm64 · bookworm-backports

      Not affected

      dsa · curl · debian · bookworm

    • 7.88.1-10+deb12u5 · amd64 · bookworm-security

      Not affected

      dsa · curl · debian · bookworm

    • 7.88.1-10+deb12u5 · arm64 · bookworm-security

      Not affected

      dsa · curl · debian · bookworm

  • [libcurl4-doc]Unknown

    Source package: [curl]

    Details (6)
    • 7.88.1-10+deb12u15 · all · bookworm

      Not affected

      dsa · curl · debian · bookworm

    • 7.88.1-10+deb12u15 · all · bookworm

      Not affected

      dsa · curl · debian · bookworm

    • 8.14.1-2+deb13u2~bpo13+1 · all · bookworm-backports

      Not affected

      dsa · curl · debian · bookworm

    • 8.14.1-2+deb13u2~bpo13+1 · all · bookworm-backports

      Not affected

      dsa · curl · debian · bookworm

    • 7.88.1-10+deb12u5 · all · bookworm-security

      Not affected

      dsa · curl · debian · bookworm

    • 7.88.1-10+deb12u5 · all · bookworm-security

      Not affected

      dsa · curl · debian · bookworm

  • Source package: [curl]

    Details (6)
    • 7.88.1-10+deb12u15 · amd64 · bookworm

      Not affected

      dsa · curl · debian · bookworm

    • 7.88.1-10+deb12u15 · arm64 · bookworm

      Not affected

      dsa · curl · debian · bookworm

    • 8.14.1-2+deb13u2~bpo13+1 · amd64 · bookworm-backports

      Not affected

      dsa · curl · debian · bookworm

    • 8.14.1-2+deb13u2~bpo13+1 · arm64 · bookworm-backports

      Not affected

      dsa · curl · debian · bookworm

    • 7.88.1-10+deb12u5 · amd64 · bookworm-security

      Not affected

      dsa · curl · debian · bookworm

    • 7.88.1-10+deb12u5 · arm64 · bookworm-security

      Not affected

      dsa · curl · debian · bookworm

  • Source package: [curl]

    Details (4)
    • 7.88.1-10+deb12u15 · amd64 · bookworm

      Not affected

      dsa · curl · debian · bookworm

    • 7.88.1-10+deb12u15 · arm64 · bookworm

      Not affected

      dsa · curl · debian · bookworm

    • 7.88.1-10+deb12u5 · amd64 · bookworm-security

      Not affected

      dsa · curl · debian · bookworm

    • 7.88.1-10+deb12u5 · arm64 · bookworm-security

      Not affected

      dsa · curl · debian · bookworm

  • Source package: [curl]

    Details (6)
    • 7.88.1-10+deb12u15 · amd64 · bookworm

      Not affected

      dsa · curl · debian · bookworm

    • 7.88.1-10+deb12u15 · arm64 · bookworm

      Not affected

      dsa · curl · debian · bookworm

    • 8.14.1-2+deb13u2~bpo13+1 · amd64 · bookworm-backports

      Not affected

      dsa · curl · debian · bookworm

    • 8.14.1-2+deb13u2~bpo13+1 · arm64 · bookworm-backports

      Not affected

      dsa · curl · debian · bookworm

    • 7.88.1-10+deb12u5 · amd64 · bookworm-security

      Not affected

      dsa · curl · debian · bookworm

    • 7.88.1-10+deb12u5 · arm64 · bookworm-security

      Not affected

      dsa · curl · debian · bookworm

Observed:

References