CVE-2026-40257
Last modified
CVE-2026-40257 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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. EPSS estimates a 0.11% chance of exploitation in the next 30 days.
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.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`.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Trustedfirmware | Op-Tee | >= 3.21.0, <= 4.10.0 |
References
- https://github.com/OP-TEE/optee_os/security/advisories/GHSA-75x4-j8p9-55qvMitigation, Patch, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-40257?
How severe is CVE-2026-40257?
How do I fix CVE-2026-40257?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-40251Incus is a system container and virtual machine manager. In …6.5
- CVE-2026-40252FastGPT is an AI Agent building platform. Prior to 4.14.10.4…8.1
- CVE-2026-40253openCryptoki is a PKCS#11 library and provides tooling for L…6.1
- CVE-2026-40254FreeRDP is a free implementation of the Remote Desktop Proto…6.1
- CVE-2026-40255AdonisJS HTTP Server is a package for handling HTTP requests…6.1
- CVE-2026-40256Weblate is a web based localization tool. In versions prior …5
- CVE-2026-40258The Gramps Web API is a Python REST API for the genealogical…9.1
- CVE-2026-40259SiYuan is an open-source personal knowledge management syste…8.1
- CVE-2026-4026A security vulnerability has been identified in FlexNet Mana…8.7
- CVE-2026-40260pypdf is a free and open-source pure-python PDF library. In …5.3
- CVE-2026-40261Composer is a dependency manager for PHP. Versions 1.0 throu…8.8
- CVE-2026-40262Note Mark is an open-source note-taking application. In vers…8.7
Are you affected by CVE-2026-40257?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
