Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain normal world code execution
-
DeliveryIdentify ECDH-capable Trusted Application
-
ExploitOpen TA client session
-
ExecutionSubmit ~30-40 crafted invalid-curve public keys via TEE_DeriveKey
-
PersistCollect leaked d mod r residues per call
-
ImpactApply Chinese Remainder Theorem to reconstruct full private key
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A04:2025 - Cryptographic Failures
ASVS 5.0
V11 - Cryptography Signature verification
|
| Exploitation Conditions | Exploitation requires that the attacker have local code execution in the normal world (Linux side) with at least low OS-level privileges (PR:L per CVSS vector) and the ability to open a client session to a Trusted Application that exposes ECDH key derivation via TEE_DeriveKey. The target TA must be using one of the affected ECDH shared secret paths and must not perform independent curve point validation before invoking the OP-TEE API. The attack is limited strictly to ECDH derivation operations - other TEE cryptographic functions (signing, encryption) are not directly exploited by this technique. Exploitation is bounded by the AC:H complexity: the attacker must craft ~30-40 mathematically specific invalid curve points and collect sufficient output residues, requiring cryptographic knowledge beyond generic exploitation skill. Remote unauthenticated exploitation is not possible; physical or software access to the normal world execution environment is a hard prerequisite. Deployments where the TA restricts TEE_DeriveKey callers to trusted processes further limit the exploitable attack surface. |
| Impact | The CVSS 4.7 medium score reflects local access (AV:L), high attack complexity (AC:H), and low privileges required (PR:L), but the confidentiality impact is rated High (C:H) - complete private key disclosure. The moderate composite score should not be interpreted as low business impact: full recovery of a TEE-resident private key undermines any trust, attestation, or secure channel reliant on that key, which is the core security promise of TrustZone. The AC:H rating captures the ~30-40 crafted API call requirement, which is non-trivial but well within reach of a cryptographically skilled adversary given documented attack tooling in academic literature. EPSS data was not provided in the input, preventing quantitative exploitation probability assessment. The vulnerability is not listed in CISA KEV and no public POC has been identified, reducing immediate exploitation urgency. However, the local-only attack vector (AV:L) limits internet-scale exploitation to adversaries who have already obtained normal world code execution - a realistic scenario in mobile, IoT, and embedded deployments. Net assessment: medium CVSS score understates cryptographic severity; priority should be elevated for any OP-TEE deployment where ECDH keys protect high-value assets (device identity, attestation, DRM). |
| Exploit ScenarioDerived | An attacker with low-privilege code execution in the Linux normal world of an OP-TEE-equipped device identifies a Trusted Application that performs ECDH key derivation and opens a session to it. The attacker iteratively calls TEE_DeriveKey with approximately 30-40 public keys carefully chosen to lie on small-subgroup curves related to the target ECDH curve, collecting or inferring the resulting shared secret outputs to extract d mod r residues for multiple distinct r values. Applying the Chinese Remainder Theorem to the accumulated residues, the attacker reconstructs the full private key d entirely in the normal world. No public POC has been identified, but the invalid curve attack is a well-established technique described in peer-reviewed cryptographic literature. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 03, 2026
Private ECDH key recovery in OP-TEE prior to version 4.11.0 is achievable by a local attacker who can invoke TEE_DeriveKey with approximately 30-40 crafted public key values lying off the target elliptic curve. Because the implementation omits point validation - failing to verify that (X, Y) satisfies Y^2 ≡ X^3 + aX + b mod P for the specified curve - each malformed call leaks a residue d mod r, where d is the private key and r is the order of the attacker-chosen invalid curve. Accumulated residues allow full private key reconstruction via the Chinese Remainder Theorem. No public exploit has been identified at time of analysis and the vulnerability is not listed in CISA KEV, but the underlying invalid curve attack technique is well-documented in cryptographic literature and reproducible by any skilled attacker with local access.
RemediationAI
Upgrade OP-TEE OS to version 4.11.0, which introduces mandatory point validation to reject public keys not satisfying the curve equation before ECDH scalar multiplication proceeds. The vendor advisory is available at https://github.com/OP-TEE/optee_os/security/advisories/GHSA-g6qf-hwf7-mg9h. For deployments where immediate upgrade is not feasible, a compensating control is to implement curve membership validation within the Trusted Application (TA) layer before passing the public key to TEE_DeriveKey - this adds a defense-in-depth layer but requires TA modification and redeployment. A second option is to restrict TEE_DeriveKey invocation to trusted callers via TA access control policies, reducing the attacker's ability to make repeated crafted calls; this may disrupt legitimate use cases if the TA is designed for broad client access. Generic network-level controls are not applicable given the local attack vector.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
OP-TEE is an open-source Trusted Execution Environment (TEE) built on Arm TrustZone technology, executing in the Secure World alongside a normal Linux kernel on Cortex-A processors. The affected component is the ECDH shared secret derivation path exposed via the GlobalPlatform TEE Internal Core API function TEE_DeriveKey. The caller supplies a public key as explicit (X, Y) elliptic curve coordinates, but the implementation does not validate that the point satisfies the curve equation for the named curve - a mandatory step in safe ECDH implementations. This omission enables the classic invalid curve attack: by selecting points from small-order subgroups of related curves, an attacker forces scalar multiplication against a point of known low order, leaking d mod r for each chosen r. Repeating the process with distinct r values and applying the Chinese Remainder Theorem recovers d entirely. CWE-347 (Improper Verification of Cryptographic Signature) identifies the root cause class - a required cryptographic validation step (curve membership check) is absent. The CPE cpe:2.3:a:op-tee:optee_os:*:*:*:*:*:*:*:* covers all optee_os versions, with all releases prior to 4.11.0 confirmed affected.
Know when Jwt Attack gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
Primary rating from Vendor (GitHub_M) · only source for this CVE.
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
1DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
More in Jwt Attack
View allWhy is Microsoft republishing a CVE from 2013? We are republishing CVE-2013-3900 in the Security Update Guide to update
Authentication bypass in SimpleHelp 5.5.15 and prior (plus 6.0 pre-release builds) allows remote unauthenticated attacke
Authentication bypass in WSO2 API Manager and related components (Universal Gateway, Traffic Manager, API Control Plane,
Authentication bypass in Fortinet FortiOS, FortiProxy, and FortiSwitchManager allows unauthenticated remote attackers to
ruby-saml provides security assertion markup language (SAML) single sign-on (SSO) for Ruby. Rated critical severity (CVS
Security feature bypass in Microsoft .NET (shipped via Visual Studio 2022 17.12/17.14 and Visual Studio 2026 18.7) lets
ruby-saml provides security assertion markup language (SAML) single sign-on (SSO) for Ruby. Rated critical severity (CVS
The package jsrsasign before 10.5.25 are vulnerable to Improper Verification of Cryptographic Signature when JWS or JWT
Authentication and authorization bypass in fast-jwt 6.2.0 through 6.2.4 (npm, NearForm) lets a remote, unauthenticated a
A library injection vulnerability exists in Microsoft Teams (work or school) 24046.2813.2770.1094 for macOS. Rated criti
A library injection vulnerability exists in the WebView.app helper app of Microsoft Teams (work or school) 24046.2813.27
A library injection vulnerability exists in the com.microsoft.teams2.modulehost.app helper app of Microsoft Teams (work
EUVD-2026-34159
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB