CVE-2026-45614
JSON

4.7medium

OP-TEE vulnerable to ECDH private key recovery

Severity
4.7medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.10% (higher than 0% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M

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. Prior to version 4.11.0, on many of the ECDH shared secret paths, the public key isn't verified to be a point on the correct curve. By passing approximately 30-40 crafted public keys to OP-TEE, the private key can be reconstructed by a normal world attacker. When calling TEE_DeriveKey the public key is provided with full X and Y values, but the (X, Y) point might not satisfy the `Y^2 == X^3 + aX + b mod P` math for the specific curve that is used. When those public keys aren't rejected, the attacker can select public keys such that each DeriveKey call will leak `d % r` where `d` is the private key and `r` comes from the relationship between the correct curve and the attacker selected curve. With enough leaked data the Chinese remainder theorem can be used to recover the full private key. Version 4.11.0 fixes the issue.

Affected

Product or packageVersionsReported by
OP-TEE optee_os< 4.11.0CVE List
trustedfirmware op-teeup to 4.10.0NVD

Classification

CWE-347

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

What each source says

CVE List

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. Prior to version 4.11.0, on many of the ECDH shared secret paths, the public key isn't verified to be a point on the correct curve. By passing approximately 30-40 crafted public keys to OP-TEE, the private key can be reconstructed by a normal world attacker. When calling TEE_DeriveKey the public key is provided with full X and Y values, but the (X, Y) point might not satisfy the `Y^2 == X^3 + aX + b mod P` math for the specific curve that is used. When those public keys aren't rejected, the attacker can select public keys such that each DeriveKey call will leak `d % r` where `d` is the private key and `r` comes from the relationship between the correct curve and the attacker selected curve. With enough leaked data the Chinese remainder theorem can be used to recover the full private key. Version 4.11.0 fixes the issue.

NVD (es)

OP-TEE es un Entorno de Ejecución Confiable (TEE) diseñado como compañero de un kernel de Linux no seguro ejecutándose en núcleos Arm; Cortex-A usando la tecnología TrustZone. Antes de la versión 4.11.0, en muchas de las rutas de secreto compartido ECDH, la clave pública no se verifica para ser un punto en la curva correcta. Al pasar aproximadamente 30-40 claves públicas manipuladas a OP-TEE, la clave privada puede ser reconstruida por un atacante del mundo normal. Al llamar a TEE_DeriveKey, la clave pública se proporciona con valores X e Y completos, pero el punto (X, Y) podría no satisfacer las matemáticas 'Y^2 == X^3 + aX + b mod P' para la curva específica que se utiliza. Cuando esas claves públicas no son rechazadas, el atacante puede seleccionar claves públicas de tal manera que cada llamada a DeriveKey filtrará 'd % r' donde 'd' es la clave privada y 'r' proviene de la relación entre la curva correcta y la curva seleccionada por el atacante. Con suficientes datos filtrados, el teorema chino del resto puede usarse para recuperar la clave privada completa. La versión 4.11.0 corrige el problema.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-45614 changed 2026-06-03CVE Terms of Use
NVDCVE-2026-45614 changed 2026-07-22Public domain