CVE-2026-41515

OP-TEE: RSA-OAEP padding oracle in NXP CAAM driver enables plaintext recovery

Published Jul 6, 2026 CVSS 3.1 · 2.5 Low EPSS < 1% KEV · Not listed
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`.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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 August 1, 2026 at 18:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared Op-tee
Op-tee op-tee Os
Vendors & Products Op-tee
Op-tee op-tee Os
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'}

Weaknesses
  • CWE-208

    Observable Timing Discrepancy

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jul 7, 2026, 2:09 PM
Reserved
Apr 20, 2026, 6:18 PM
Status
Analyzed
Published
Jul 6, 2026, 8:16 PM
Modified
Oct 25, 2026, 8:10 PM