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 4.5.0 and prior to version 4.11.0, the RSA-OAEP decryption implementation in the Hisilicon HPRE 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. Only affects plat-d06 with `CFG_HISILICON_ACC_V3=y`, which seems to be disabled by default. Version 4.11.0 contains a patch. As a workaround, disable Hisilicon HPRE RSA driver with `CFG_HISILICON_ACC_V3=n`.
Published: 2026-07-06
Score: 2.5 Low
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability resides in the RSA‑OAEP decryption routine of the Hisilicon HPRE crypto driver in OP‑TEE. A non‑constant‑time memcmp is used to verify the label hash, and the function exposes multiple distinguishable error paths. This combination creates a Manger‑style padding oracle that enables an attacker to recover the plaintext of an RSA‑OAEP encrypted message after approximately 1,000‑2,000 adaptive chosen‑ciphertext queries. The weakness corresponds to CWE‑208 and results in plaintext recovery without providing code execution or privilege escalation.

Affected Systems

Affected deployments are OP‑TEE operating system versions from 4.5.0 up to, but not including, 4.11.0 when built for the plat‑d06 platform with the compiler configuration option CFG_HISILICON_ACC_V3 set to "y". This option is disabled by default, so the flaw only applies to systems that explicitly enable the Hisilicon accelerator support.

Risk and Exploitability

The CVSS score of 2.5 indicates low severity, and the EPSS score of less than 1% reflects a very low probability of exploitation. The flaw is not listed in CISA’s KEV catalog. The likely attack vector is local to the trusted execution environment; an attacker must be able to submit multiple decryption requests and observe the distinct error responses, which limits the attack surface. The minimal exposure in the default configuration and the requirement for a large number of queries make active exploitation unlikely in most scenarios. A patch is available in version 4.11.0.

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

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade OP‑TEE to version 4.11.0 or later to apply the vendor patch.
  • If an upgrade is not feasible, disable the Hisilicon HPRE RSA driver by setting CFG_HISILICON_ACC_V3=n during the build process.
  • Verify that build environments do not target the plat‑d06 platform or enable the Hisilicon accelerator when deploying OP‑TEE, thereby eliminating the vulnerable driver from the firmware image.
  • Monitor OP‑TEE release notes for additional updates and apply them promptly to maintain protection.

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

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 07 Jul 2026 17: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 4.5.0 and prior to version 4.11.0, the RSA-OAEP decryption implementation in the Hisilicon HPRE 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. Only affects plat-d06 with `CFG_HISILICON_ACC_V3=y`, which seems to be disabled by default. Version 4.11.0 contains a patch. As a workaround, disable Hisilicon HPRE RSA driver with `CFG_HISILICON_ACC_V3=n`.
Title OP-TEE: RSA-OAEP padding oracle in Hisilicon HPRE 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-07T16:57:46.440Z

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

Link: CVE-2026-41514

cve-icon Vulnrichment

Updated: 2026-07-07T16:45:09.242Z

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