{"id":"CVE-2026-41514","summary":"OP-TEE: RSA-OAEP padding oracle in Hisilicon HPRE driver enables plaintext recovery","details":"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`.","aliases":["GHSA-qw4r-9wj9-q23r"],"modified":"2026-10-21T02:57:17.047741320Z","published":"2026-07-06T19:06:36.943Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-208"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/41xxx/CVE-2026-41514.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/41xxx/CVE-2026-41514.json"},{"type":"ADVISORY","url":"https://github.com/OP-TEE/optee_os/security/advisories/GHSA-qw4r-9wj9-q23r"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-41514"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/op-tee/optee_os","events":[{"introduced":"0919de0f7c79ad35ad3c8ace5f823ad1344b4716"},{"fixed":"f54190f22611dd5ad5d22546fd4209aa100f56bd"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StringRangeExpression","range":[{"introduced":"4.5.0"},{"fixed":"4.11.0"}]}]}}],"versions":["4.11.0-rc1","4.10.0","4.10.0-rc1","4.9.0","4.9.0-rc1","4.8.0","4.8.0-rc1","4.7.0","4.7.0-rc1","4.6.0","4.6.0-rc1","4.5.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-41514.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N"}]}