CVE-2024-23775
Mbed TLS vulnerability analysis and mitigation

Overview

The CVE-2024-23775 is an Integer Overflow vulnerability discovered in Mbed TLS, affecting versions 2.x before 2.28.7 and 3.x before 3.5.2. The vulnerability was disclosed on January 9, 2024, and impacts the mbedtls_x509_set_extension() function. This security flaw affects all versions of Mbed TLS up to and including 2.28.6 and 3.5.1 (Mbed Advisory).

Technical details

The vulnerability occurs due to a failure to validate inputs passed to the mbedtls_x509_set_extension() function. This oversight can lead to an integer overflow condition, resulting in the allocation of a zero-length buffer intended to hold the extension. When the extension is subsequently copied into this buffer, it causes a heap buffer overflow (Mbed Advisory).

Impact

The vulnerability has been assessed as having a Low severity rating. If exploited, it can potentially cause a denial of service (DoS) condition through segmentation faults resulting from the buffer overflow (Mbed Advisory).

Mitigation and workarounds

Users are advised to upgrade to Mbed TLS version 3.5.2 or 2.28.7, depending on their current branch. As a workaround, users should ensure that a length of SIZE_MAX cannot be passed into the mbedtls_x509_set_extension() function (Mbed Advisory).

Additional resources


SourceThis report was generated using AI

Related Mbed TLS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-47917CRITICAL9.8
  • Mbed TLSMbed TLS
  • cpe:2.3:a:arm:mbed_tls
NoYesJul 20, 2025
CVE-2025-48965HIGH7.5
  • Mbed TLSMbed TLS
  • dolphin-emu-debugsource
NoYesJul 20, 2025
CVE-2025-54764MEDIUM6.2
  • Mbed TLSMbed TLS
  • mbedtls-debuginfo
NoYesOct 20, 2025
CVE-2025-59438MEDIUM5.3
  • Mbed TLSMbed TLS
  • mbedtls
NoYesOct 21, 2025
CVE-2025-49087LOW3.7
  • Mbed TLSMbed TLS
  • cpe:2.3:a:arm:mbed_tls
NoYesJul 20, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management