Skip to main content
VulnerabilityPublished Updated

CVE-2024-30166: mbedtls · Stack-based Buffer Overflow

Affects mbedtlsSource CVE Database V5

0

Not known to be exploited · CVSS 9.1 Critical.

Data as of 26 Oct 2026, 12:54 UTC

CVSS 3.1 base score
9.1Critical
How severe the flaw is on the 0–10 CVSS scale.
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:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 3 Apr 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
GitHubmbed-tls/mbedtlspkg:github/mbed-tls/mbedtlsOther threatsAffected
  • =3.3.0
  • =3.6.0
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

  1. Upgrade all affected Mbed TLS instances to version 3.6.0 or later, where the vulnerability is patched.
  2. 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.
  3. Deploy Web Application Firewalls (WAFs) or TLS proxies capable of detecting and rejecting anomalous TLS handshake messages.
  4. Monitor server logs and network traffic for unusual TLS handshake failures or crashes that may indicate exploitation attempts.
  5. Conduct thorough testing of TLS 1.3 server implementations to ensure they correctly handle ClientHello messages and do not exhibit buffer over-read behavior.
  6. Educate development and security teams about the risks of improper TLS message parsing and the importance of timely patching.
  7. Review and harden embedded and IoT device firmware that uses Mbed TLS to ensure they are updated or mitigated against this vulnerability.
  8. 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.

References

Community reviews

Loading reviews…