{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-40257","published":"2026-07-06T17:16:31.253000Z","last_modified":"2026-10-25T20:10:00.147000Z","status":"Analyzed","cvss":{"version":"3.1","score":5.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","source":"security-advisories@github.com","primary":false},"auth":true,"cwes":["CWE-787"],"cpes":[{"criteria":"cpe:2.3:o:trustedfirmware:op-tee:*:*:*:*:*:*:*:*","part":"o","vendor":"trustedfirmware","product":"op-tee","version_start_including":"3.21.0","version_end_including":"4.10.0"}],"cpes_truncated":false,"vendors":["trustedfirmware"],"products":["trustedfirmware/op-tee"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"cat":"os","platform":"multi","eol":false,"packages":[],"severity":"medium","priority_score":33,"links":{"html_es":"/es/cve/CVE-2026-40257/","html_en":"/en/cve/CVE-2026-40257/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-40257","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-40257"},"untrusted":{"vendor_name":"Trustedfirmware","product_name":"Op-tee","desc_en":"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.21.0 and prior to version 4.11.0, the ARM Crypto Extensions accelerated SHA-3 implementation has an off-by-one error that can cause a massive heap overflow that corrupts all TEE kernel memory following the hash state. This affects all platforms built with `CFG_CRYPTO_WITH_CE82=y` (ARMv8.2+ with SHA3 Crypto Extensions). Version 4.11.0 contains a patch. As a workaround, disable SHA3 Crypto Extensions with `CFG_CRYPTO_WITH_CE82=n`.","affected":[{"untrusted_vendor":"OP-TEE","untrusted_product":"optee_os","versions":[]}],"references":[{"url":"https://github.com/OP-TEE/optee_os/security/advisories/GHSA-75x4-j8p9-55qv","tags":["Mitigation","Patch","Vendor Advisory"]}]}}