Intel

AIKIDO-2026-645528

Mbed-TLS.mbedtls is vulnerable to Execution with Unnecessary Privileges

CVE-2026-34877Published Jul 28, 2026
July 28, 2026

39

CVE Score

Low

Execution with Unnecessary Privileges

Are you affected? Scan for Free

TL;DR

Mbed TLS contains an unsafe deserialization vulnerability affecting TLS session and context restoration. Applications that restore serialized TLS state from untrusted or modified data may trigger memory safety issues, including out-of-bounds reads or writes, potentially leading to crashes or application compromise. Additionally, disclosure of serialized TLS state can compromise the confidentiality and integrity of the associated TLS session. The vulnerability affects applications that fail to adequately protect serialized TLS data.

How do I fix this?

To mitigate the vulnerability, upgrade to a patched version or store serialized TLS state only in trusted storage, protect it with authenticated encryption or a secure MAC, prevent untrusted access or modification, and verify its integrity before restoring TLS sessions or contexts.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and restore TLS sessions or contexts from serialized data that is not integrity-protected (for example via mbedtls_ssl_session_load / mbedtls_ssl_context_load).

Package

Mbed-TLS.mbedtls

Versions

2.19.0 - 3.6.5

Fixed in 3.6.6

4.0.0 - 4.0.0

Fixed in 4.1.0

Background info

Mbed-TLS.mbedtls is vulnerable to Execution with Unnecessary Privileges in versions 2.19.0 - 3.6.5 and 4.0.0 - 4.0.0.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea