# JLSEC-2025-218: An issue was discovered in Mbed TLS before 2.28.1 and 3.x before 3.2.0

- Severity: Critical 9.1 (CVSS:3.1, scored by Julia Security Advisories) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2025-11-21T15:59:04.054Z
- Modified: 2026-07-23T22:30:21.598Z
- Related: CVE-2022-35409

## 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.

(As written by Julia Security Advisories.)

## Affected

- MbedTLS_jll (Julia): before 2.28.2+0

## References

- <https://github.com/Mbed-TLS/mbedtls/releases> (web)
- <https://lists.debian.org/debian-lts-announce/2022/12/msg00036.html> (web)
- <https://mbed-tls.readthedocs.io/en/latest/security-advisories/advisories/mbedtls-security-advisory-2022-07.html> (web)

## Sources

- Julia Security Advisories: [JLSEC-2025-218](https://osv.dev/vulnerability/JLSEC-2025-218), CC-BY-4.0, modified 2026-07-23

---

Page: https://cve.day/JLSEC-2025-218 · Whole record: https://cve.day/JLSEC-2025-218.json · Rebuilt by cve.day 2026-11-25T22:56:25.772Z
