UBUNTU-CVE-2026-40257

Source
https://ubuntu.com/security/CVE-2026-40257
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-40257.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-40257
Upstream
  • CVE-2026-40257
Published
2026-07-06T17:16:00Z
Modified
2026-07-09T17:16:16.188158555Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

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.

References

Affected packages

Ubuntu:25.10 / optee-os

Package

Name
optee-os
Purl
pkg:deb/ubuntu/optee-os?arch=source&distro=questing

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

4.*
4.5.0-1
4.5.0-2
4.7.0-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "optee-os",
            "binary_version": "4.7.0-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-40257.json"

Ubuntu:26.04:LTS / optee-os

Package

Name
optee-os
Purl
pkg:deb/ubuntu/optee-os?arch=source&distro=resolute

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

4.*
4.7.0-1
4.8.0-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "optee-os",
            "binary_version": "4.8.0-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-40257.json"