Skip to content
Heist/ feed
Back to feed
High

optee-os — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2026-33317

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. In versions 3.13.0 through 4.10.0, missing checks in `entry_get_attribute_value()` in `ta/pkcs11/src/object.c` can lead to out-of-bounds read from the PKCS#11 TA heap or a crash. When chained with the OOB read, the PKCS#11 TA function `PKCS11_CMD_GET_ATTRIBUTE_VALUE` or `entry_get_attribute_value()` can, with a bad template parameter, be tricked into reading at most 7 bytes beyond the end of the template buffer and writing beyond the end of the template buffer with the content of an attribute value of a PKCS#11 object. Commits e031c4e562023fd9f199e39fd2e85797e4cbdca9, 16926d5a46934c46e6656246b4fc18385a246900, and 149e8d7ecc4ef8bb00ab4a37fd2ccede6d79e1ca contain patches and are anticipated to be part of version 4.11.0.

Products
optee-os
Affected versions
4.10.0-1, 4.10.0-2, 4.5.0-1, 4.5.0-2, 4.7.0-1, 4.8.0-1
Fixed versions
Not specified
CVEs
CVE-2026-33317
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 02:59 UTC · Revision 1

Source evidence

UBUNTU-CVE-2026-33317

core-osv · Original source

Published 24 Apr 2026, 03:16 UTC

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. In versions 3.13.0 through 4.10.0, missing checks in `entry_get_attribute_value()` in `ta/pkcs11/src/object.c` can lead to out-of-bounds read from the PKCS#11 TA heap or a crash. When chained with the OOB read, the PKCS#11 TA function `PKCS11_CMD_GET_ATTRIBUTE_VALUE` or `entry_get_attribute_value()` can, with a bad template parameter, be tricked into reading at most 7 bytes beyond the end of the template buffer and writing beyond the end of the template buffer with the content of an attribute value of a PKCS#11 object. Commits e031c4e562023fd9f199e39fd2e85797e4cbdca9, 16926d5a46934c46e6656246b4fc18385a246900, and 149e8d7ecc4ef8bb00ab4a37fd2ccede6d79e1ca contain patches and are anticipated to be part of version 4.11.0.

osv:UBUNTU-CVE-2026-33317

optee-os

Fixed versions: Not specified

optee-os

Fixed versions: Not specified

optee-os

Fixed versions: Not specified

Complete source record
{
  "id": "b837b025e734bfd6edecf10663b72fe76e0c572cacdacfcbf4ab5086db306f05",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-33317",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2026-33317",
    "summary": "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. In versions 3.13.0 through 4.10.0, missing checks in `entry_get_attribute_value()` in `ta/pkcs11/src/object.c` can lead to out-of-bounds read from the PKCS#11 TA heap or a crash. When chained with the OOB read, the PKCS#11 TA function `PKCS11_CMD_GET_ATTRIBUTE_VALUE` or `entry_get_attribute_value()` can, with a bad template parameter, be tricked into reading at most 7 bytes beyond the end of the template buffer and writing beyond the end of the template buffer with the content of an attribute value of a PKCS#11 object. Commits e031c4e562023fd9f199e39fd2e85797e4cbdca9, 16926d5a46934c46e6656246b4fc18385a246900, and 149e8d7ecc4ef8bb00ab4a37fd2ccede6d79e1ca contain patches and are anticipated to be part of version 4.11.0.",
    "evidence": "osv:UBUNTU-CVE-2026-33317",
    "products": [
      {
        "name": {
          "value": "optee-os",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "4.5.0-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "4.5.0-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "4.7.0-1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "optee-os",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "4.8.0-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "4.10.0-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "4.10.0-2",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "optee-os",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "4.7.0-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "4.8.0-1",
            "evidence": "/affected/2/versions"
          }
        ]
      }
    ],
    "severity": "high",
    "structured": {
      "id": "UBUNTU-CVE-2026-33317",
      "aliases": [
        "UBUNTU-CVE-2026-33317"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "optee-os",
            "purl": "pkg:deb/ubuntu/optee-os?arch=source&distro=questing",
            "ecosystem": "Ubuntu:25.10"
          },
          "versions": [
            "4.5.0-1",
            "4.5.0-2",
            "4.7.0-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-33317.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "optee-os",
                "binary_version": "4.7.0-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "optee-os",
            "purl": "pkg:deb/ubuntu/optee-os?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "4.8.0-1",
            "4.10.0-1",
            "4.10.0-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-33317.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "optee-os",
                "binary_version": "4.10.0-2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "optee-os",
            "purl": "pkg:deb/ubuntu/optee-os?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "4.7.0-1",
            "4.8.0-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-33317.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "optee-os",
                "binary_version": "4.8.0-1"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:59:59.575899933Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-33317"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2026-33317",
        "https://www.cve.org/CVERecord?id=CVE-2026-33317",
        "https://github.com/OP-TEE/optee_os/security/advisories/GHSA-8cqw-mg7v-c9p9"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-33317",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 360078,
  "published_at": "2026-04-24T03:16:00+00:00"
}