Mbed TLS Insufficient Protection of Serialized Data Leading to Memory Corruption Vulnerability

Vulnerability

A vulnerability exists in Mbed TLS versions 2.19.0 prior to 3.6.5 and in Mbed TLS 4.0.0. The issue arises from inadequate protection of serialized SSL context or session structures, allowing an attacker to modify these structures and induce memory corruption. This could lead to arbitrary code execution. The vulnerability is caused by the incorrect use of privileged APIs.

Impact

Exploitation of this vulnerability could result in memory safety violations, such as out-of-bounds reads or writes, potentially causing crashes or compromising the integrity of the application or server.

Remediation

Users should review their use of TLS session or context serialization and ensure that serialized data is protected against unauthorized access and modification. Recommended measures include storing serialized TLS state only in trusted storage, using cryptographic integrity protection for serialized data, and validating storage integrity before restoring serialized TLS sessions or contexts.

Added: May 3, 2026, 11:22 AM
Updated: May 3, 2026, 11:22 AM

Vulnerability Rating

Custom Algorithm
spread
8.6
impact
7.5
exploitability
6.0
remediation
7.7
relevance
4.8
threat
0.0
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.