8.4high
OP-TEE OS 4.10.0 Buffer Underwrite via RSA NOPAD Encrypt/Decrypt Operations
- Severity
- 8.4high CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.13% (higher than 3% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
Description
OP-TEE OS through 4.10.0, fixed in commit 7b8b494, contains a buffer underwrite vulnerability in the RSA NOPAD encrypt and decrypt operations within the mbedTLS software backend and SE050 hardware driver that allows a malicious Trusted Application to corrupt secure-world heap memory by supplying an input length exceeding the RSA modulus size. When src_len exceeds rsa_len, the subtraction expression wraps to a large unsigned value, causing a subsequent memcpy to write attacker-controlled data before the destination buffer in S-EL1 secure-world heap memory.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| OP-TEE optee_os | up to 4.10.0 Not affected: 7b8b494e0a324cefec8ed386b7de413b44f1aaf3 | CVE List |
All scores
| VulnCheck | 8.4high CVSS:4.0 | CVSS:4.0/AV:L/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| VulnCheck | 6.7medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
Classification
What each source says
CVE List
OP-TEE OS through 4.10.0, fixed in commit 7b8b494, contains a buffer underwrite vulnerability in the RSA NOPAD encrypt and decrypt operations within the mbedTLS software backend and SE050 hardware driver that allows a malicious Trusted Application to corrupt secure-world heap memory by supplying an input length exceeding the RSA modulus size. When src_len exceeds rsa_len, the subtraction expression wraps to a large unsigned value, causing a subsequent memcpy to write attacker-controlled data before the destination buffer in S-EL1 secure-world heap memory.
NVD (es)
OP-TEE OS hasta 4.10.0, corregido en el commit 7b8b494, contiene una vulnerabilidad de subescritura de búfer en las operaciones de cifrado y descifrado RSA NOPAD dentro del backend de software mbedTLS y el controlador de hardware SE050 que permite a una Aplicación Confiable maliciosa corromper la memoria heap del mundo seguro al proporcionar una longitud de entrada que excede el tamaño del módulo RSA. Cuando src_len excede rsa_len, la expresión de resta se ajusta a un valor sin signo grande, causando que un memcpy subsiguiente escriba datos controlados por el atacante antes del búfer de destino en la memoria heap del mundo seguro S-EL1.
References
| https://blog.secmate.dev/posts/optee-vulnerabilities-disclosure/ | exploit, technical-description | |
| https://github.com/OP-TEE/optee_os/pull/7898 | issue-tracking, patch | |
| https://github.com/OP-TEE/optee_os/pull/7808 | issue-tracking, patch | |
| https://github.com/OP-TEE/optee_os/commit/7b8b494e0a324cefec8ed386b7de413b44f1aaf3 | patch | |
| https://www.vulncheck.com/advisories/op-tee-os-buffer-underwrite-via-rsa-nopad-encrypt-decrypt-operations | third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-71969 changed 2026-11-08 | CVE Terms of Use |
| NVD | CVE-2026-71969 changed 2026-10-24 | Public domain |