What’s Vulnerable › Vulnerabilities
CVE-2022-35409
- Severity: critical (CVSS 9.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 2.3% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2022-07-15 · updated 2026-06-17
- Weakness: CWE-125
Description
An issue was discovered in Mbed TLS before 2.28.1 and 3.x before 3.2.0. In some configurations, an unauthenticated attacker can send an invalid ClientHello message to a DTLS server that causes a heap-based buffer over-read of up to 255 bytes. This can cause a server crash or possibly information disclosure based on error responses. Affected configurations have MBEDTLS_SSL_DTLS_CLIENT_PORT_REUSE enabled and MBEDTLS_SSL_IN_CONTENT_LEN less than a threshold that depends on the configuration: 258 bytes if using mbedtls_ssl_cookie_check, and possibly up to 571 bytes with a custom cookie check function.
Affected products
- mbedtls: before 2.28.1 — fixed in 2.28.1
- Debian Linux: 10.0
- TrustedFirmware Mbed TLS: from 3.0.0 before 3.2.0 — fixed in 3.2.0
How to fix
Upgrade to a fixed version: mbedtls 2.28.1; TrustedFirmware Mbed TLS 3.2.0. Check the vendor advisory for mitigations.
References
- https://github.com/Mbed-TLS/mbedtls/releases
- https://lists.debian.org/debian-lts-announce/2022/12/msg00036.html
- https://mbed-tls.readthedocs.io/en/latest/security-advisories/advisories/mbedtls-security-advisory-2022-07.html
- https://github.com/Mbed-TLS/mbedtls/releases
- https://lists.debian.org/debian-lts-announce/2022/12/msg00036.html
- https://mbed-tls.readthedocs.io/en/latest/security-advisories/advisories/mbedtls-security-advisory-2022-07.html
Get alerted when CVE-2022-35409 or the next vulnerability affects your stack