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 PKCS#1 v1.5 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 Bleichenbacher-style padding oracle that allows an attacker to recover RSA PKCS#1 v1.5 plaintext. 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 is a Bleichenbacher‑style padding oracle discovered in the Hisilicon HPRE crypto driver of OP‑TEE’s Trusted Execution Environment. The driver’s RSA PKCS#1 v1.5 decryption routine uses a non‑constant‑time memcmp() to verify a label hash and contains multiple distinguishable error paths that an attacker can use to determine whether a decrypted plaintext meets the padding requirements. By repeatedly querying the driver with carefully crafted ciphertexts, an attacker can recover the RSA‑encrypted plaintext, thereby compromising the confidentiality of data processed within the trusted domain. The likely attack vector is an entity that can supply ciphertext to the HPRE RSA driver, such as code running inside or that can feed data to the OP‑TEE subsystem. Based on the description, it is inferred that the attacker need not have privileged access; the side‑channel can be exploited via repeated decryption requests sent to the driver from within the trusted domain.

Affected Systems

The flaw affects OP‑TEE versions 4.5.0 through 4.10.x on devices that enable the Hisilicon HPRE crypto driver. The affected code resides in the OP‑TEE open‑source OS, typically run on ARM Cortex‑A cores with TrustZone support. A patch was introduced in version 4.11.0 to eliminate the timing side channel and consolidate error handling, and a workaround is to disable the driver by setting CFG_HISILICON_ACC_V3=n.

Risk and Exploitability

The CVSS score is 2.5, indicating low overall severity. The vulnerability is not listed in CISA KEV and the EPSS score is < 1 %, suggesting limited exploitation data. Nevertheless, a successful padding oracle attack could allow an attacker to decrypt sensitive RSA‑encrypted data. The attack surface is constrained to systems that load the Hisilicon HPRE RSA driver, but the impact of decrypting confidential information is significant. The likely attack vector is gaining the ability to issue decryption requests to the driver; based on the description, it is inferred that this may be achievable from code executing within the TEE or via manipulation of data supplied to the trusted environment.

Generated by OpenCVE AI on July 31, 2026 at 14:24 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade OP‑TEE to release 4.11.0 or later, which fixes the CWE‑208 flaw by replacing the non‑constant‑time memcmp() with a constant‑time comparison and consolidating error handling in the HPRE crypto driver.
  • If an upgrade is not immediately possible, disable the Hisilicon HPRE RSA driver by setting CFG_HISILICON_ACC_V3=n in the OP‑TEE configuration to eliminate the CWE‑208 side‑channel.
  • Apply subsequent vendor releases as soon as they contain further mitigations for timing or error‑response side channels related to the HPRE driver (CWE‑208).

Generated by OpenCVE AI on July 31, 2026 at 14:24 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

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 21: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 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 PKCS#1 v1.5 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 Bleichenbacher-style padding oracle that allows an attacker to recover RSA PKCS#1 v1.5 plaintext. Version 4.11.0 contains a patch. As a workaround, disable Hisilicon HPRE RSA driver with `CFG_HISILICON_ACC_V3=n`.
Title OP-TEE: Hisilicon HPRE PKCS#1 v1.5 Decryption Padding Oracle
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-06T19:47:57.871Z

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

Link: CVE-2026-41516

cve-icon Vulnrichment

Updated: 2026-07-06T19:47:54.270Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-31T14:30:04Z

Weaknesses
  • CWE-208

    Observable Timing Discrepancy