{"schemaVersion":3,"id":"CVE-2021-22945","aliases":["ALPINE-CVE-2021-22945","UBUNTU-CVE-2021-22945","DEBIAN-CVE-2021-22945"],"status":"published","duplicateOf":null,"title":null,"description":"When sending data to an MQTT server, libcurl <= 7.73.0 and 7.78.0 could in some circumstances erroneously keep a pointer to an already freed memory area and both use that again in a subsequent call to send data and also free it *again*.","dates":{"published":"2021-09-23T00:00:00.000Z","modified":"2026-10-14T11:19:23.431Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.1,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":9.1,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Alpine","score":9.1,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","exploitability":10,"impact":8.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":9.1,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","exploitability":10,"impact":8.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":9.1,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","exploitability":10,"impact":8.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.1,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":5.8,"severity":"medium","vector":"AV:N/AC:M/Au:N/C:P/I:N/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.06677,"percentile":0.93823,"severity":"low","asOf":"2026-10-18T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-18T00:00:00.000Z","baselineScore":0.06677},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.06677,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.06677,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.06677,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.06677,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.06677,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.06677,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.06677,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.06677,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.06677,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.06677,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.06677,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.06677,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.06677,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.06677,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.06677,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.06677,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.06677,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.06677,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.06677,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.06677,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.06677,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.06677,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.06677,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.06677,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.06677,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.06677,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.06677,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.06677,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.06677,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.06677,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.06677,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.06677,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.06677,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.06677,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.06677,"percentile":0.93823}],"last30":[{"date":"2026-09-18T00:00:00.000Z","score":0.06677,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.06677,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.06677,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.06677,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.06677,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.06677,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.06677,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.06677,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.06677,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.06677,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.06677,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.06677,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.06677,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.06677,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.06677,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.06677,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.06677,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.06677,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.06677,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.06677,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.06677,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.06677,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.06677,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.06677,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.06677,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.06677,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.06677,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.06677,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.06677,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.06677,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.06677,"percentile":0.93823}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_FFC128CC8C107DC6","name":"Exploit Reference (hackerone.com)","source":"reference","url":"https://hackerone.com/reports/1269242","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-415","name":"Double Free","description":"The product calls free() twice on the same memory address.","type":"weakness","status":"Draft","abstraction":"Variant","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/415.html"}],"affected":[{"vendor":"alpine","product":"curl","name":"curl","label":"curl","ecosystem":"Alpine Linux","cpePart":null,"purl":"pkg:apk/alpine/curl","purlType":"apk","versions":[{"text":"< 7.79.0-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 7.79.0-r0","eol":null,"hubHref":null},{"vendor":"apple","product":"macos","name":"macos","label":"macos","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"≥ 12.0.0, < 12.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 12.0.0, < 12.3","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"macos","label":"Apple macOS","category":"os"}},"hubHref":"/vendor/apple/macos"},{"vendor":"debian","product":"curl","name":"curl","label":"curl","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/curl","purlType":"deb","versions":[{"text":"< 7.79.1-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 7.79.1-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"curl","name":"curl","label":"curl","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/curl","purlType":"deb","versions":[{"text":"< 7.74.0-1.3ubuntu2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 7.74.0-1.3ubuntu2","eol":null,"hubHref":null},{"vendor":"debian","product":"debian_linux","name":"debian linux","label":"debian_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"11.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"11.0","eol":{"isEol":true,"eolDate":"2026-08-31T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"11","label":"11 (Bullseye)","eolFrom":"2026-08-31T00:00:00.000Z","isLts":false,"isMaintained":true,"latestVersion":"11.11"},"product":{"name":"debian","label":"Debian","category":"os"}},"hubHref":"/vendor/debian/debian_linux"},{"vendor":"fedoraproject","product":"fedora","name":"fedora","label":"fedora","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"33","noFixRecorded":false,"fixedIn":null},{"text":"35","noFixRecorded":false,"fixedIn":null}],"versionsText":"33 | 35","eol":{"isEol":true,"eolDate":"2021-11-30T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"33","label":"33","eolFrom":"2021-11-30T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":null},"product":{"name":"fedora","label":"Fedora Linux","category":"os"}},"hubHref":"/vendor/fedoraproject/fedora"},{"vendor":"haxx","product":"libcurl","name":"libcurl","label":"libcurl","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 7.73.0, ≤ 7.78.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 7.73.0, ≤ 7.78.0","eol":null,"hubHref":"/vendor/haxx/libcurl"},{"vendor":"netapp","product":"cloud_backup","name":"cloud backup","label":"cloud_backup","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/netapp/cloud_backup"},{"vendor":"netapp","product":"clustered_data_ontap","name":"clustered data ontap","label":"clustered_data_ontap","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/netapp/clustered_data_ontap"},{"vendor":"netapp","product":"h300e_firmware","name":"h300e firmware","label":"h300e_firmware","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/netapp/h300e"},{"vendor":"netapp","product":"h300s_firmware","name":"h300s firmware","label":"h300s_firmware","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/netapp/h300s"},{"vendor":"netapp","product":"h410s_firmware","name":"h410s firmware","label":"h410s_firmware","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/netapp/h410s"},{"vendor":"netapp","product":"h500e_firmware","name":"h500e firmware","label":"h500e_firmware","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/netapp/h500e"},{"vendor":"netapp","product":"h500s_firmware","name":"h500s firmware","label":"h500s_firmware","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/netapp/h500s"},{"vendor":"netapp","product":"h700e_firmware","name":"h700e firmware","label":"h700e_firmware","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/netapp/h700e"},{"vendor":"netapp","product":"h700s_firmware","name":"h700s firmware","label":"h700s_firmware","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/netapp/h700s"},{"vendor":"netapp","product":"solidfire_baseboard_management_controller_firmware","name":"solidfire baseboard management controller firmware","label":"solidfire_baseboard_management_controller_firmware","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/netapp/solidfire_baseboard_management_controller"},{"vendor":"oracle","product":"mysql_server","name":"mysql server","label":"mysql_server","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 5.7.0, ≤ 5.7.35","noFixRecorded":false,"fixedIn":null},{"text":"≥ 8.0.0, ≤ 8.0.26","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 5.7.0, ≤ 5.7.35 | ≥ 8.0.0, ≤ 8.0.26","eol":null,"hubHref":"/vendor/oracle/mysql_server"},{"vendor":"siemens","product":"sinec_ins","name":"sinec ins","label":"sinec_ins","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.0.1.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.0.1.1","eol":null,"hubHref":"/vendor/siemens/sinec_ins"},{"vendor":"splunk","product":"universal_forwarder","name":"universal forwarder","label":"universal_forwarder","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 8.2.0, < 8.2.12","noFixRecorded":false,"fixedIn":null},{"text":"≥ 9.0.0, < 9.0.6","noFixRecorded":false,"fixedIn":null},{"text":"9.1.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 8.2.0, < 8.2.12 | ≥ 9.0.0, < 9.0.6 | 9.1.0","eol":null,"hubHref":"/vendor/splunk/universal_forwarder"}],"affectedCount":20,"eol":{"hasEol":true,"count":2},"references":[{"url":"https://hackerone.com/reports/1269242","label":"hackerone.com/reports/1269242","hostname":"hackerone.com","tags":["Exploit","Patch","Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RWLEC6YVEM2HWUBX67SDGPSY4CQB72OE/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","Mailing List","Third Party Advisory"]},{"url":"https://www.oracle.com/security-alerts/cpuoct2021.html","label":"www.oracle.com/security-alerts/cpuoct2021.html","hostname":"www.oracle.com","tags":["Patch","Third Party Advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20211029-0003/","label":"security.netapp.com/advisory/ntap-20211029-0003/","hostname":"security.netapp.com","tags":["Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/APOAK4X73EJTAPTSVT7IRVDMUWVXNWGD/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","Mailing List","Third Party Advisory"]},{"url":"https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf","label":"cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf","hostname":"cert-portal.siemens.com","tags":["Patch","Third Party Advisory"]},{"url":"https://support.apple.com/kb/HT213183","label":"support.apple.com/kb/HT213183","hostname":"support.apple.com","tags":["Third Party Advisory"]},{"url":"http://seclists.org/fulldisclosure/2022/Mar/29","label":"seclists.org/fulldisclosure/2022/Mar/29","hostname":"seclists.org","tags":["Mailing List","Third Party Advisory"]},{"url":"https://www.debian.org/security/2022/dsa-5197","label":"www.debian.org/security/2022/dsa-5197","hostname":"www.debian.org","tags":["Vendor Advisory","Third Party Advisory"]},{"url":"https://security.gentoo.org/glsa/202212-01","label":"security.gentoo.org/glsa/202212-01","hostname":"security.gentoo.org","tags":["Vendor Advisory","Third Party Advisory"]},{"url":"https://security.alpinelinux.org/vuln/CVE-2021-22945","label":"security.alpinelinux.org/vuln/CVE-2021-22945","hostname":"security.alpinelinux.org","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2021-22945","label":"ubuntu.com/security/CVE-2021-22945","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://curl.se/docs/CVE-2021-22945.html","label":"curl.se/docs/CVE-2021-22945.html","hostname":"curl.se","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-5079-1","label":"ubuntu.com/security/notices/USN-5079-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-22945","label":"www.cve.org/CVERecord?id=CVE-2021-22945","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2021-22945","label":"security-tracker.debian.org/tracker/CVE-2021-22945","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-22945","label":"nvd.nist.gov/vuln/detail/CVE-2021-22945","hostname":"nvd.nist.gov","tags":["Oval","Advisory"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-389290.html","label":"cert-portal.siemens.com/productcert/html/ssa-389290.html","hostname":"cert-portal.siemens.com","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-398330.html","label":"cert-portal.siemens.com/productcert/html/ssa-398330.html","hostname":"cert-portal.siemens.com","tags":[]}],"lineage":{"upstream":[],"downstream":["DSA-5197-1","MGASA-2021-0438","OPENSUSE-SU-2024:10582-1","USN-5079-1"],"duplicates":[],"related":["OPENSUSE-SU-2024:10582-1","USN-5079-1"]},"timeline":[{"kind":"published","date":"2021-09-23T00:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-10-14T11:19:23.431Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T08:36:02.367Z","stale":false,"partial":false}}