{"id":"UBUNTU-CVE-2020-36476","details":"An issue was discovered in Mbed TLS before 2.24.0 (and before 2.16.8 LTS and before 2.7.17 LTS). There is missing zeroization of plaintext buffers in mbedtls_ssl_read to erase unused application data from memory.","modified":"2026-12-03T20:46:30.305667959Z","published":"2021-08-23T02:15:00Z","related":["USN-9384-1"],"upstream":["CVE-2020-36476"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2020-36476"},{"type":"REPORT","url":"https://github.com/ARMmbed/mbedtls/releases/tag/v2.16.8"},{"type":"REPORT","url":"https://github.com/ARMmbed/mbedtls/releases/tag/v2.24.0"},{"type":"REPORT","url":"https://github.com/ARMmbed/mbedtls/releases/tag/v2.7.17"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2020-36476"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-9384-1"}],"affected":[{"package":{"name":"mbedtls","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/mbedtls?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.1.2-1","2.2.0-1","2.2.1-1","2.2.1-2","2.2.1-2ubuntu0.1","2.2.1-2ubuntu0.2","2.2.1-2ubuntu0.3"],"ecosystem_specific":{"binaries":[{"binary_name":"libmbedcrypto0","binary_version":"2.2.1-2ubuntu0.3"},{"binary_name":"libmbedtls10","binary_version":"2.2.1-2ubuntu0.3"},{"binary_name":"libmbedx509-0","binary_version":"2.2.1-2ubuntu0.3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-36476.json"}},{"package":{"name":"mbedtls","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/mbedtls?arch=source&distro=esm-apps%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.8.0-1ubuntu0.1~esm2"}]}],"versions":["2.5.1-1ubuntu1","2.6.0-1","2.7.0-2","2.8.0-1","2.8.0-1ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.8.0-1ubuntu0.1~esm2","binary_name":"libmbedcrypto1"},{"binary_name":"libmbedtls10","binary_version":"2.8.0-1ubuntu0.1~esm2"},{"binary_name":"libmbedx509-0","binary_version":"2.8.0-1ubuntu0.1~esm2"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-36476.json"}},{"package":{"name":"mbedtls","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/mbedtls?arch=source&distro=esm-apps%2Ffocal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.16.4-1ubuntu2+esm2"}]}],"versions":["2.16.2-1","2.16.3-1","2.16.4-1ubuntu2","2.16.4-1ubuntu2+esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"libmbedcrypto3","binary_version":"2.16.4-1ubuntu2+esm2"},{"binary_version":"2.16.4-1ubuntu2+esm2","binary_name":"libmbedtls12"},{"binary_version":"2.16.4-1ubuntu2+esm2","binary_name":"libmbedx509-0"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-36476.json"}}],"schema_version":"1.9.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","source":"NVD"},{"type":"Ubuntu","score":"low","source":"SELF"}]}