CVE-2026-34877

Published Apr 2, 2026 CVSS 3.1 · 9.8 Critical EPSS < 1% KEV · Not listed
Description
An issue was discovered in Mbed TLS versions from 2.19.0 up to 3.6.5, Mbed TLS 4.0.0. Insufficient protection of serialized SSL context or session structures allows an attacker who can modify the serialized structures to induce memory corruption, leading to arbitrary code execution. This is caused by Incorrect Use of Privileged APIs.

Analysis

AI-generated

Technical impact

The vulnerability arises from insufficient protection of serialized SSL context or session data in Mbed TLS. An attacker who can alter these serialized structures can trigger memory corruption, enabling arbitrary code execution. This is a serious flaw mapped to CWE-250 and CWE-502, reflecting improper privilege handling and insecure deserialization.

Affected Systems

Arm’s Mbed TLS library is affected. All actively supported releases from 2.19.0 up to 3.6.5, and the 4.0.0 release, are vulnerable. Users of these versions should identify which exact build they run and plan an update.

Risk and Exploitability

The CVSS score is 9.8, indicating catastrophic impact. The EPSS score is below 1 % and the issue is not yet listed in the CISA KEV catalog. Based on the description, the likely attack vector is remote, requiring an attacker to supply a tampered SSL context over the network; this can then be deserialized by the library, causing memory corruption and granting the attacker control of the process.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest Mbed TLS patch or upgrade to a fixed release
  • Review Arm’s Mbed TLS security advisories for update details
  • If a patch is not immediately available, restrict or block traffic that transmits serialized SSL context data to isolate the affected systems

Generated by OpenCVE AI on April 7, 2026 at 01:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Ubuntu USN Ubuntu USN USN-9281-1 Mbed TLS vulnerabilities
History
Type Values Removed Values Added
First Time appeared Trustedfirmware
Trustedfirmware mbed Tls
CPEs cpe:2.3:a:arm:mbed_tls:4.0.0:*:*:*:*:*:*:* cpe:2.3:a:trustedfirmware:mbed_tls:4.0.0:*:*:*:*:*:*:*
Vendors & Products Trustedfirmware
Trustedfirmware mbed Tls
Type Values Removed Values Added
Title Arbitrary Code Execution via Deserialization of SSL Context in Mbed TLS
Type Values Removed Values Added
First Time appeared Arm
Arm mbed Tls
CPEs cpe:2.3:a:arm:mbed_tls:*:*:*:*:*:*:*:*
cpe:2.3:a:arm:mbed_tls:4.0.0:*:*:*:*:*:*:*
Vendors & Products Arm
Arm mbed Tls
Type Values Removed Values Added
Title Arbitrary Code Execution via Deserialization of SSL Context in Mbed TLS
First Time appeared Mbed
Mbed mbedtls
Vendors & Products Mbed
Mbed mbedtls
Type Values Removed Values Added
Description An issue was discovered in Mbed TLS versions from 2.19.0 up to 3.6.5, Mbed TLS 4.0.0. Insufficient protection of serialized SSL context or session structures allows an attacker who can modify the serialized structures to induce memory corruption, leading to arbitrary code execution. This is caused by Incorrect Use of Privileged APIs.
Weaknesses CWE-250
CWE-502
References
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Weaknesses
  • CWE-250

    Execution with Unnecessary Privileges

  • CWE-502

    Deserialization of Untrusted Data

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Apr 2, 2026, 5:52 PM
Reserved
Mar 31, 2026, 12:00 AM
Status
Analyzed
Published
Apr 2, 2026, 5:16 PM
Modified
Jul 24, 2026, 9:10 PM