{"schemaVersion":3,"id":"CVE-2021-44732","aliases":["ALPINE-CVE-2021-44732","MGASA-2022-0017","UBUNTU-CVE-2021-44732","DEBIAN-CVE-2021-44732"],"status":"published","duplicateOf":null,"title":null,"description":"Mbed TLS before 3.0.1 has a double free in certain out-of-memory conditions, as demonstrated by an mbedtls_ssl_set_session() failure.","dates":{"published":"2021-12-20T00:00:00.000Z","modified":"2025-11-03T19:26:32.887Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.8,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"OSV · Alpine","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":7.5,"severity":"high","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.0277,"percentile":0.86123,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0.19299999999999978,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.02577},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.02577,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.02577,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.02577,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.02577,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.02577,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.02577,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02577,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02577,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02577,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02577,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02577,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02577,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02577,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02577,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02577,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02577,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02577,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02577,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02577,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02577,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02577,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02577,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02577,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02577,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02577,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02577,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02577,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02577,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02577,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0277,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0277,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0277,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0277,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0277,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0277,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0277,"percentile":0.86123}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.02577,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02577,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02577,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02577,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02577,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02577,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02577,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02577,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02577,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02577,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02577,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02577,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02577,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02577,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02577,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02577,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02577,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02577,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02577,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02577,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02577,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02577,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02577,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02577,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0277,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0277,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0277,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0277,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0277,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0277,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0277,"percentile":0.86123}]},"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_998027B287941FAB","name":"Exploit Reference (tls.mbed.org)","source":"reference","url":"https://tls.mbed.org/tech-updates/security-advisories/mbedtls-security-advisory-2021-12","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":"mbedtls","name":"mbedtls","label":"mbedtls","ecosystem":"Alpine Linux","cpePart":null,"purl":"pkg:apk/alpine/mbedtls","purlType":"apk","versions":[{"text":"< 2.16.12-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.16.12-r0","eol":null,"hubHref":null},{"vendor":"arm","product":"mbed_tls","name":"mbed tls","label":"mbed_tls","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 2.16.12","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.17.0, < 2.28.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.16.12 | ≥ 2.17.0, < 2.28.0","eol":null,"hubHref":"/vendor/arm/mbed_tls"},{"vendor":"debian","product":"mbedtls","name":"mbedtls","label":"mbedtls","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/mbedtls","purlType":"deb","versions":[{"text":"< 2.28.0-0.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.28.0-0.3","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"mbedtls","name":"mbedtls","label":"mbedtls","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/mbedtls","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 2.8.0-1ubuntu0.1~esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 2.16.4-1ubuntu2+esm1","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions (No fix recorded) | < 2.8.0-1ubuntu0.1~esm1 | < 2.16.4-1ubuntu2+esm1","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":"10.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"10.0","eol":{"isEol":true,"eolDate":"2024-06-30T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"10","label":"10 (Buster)","eolFrom":"2024-06-30T00:00:00.000Z","isLts":false,"isMaintained":true,"latestVersion":"10.13"},"product":{"name":"debian","label":"Debian","category":"os"}},"hubHref":"/vendor/debian/debian_linux"},{"vendor":"mageia","product":"mbedtls","name":"mbedtls","label":"mbedtls","ecosystem":"Mageia","cpePart":null,"purl":"pkg:rpm/mageia/mbedtls","purlType":"rpm","versions":[{"text":"< 2.16.12-1.mga8","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.16.12-1.mga8","eol":null,"hubHref":null},{"vendor":"trustedfirmware","product":"mbed_tls","name":"mbed tls","label":"mbed_tls","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"3.0.0","noFixRecorded":false,"fixedIn":null},{"text":"3.0.0:preview1","noFixRecorded":false,"fixedIn":null}],"versionsText":"3.0.0 | 3.0.0:preview1","eol":null,"hubHref":"/vendor/trustedfirmware/mbed_tls"}],"affectedCount":7,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://github.com/ARMmbed/mbedtls/releases","label":"github.com/ARMmbed/mbedtls/releases","hostname":"github.com","tags":["REPORT","Release Notes"]},{"url":"https://tls.mbed.org/tech-updates/security-advisories/mbedtls-security-advisory-2021-12","label":"tls.mbed.org/tech-updates/security-advisories/mbedtls-security-advisory-2021-12","hostname":"tls.mbed.org","tags":["Advisory","REPORT","Exploit","Mitigation","Third Party Advisory"]},{"url":"https://bugs.gentoo.org/829660","label":"bugs.gentoo.org/829660","hostname":"bugs.gentoo.org","tags":["REPORT","Issue Tracking","Mailing List","Third Party Advisory"]},{"url":"https://github.com/ARMmbed/mbedtls/releases/tag/v2.16.12","label":"github.com/ARMmbed/mbedtls/releases/tag/v2.16.12","hostname":"github.com","tags":["WEB","REPORT","Release Notes"]},{"url":"https://github.com/ARMmbed/mbedtls/releases/tag/v2.28.0","label":"github.com/ARMmbed/mbedtls/releases/tag/v2.28.0","hostname":"github.com","tags":["REPORT","Release Notes"]},{"url":"https://github.com/ARMmbed/mbedtls/releases/tag/v3.1.0","label":"github.com/ARMmbed/mbedtls/releases/tag/v3.1.0","hostname":"github.com","tags":["REPORT","Release Notes"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/12/msg00036.html","label":"lists.debian.org/debian-lts-announce/2022/12/msg00036.html","hostname":"lists.debian.org","tags":["Mailing List","Third Party Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/06/msg00034.html","label":"lists.debian.org/debian-lts-announce/2025/06/msg00034.html","hostname":"lists.debian.org","tags":[]},{"url":"https://security.alpinelinux.org/vuln/CVE-2021-44732","label":"security.alpinelinux.org/vuln/CVE-2021-44732","hostname":"security.alpinelinux.org","tags":["Advisory"]},{"url":"https://advisories.mageia.org/MGASA-2022-0017.html","label":"advisories.mageia.org/MGASA-2022-0017.html","hostname":"advisories.mageia.org","tags":["Advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=29866","label":"bugs.mageia.org/show_bug.cgi?id=29866","hostname":"bugs.mageia.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/CVE-2021-44732","label":"ubuntu.com/security/CVE-2021-44732","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-44732","label":"www.cve.org/CVERecord?id=CVE-2021-44732","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-8123-1","label":"ubuntu.com/security/notices/USN-8123-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2021-44732","label":"security-tracker.debian.org/tracker/CVE-2021-44732","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["DLA-3249-1","DLA-4236-1","USN-8123-1"],"duplicates":[],"related":["USN-8123-1"]},"timeline":[{"kind":"published","date":"2021-12-20T00:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-11-03T19:26:32.887Z","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-20T06:47:01.157Z","stale":false,"partial":false}}