{
  "id": "CVE-2026-33317",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-33317",
  "published_at": "2026-04-24T02:20:55.67Z",
  "title": "OP-TEE: PKCS#11 TA out-of-bounds read and memory disclosure",
  "vendor": "OP-TEE",
  "product": "optee_os",
  "cvss": {
    "score": 8.7,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": {
    "created_at": "2026-04-30T03:41:48Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": 6.1,
    "repo": "0xbbdd/CVE-2026-33317",
    "source": "github"
  },
  "poc_repo_count": 1,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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. 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.",
  "cwe": "CWE-125",
  "cpes": [
    "cpe:2.3:o:trustedfirmware:op-tee:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.7
  },
  "repos": [
    {
      "repo": "0xbbdd/CVE-2026-33317",
      "url": "https://github.com/0xbbdd/CVE-2026-33317",
      "created_at": "2026-04-30T03:41:48Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2017-11-23T04:53:21Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "OP-TEE",
        "product": "optee_os",
        "ranges": [
          "\u003e= 3.13.0, \u003c= 4.10.0"
        ],
        "fixed_in": null
      }
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/OP-TEE/optee_os/security/advisories/GHSA-8cqw-mg7v-c9p9"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/OP-TEE/optee_os/commit/149e8d7ecc4ef8bb00ab4a37fd2ccede6d79e1ca"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/OP-TEE/optee_os/commit/16926d5a46934c46e6656246b4fc18385a246900"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/OP-TEE/optee_os/commit/e031c4e562023fd9f199e39fd2e85797e4cbdca9"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
