CVE-2024-30166: mbedtls · Stack-based Buffer Overflow
Affects mbedtlsSource CVE Database V5
Not known to be exploited · CVSS 9.1 Critical.
Data as of 26 Oct 2026, 10:12 UTC
- EPSS
- 0.7% chance of exploitation in 30 days – higher than 54% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 3 Apr 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
GitHubmbed-tls/mbedtlspkg:github/mbed-tls/mbedtlsOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
- Upgrade all affected Mbed TLS instances to version 3.6.0 or later, where the vulnerability is patched.
- For environments where immediate upgrade is not feasible, implement network-level filtering to block malformed TLS ClientHello messages, particularly those mimicking TLS 3.1 versions, using intrusion prevention systems or firewalls with deep packet inspection capabilities.
- Deploy Web Application Firewalls (WAFs) or TLS proxies capable of detecting and rejecting anomalous TLS handshake messages.
- Monitor server logs and network traffic for unusual TLS handshake failures or crashes that may indicate exploitation attempts.
- Conduct thorough testing of TLS 1.3 server implementations to ensure they correctly handle ClientHello messages and do not exhibit buffer over-read behavior.
- Educate development and security teams about the risks of improper TLS message parsing and the importance of timely patching.
- Review and harden embedded and IoT device firmware that uses Mbed TLS to ensure they are updated or mitigated against this vulnerability.
- Consider implementing rate limiting on TLS handshake attempts to reduce the risk of denial of service attacks exploiting this flaw.
Description
In Mbed TLS 3.3.0 through 3.5.2 before 3.6.0, a malicious client can cause information disclosure or a denial of service because of a stack buffer over-read (of less than 256 bytes) in a TLS 1.3 server via a TLS 3.1 ClientHello.