CVE-2022-46393 Memory corruption in n/a

Critical 9.8 Published Updated

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.

Weakness: CWE-787, CWE-125

Which versions are affected by CVE-2022-46393?

It affects 3 products.

Linux distribution packages (3)
mbedtls SUSE:Package Hub 15 SP4All versions2.28.0-bp154.2.3.1
mbedtls openSUSE:Leap 15.4All versions2.28.0-bp154.2.3.1
mbedtls-2 openSUSE:TumbleweedAll versions2.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.

All Arm Mbed Tls vulnerabilities

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.

Is CVE-2022-46393 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free