Description
OP-TEE is a Trusted Execution Environment (TEE) designed as companion to a non-secure Linux kernel running on Arm; Cortex-A cores using the TrustZone technology. Starting in version 3.9.0 and prior to version 4.11.0, the RSA-OAEP decryption implementation in the NXP CAAM crypto driver uses non-constant-time `memcmp()` for label hash verification and has multiple distinguishable error paths. This creates a Manger-style padding oracle that allows an attacker to recover RSA-OAEP plaintext with approximately 1000-2000 adaptive chosen ciphertext queries. Version 4.11.0 contains a patch. As a workaround, disable the NXP CAAM RSA driver with `CFG_CRYPTO_DRV_RSA=n`.
Published: 2026-07-06
Score: 2.5 Low
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

OP‑TEE OS includes the NXP CAAM crypto driver for RSA‑OAEP decryption. The driver uses a normal, non‑constant‑time memcmp() to compare the expected label hash with the supplied one and terminates with distinct error messages for each failure scenario. This combination creates a Manager‑style padding oracle that leaks information about the label hash. An attacker who can supply chosen ciphertexts and observe the differing error responses can recover the original RSA‑OAEP plaintext after approximately 1 000–2 000 adaptive queries, thereby exposing sensitive data that was presumed protected by asymmetric encryption. This weakness is classified as CWE‑208, Information Exposure Through an Improperly Controlled Exception. Based on the description, it is inferred that the attacker requires the ability to execute the RSA‑OAEP routine inside the trusted environment and to read the resulting error codes or status values.

Affected Systems

All releases of OP‑TEE OS from 3.9.0 through 4.10.x are affected when the NXP CAAM RSA driver is enabled (CFG_CRYPTO_DRV_RSA=y). The patch was introduced in version 4.11.0. Builds that disable the driver (CFG_CRYPTO_DRV_RSA=n) are not impacted.

Risk and Exploitability

The CVSS score of 2.5 reflects low overall severity, mainly because the vulnerability is limited enabled. The EPSS score of < 1 indicates a very low likelihood of exploitation in the wild. The vulnerability is not listed in the CISA KEV catalog. The likely attack vector is local; the attacker must have the capability to interact with the NXP CAAM driver—most plausibly through the non‑secure operating system or through a privileged local user—and must be able to observe the distinct error responses. Based on the description, it is inferred that remote exploitation would require an additional world that can trigger the trusted execution environment to process chosen ciphertexts.

Generated by OpenCVE AI on July 26, 2026 at 20:18 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade OP‑TEE OS to version 4.11.0 or later to apply the vendor patch.
  • If upgrading is not immediately possible, disable the NXP CAAM RSA driver by setting CFG_CRYPTO_DRV_RSA=n during the build configuration.
  • Restrict or remove any trusted applications that perform RSA‑OAEP decryption using the CAAM driver until the issue is resolved.

Generated by OpenCVE AI on July 26, 2026 at 20:18 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 07 Jul 2026 14:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 06 Jul 2026 22:45:00 +0000

Type Values Removed Values Added
First Time appeared Op-tee
Op-tee op-tee Os
Vendors & Products Op-tee
Op-tee op-tee Os

Mon, 06 Jul 2026 19:45:00 +0000

Type Values Removed Values Added
Description OP-TEE is a Trusted Execution Environment (TEE) designed as companion to a non-secure Linux kernel running on Arm; Cortex-A cores using the TrustZone technology. Starting in version 3.9.0 and prior to version 4.11.0, the RSA-OAEP decryption implementation in the NXP CAAM crypto driver uses non-constant-time `memcmp()` for label hash verification and has multiple distinguishable error paths. This creates a Manger-style padding oracle that allows an attacker to recover RSA-OAEP plaintext with approximately 1000-2000 adaptive chosen ciphertext queries. Version 4.11.0 contains a patch. As a workaround, disable the NXP CAAM RSA driver with `CFG_CRYPTO_DRV_RSA=n`.
Title OP-TEE: RSA-OAEP padding oracle in NXP CAAM driver enables plaintext recovery
Weaknesses CWE-208
References
Metrics cvssV3_1

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


Subscriptions

Op-tee Op-tee Os
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-07T14:09:30.230Z

Reserved: 2026-04-20T18:18:50.681Z

Link: CVE-2026-41515

cve-icon Vulnrichment

Updated: 2026-07-07T14:09:26.867Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-26T20:30:03Z

Weaknesses
  • CWE-208

    Observable Timing Discrepancy