CVE-2026-41514

OP-TEE: RSA-OAEP padding oracle in Hisilicon HPRE 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 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`.

Analysis

AI-generated

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

Remediation

No solution or workaround provided in the CVE record.

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 August 1, 2026 at 18:23 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 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'}

Weaknesses
  • CWE-208

    Observable Timing Discrepancy

Sources

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