LOW 2.5

CVE-2026-41514: OP-TEE Hisilicon RSA-OAEP Padding Oracle

OP-TEE, a security processor for Arm-based systems, has a weakness in how it decrypts RSA-encrypted data when using Hisilicon hardware acceleration. The flaw allows an attacker who can send specially crafted encrypted messages to gradually extract the original plaintext—similar to attacks on poorly implemented encryption padding schemes. This requires approximately 1000–2000 attempts and local system access, making it a low-risk issue in most deployments. The vulnerability exists only when a specific optional hardware driver is enabled, and it is disabled by default.

Source data · NVD / CISA · public domain

CVSS
3.1 · 2.5 LOW · CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N
Weaknesses (CWE)
CWE-208
Affected products
1 configuration(s)
Published / Modified
2026-07-06 / 2026-07-07

NVD description (verbatim)

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

1 reference(s) · View on NVD →

SEC.co analysis · AI-assisted, reviewed against source

Technical summary

The Hisilicon HPRE crypto driver in OP-TEE versions 4.5.0 through 4.10.x implements RSA-OAEP decryption with a timing-oracle vulnerability. During label hash verification, the code uses non-constant-time memcmp() and exposes multiple distinguishable error paths that leak information about decryption success or failure. An attacker performing adaptive chosen-ciphertext queries can exploit this Manger-style padding oracle to recover plaintext with approximately 1000–2000 queries. The vulnerability is constrained to the plat-d06 platform with CFG_HISILICON_ACC_V3 enabled—a non-default configuration. Version 4.11.0 patches the issue.

Business impact

The impact is limited to organizations running OP-TEE on Hisilicon-equipped Arm platforms with the optional accelerator driver explicitly enabled. For most users, this vulnerability presents no risk since the driver is disabled by default. For affected deployments handling sensitive RSA-encrypted data in a TEE, an attacker with local system access could potentially recover encrypted secrets through sustained cryptographic side-channel attacks. Real-world exploitation requires either misconfiguration or deliberate enablement of the driver for performance reasons.

Affected systems

OP-TEE versions 4.5.0 through 4.10.x running on plat-d06 (Hisilicon platform) with CFG_HISILICON_ACC_V3=y. The vulnerability does not affect: other OP-TEE versions, non-Hisilicon platforms, or any deployment with the default configuration (CFG_HISILICON_ACC_V3=n). Users should verify their platform name and build configuration to determine exposure.

Exploitability

Exploitation requires local system access, making it a privilege boundary attack. An attacker must send 1000–2000 carefully constructed RSA-OAEP ciphertexts to the TEE and observe timing or error responses to extract plaintext. The attack is feasible but not trivial; it demands cryptographic sophistication and sustained interaction. The CVSS score of 2.5 (LOW) reflects the combination of local-only access requirement, high attack complexity, and limited information disclosure.

Remediation

Update OP-TEE to version 4.11.0 or later. Alternatively, disable the Hisilicon accelerator by setting CFG_HISILICON_ACC_V3=n at build time. Organizations not using Hisilicon hardware or running default OP-TEE builds are not affected and require no action. Rebuilding OP-TEE with the patched version is straightforward for most embedded deployments.

Patch guidance

Apply OP-TEE 4.11.0 or a later maintenance release. Verify the patch by checking the version string reported by OP-TEE at runtime or via your build system. If rebuilding is impractical, the workaround of setting CFG_HISILICON_ACC_V3=n during compilation is effective and has no functional impact on standard deployments. Consult your OP-TEE distribution or vendor for backported patches to earlier LTS branches if applicable.

Detection guidance

Review your OP-TEE build configuration files (typically in the device tree or board makefile) for any reference to CFG_HISILICON_ACC_V3=y. Check OP-TEE version by querying TEE properties through the TEE Client API or examining firmware logs. Monitor for unusual patterns of RSA decryption requests from untrusted sources, though such monitoring in a TEE environment is limited. If Hisilicon acceleration is not needed, disabling it eliminates the risk entirely.

Why prioritize this

This vulnerability merits low priority for most organizations due to its default-disabled configuration and local-access-only requirement. Prioritize patching only if you explicitly enable the Hisilicon driver or run OP-TEE on Hisilicon platforms with hardware acceleration. Verify your build configuration before allocating remediation resources; many teams will find they are unaffected.

Risk score, explained

CVSS 2.5 (LOW) reflects the combination of: local attack vector (AV:L), high attack complexity requiring 1000–2000 queries and cryptographic skill (AC:H), and limited impact—confidentiality only, no integrity or availability loss (C:L/I:N/A:N). The score is not elevated by default-disabled status, but that significantly reduces practical risk. Organizations running the vulnerable configuration face meaningful risk; others face none.

Frequently asked questions

Does this affect my OP-TEE deployment if I have not explicitly enabled CFG_HISILICON_ACC_V3?

No. The vulnerability only exists when CFG_HISILICON_ACC_V3=y. Since this is disabled by default, most OP-TEE users are unaffected. Check your build configuration to confirm.

What do I need to do if I am running an affected version but do not use Hisilicon hardware?

Nothing. The vulnerability is specific to plat-d06 with Hisilicon acceleration enabled. If you are running a different platform or configuration, you are not vulnerable.

Can this attack happen over the network, or only locally?

Only locally. An attacker must have system access to send ciphertexts to the TEE and observe responses. This significantly limits real-world risk compared to remote cryptographic oracle attacks.

Is there a performance impact from applying the patch or disabling the driver?

The patch eliminates the timing side-channel without performance loss. Disabling CFG_HISILICON_ACC_V3 removes hardware acceleration for RSA-OAEP, potentially increasing CPU load; enable it only if you need the performance benefit and are patched to version 4.11.0 or later.

This analysis is provided for informational purposes. Verify all technical claims against the official OP-TEE advisory and your specific configuration. CVSS and vulnerability details are sourced from authoritative vendors and should be confirmed before operational decisions. Patch testing in a non-production environment is always recommended. SEC.co assumes no liability for remediation outcomes or deployment decisions made on the basis of this intelligence. Source: NVD (public-domain), retrieved 2026-08-15. Analysis generated by SEC.co (claude-haiku-4-5).