CVE-2023-41325 in Linaro Op-Tee
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 3.20 and prior to version 3.22, `shdr_verify_signature` can make a double free. `shdr_verify_signature` used to verify a TA binary befo...
Affects 1 product from 1 vendor. Facts below cite their sources.
Requires local access, low complexity, high privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Linaro | Op-Tee | 3.22.0 ≥ 3.20.0, < 3.22.0 |
| Trustedfirmware | Op-Tee | 3.22.0 ≥ 3.20.0, < 3.22.0 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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 3.20 and prior to version 3.22, `shdr_verify_signature` can make a double free. `shdr_verify_signature` used to verify a TA binary before it is loaded. To verify a signature of it, allocate a memory for RSA key. RSA key allocate function (`sw_crypto_acipher_alloc_rsa_public_key`) will try to allocate a memory (which is optee’s heap memory). RSA key is consist of exponent and modulus (represent as variable `e`, `n`) and it allocation is not atomic way, so it may succeed in `e` but fail in `n`. In this case sw_crypto_acipher_alloc_rsa_public_key` will free on `e` and return as it is failed but variable ‘e’ is remained as already freed memory address . `shdr_verify_signature` will free again that memory (which is `e`) even it is freed when it failed allocate RSA key. A patch is available in version 3.22. No known workarounds are available.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2023-41325 |
|---|---|
| BreachSpider ID | BS-2023-GLOBAL-055833-M |
| CVSS vector | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| Published | 2023-09-15 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-415: CWE-415
Analysis AI-written, not human-reviewed
CVE-2023-41325 affects OP-TEE versions 3.20 to 3.21, where the `shdr_verify_signature` function can cause a double free due to improper memory management when verifying a TA binary's signature.
An attacker could exploit this vulnerability by crafting a malicious TA binary with a specially crafted RSA key, leading to a double free condition. This could potentially lead to arbitrary code execution within the TEE context, compromising the security of the system.
Questions
What is CVE-2023-41325?
CVE-2023-41325 affects OP-TEE versions 3.20 to 3.21, where the `shdr_verify_signature` function can cause a double free due to improper memory management when verifying a TA binary's signature.
What is the CVSS score for CVE-2023-41325?
CVE-2023-41325 has CVSS 6.7 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H. EPSS: 0.4%.
Is CVE-2023-41325 actively exploited?
No confirmed active exploitation of CVE-2023-41325 as of 2026-09-25.
How do I remediate CVE-2023-41325?
Priority: HIGH. PSIRT: [email protected]
What systems are affected by CVE-2023-41325?
CVE-2023-41325 affects Linaro Op-Tee.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Linaro","product":"Op-Tee","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.