CVE-2022-46393 Memory corruption in n/a
Heap buffer overflow in Mbed TLS DTLS allows code execution or DoS when specific connection ID configurations are enabled.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-46393?
CVE-2022-46393 is a critical memory corruption vulnerability in Arm Mbed Tls, published on 15 Dec 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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 > 2 * MBEDTLS_SSL_CID_OUT_LEN_MAX.
Which versions are affected by CVE-2022-46393?
It affects 3 products.
Linux distribution packages (3)
mbedtls SUSE:Package Hub 15 SP4 | All versions | 2.28.0-bp154.2.3.1 |
mbedtls openSUSE:Leap 15.4 | All versions | 2.28.0-bp154.2.3.1 |
mbedtls-2 openSUSE:Tumbleweed | All versions | 2.28.2-1.1 |
Products include Arm Mbed Tls, Fedoraproject Fedora, Trustedfirmware Mbed Tls.
How do I fix CVE-2022-46393?
Upgrade to a fixed version.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2022-46393 being exploited?
There is no known exploitation of CVE-2022-46393 in the wild and no public exploit code.
Other vulnerabilities in Arm Mbed Tls
- CVE-2026-34877 Deserialization in n/a
- CVE-2021-44732 Use after free in n/a
- CVE-2017-18187 Integer overflow in n/a
- CVE-2018-0487 Memory corruption in ARM mbed TLS before 1.3.22, before 2.1.10, and before 2.7.0
- CVE-2018-0488 Memory corruption in ARM mbed TLS before 1.3.22, before 2.1.10, and before 2.7.0
Sources
Also known as DEBIAN-CVE-2022-46393, GHSA-pjwj-r3p9-jjrq, JLSEC-2025-220, UBUNTU-CVE-2022-46393, openSUSE-SU-2022:10257-1, openSUSE-SU-2024:12581-1.