{"id":"UBUNTU-CVE-2022-46393","details":"An issue was discovered in Mbed TLS before 2.28.2 and 3.x before 3.3.0. There is a potential heap-based buffer overflow and heap-based buffer over-read in DTLS if MBEDTLS_SSL_DTLS_CONNECTION_ID is enabled and MBEDTLS_SSL_CID_IN_LEN_MAX \u003e 2 * MBEDTLS_SSL_CID_OUT_LEN_MAX.","modified":"2026-04-22T13:31:22.211069Z","published":"2022-12-15T23:15:00Z","upstream":["CVE-2022-46393"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-46393"},{"type":"REPORT","url":"https://github.com/Mbed-TLS/mbedtls/releases/tag/v2.28.2"},{"type":"REPORT","url":"https://github.com/Mbed-TLS/mbedtls/releases/tag/v3.3.0"},{"type":"REPORT","url":"https://mbed-tls.readthedocs.io/en/latest/tech-updates/security-advisories/"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2022-46393"}],"affected":[{"package":{"name":"mbedtls","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/mbedtls@2.2.1-2ubuntu0.3?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/2022/UBUNTU-CVE-2022-46393.json"}},{"package":{"name":"mbedtls","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/mbedtls@2.8.0-1ubuntu0.1~esm1?arch=source&distro=esm-apps/bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"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~esm1","binary_name":"libmbedcrypto1"},{"binary_name":"libmbedtls10","binary_version":"2.8.0-1ubuntu0.1~esm1"},{"binary_name":"libmbedx509-0","binary_version":"2.8.0-1ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-46393.json"}},{"package":{"name":"mbedtls","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/mbedtls@2.16.4-1ubuntu2+esm1?arch=source&distro=esm-apps/focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"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+esm1"},{"binary_name":"libmbedtls12","binary_version":"2.16.4-1ubuntu2+esm1"},{"binary_name":"libmbedx509-0","binary_version":"2.16.4-1ubuntu2+esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-46393.json"}},{"package":{"name":"mbedtls","ecosystem":"Ubuntu:Pro:22.04:LTS","purl":"pkg:deb/ubuntu/mbedtls@2.28.0-1ubuntu0.1~esm1?arch=source&distro=esm-apps/jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.16.9-0.1ubuntu1","2.16.11-0.1ubuntu1","2.16.11-0.3","2.28.0-1","2.28.0-1build1","2.28.0-1ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"libmbedcrypto7","binary_version":"2.28.0-1ubuntu0.1~esm1"},{"binary_name":"libmbedtls14","binary_version":"2.28.0-1ubuntu0.1~esm1"},{"binary_name":"libmbedx509-1","binary_version":"2.28.0-1ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-46393.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}