Timing Attack Affecting op-tee/optee_os package, versions [4.5.0,]


Severity

Recommended
0.0
low
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.1% (1st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-OPTEEOPTEEOS-17872226
  • published6 Jul 2026
  • disclosed6 Jul 2026
  • creditUnknown

Introduced: 6 Jul 2026

NewCVE-2026-41514  (opens in a new tab)
CWE-208  (opens in a new tab)

How to fix?

A fix was pushed into the master branch but not yet published.

Overview

Affected versions of this package are vulnerable to Timing Attack in the memcmp function used for label hash verification in the RSA-OAEP decryption implementation of the Hisilicon HPRE crypto driver, due to the use of non-constant-time comparison and multiple distinguishable error paths. An attacker can recover plaintext data by performing adaptive chosen ciphertext queries and analyzing the resulting error responses. This is only exploitable if running on plat-d06 with CFG_HISILICON_ACC_V3=y, which is disabled by default.

Workaround

This vulnerability can be mitigated by disabling the Hisilicon HPRE RSA driver with CFG_HISILICON_ACC_V3=n.

CVSS Base Scores

version 4.0
version 3.1