CVE-2026-41514: CWE-208: Observable Timing Discrepancy in OP-TEE optee_os
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`.
AI Analysis
Technical Summary
The vulnerability CVE-2026-41514 in OP-TEE's optee_os affects the RSA-OAEP decryption in the Hisilicon HPRE crypto driver on plat-d06 with CFG_HISILICON_ACC_V3 enabled. The implementation uses a non-constant-time memcmp() for label hash verification and has multiple error paths that differ in timing, enabling a Manger-style padding oracle attack. This allows an attacker with local access to recover RSA-OAEP plaintext after approximately 1000-2000 adaptive chosen ciphertext queries. The vulnerability is fixed in version 4.11.0. The affected configuration is disabled by default, reducing exposure. A workaround is to disable the Hisilicon HPRE RSA driver by setting CFG_HISILICON_ACC_V3 to n.
Potential Impact
An attacker with local access and low privileges can exploit the timing discrepancy in RSA-OAEP decryption to recover plaintext from ciphertext using a Manger-style padding oracle attack. The impact is limited to confidentiality (partial plaintext recovery) with no integrity or availability impact. The attack requires a high level of access control and multiple adaptive queries, limiting practical exploitation. The affected configuration is disabled by default, further reducing risk.
Mitigation Recommendations
Version 4.11.0 of OP-TEE contains a patch that fixes this vulnerability. Users should upgrade to version 4.11.0 or later. As a workaround, if upgrading is not immediately possible, disable the Hisilicon HPRE RSA driver by setting CFG_HISILICON_ACC_V3=n to prevent exposure. Since the affected configuration is disabled by default, verify the configuration to ensure it is not enabled. Patch status is not explicitly confirmed beyond the mention of version 4.11.0 containing a fix; check the vendor advisory for the latest remediation guidance.
CVE-2026-41514: CWE-208: Observable Timing Discrepancy in OP-TEE optee_os
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`.
CVSS v3.1
Score 2.5low
Affected software
pkg:github/op-tee/optee_osRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability CVE-2026-41514 in OP-TEE's optee_os affects the RSA-OAEP decryption in the Hisilicon HPRE crypto driver on plat-d06 with CFG_HISILICON_ACC_V3 enabled. The implementation uses a non-constant-time memcmp() for label hash verification and has multiple error paths that differ in timing, enabling a Manger-style padding oracle attack. This allows an attacker with local access to recover RSA-OAEP plaintext after approximately 1000-2000 adaptive chosen ciphertext queries. The vulnerability is fixed in version 4.11.0. The affected configuration is disabled by default, reducing exposure. A workaround is to disable the Hisilicon HPRE RSA driver by setting CFG_HISILICON_ACC_V3 to n.
Potential Impact
An attacker with local access and low privileges can exploit the timing discrepancy in RSA-OAEP decryption to recover plaintext from ciphertext using a Manger-style padding oracle attack. The impact is limited to confidentiality (partial plaintext recovery) with no integrity or availability impact. The attack requires a high level of access control and multiple adaptive queries, limiting practical exploitation. The affected configuration is disabled by default, further reducing risk.
Mitigation Recommendations
Version 4.11.0 of OP-TEE contains a patch that fixes this vulnerability. Users should upgrade to version 4.11.0 or later. As a workaround, if upgrading is not immediately possible, disable the Hisilicon HPRE RSA driver by setting CFG_HISILICON_ACC_V3=n to prevent exposure. Since the affected configuration is disabled by default, verify the configuration to ensure it is not enabled. Patch status is not explicitly confirmed beyond the mention of version 4.11.0 containing a fix; check the vendor advisory for the latest remediation guidance.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-04-20T18:18:50.681Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a4c076827e9c7971920cb96
Added to database: 07/06/2026, 19:52:08 UTC
Last enriched: 07/06/2026, 20:07:43 UTC
Last updated: 07/06/2026, 22:19:27 UTC
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.