Use of Uninitialized Resource Affecting mbedtls package, versions [,2.28.10)[3.0.0,3.6.4)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.05% (16th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CONAN-MBEDTLS-10077669
  • published8 May 2025
  • disclosed23 Mar 2025
  • creditUnknown

Introduced: 23 Mar 2025

CVE-2025-27810  (opens in a new tab)
CWE-908  (opens in a new tab)

How to fix?

Upgrade mbedtls to version 2.28.10, 3.6.4 or higher.

Overview

Affected versions of this package are vulnerable to Use of Uninitialized Resource in the mbedtls_ssl_write_finished() function, which may access uninitialized stack memory. An attacker can time a failure in a different component to coincide with the composition of the Finished message, and thereby violate the guarantee of the TLS handshake.

CVSS Base Scores

version 4.0
version 3.1