{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "0.3.0"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "d6d3e693803edcd28edaefe178dfe965c0924565"
            }
          ],
          "repo": "https://github.com/samsung/mtower",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "A Buffer Access with Incorrect Length Value vulnerablity in the TEE_CipherUpdate function in Samsung mTower through 0.3.0 allows a trusted application to trigger a Denial of Service (DoS) by invoking the function TEE_CipherUpdate with an excessive size value of srcLen.",
  "id": "CVE-2022-40758",
  "modified": "2026-03-13T21:51:26.346849583Z",
  "published": "2022-09-16T22:15:12.390Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/Samsung/mTower/issues/81"
    },
    {
      "type": "FIX",
      "url": "https://github.com/Samsung/mTower/blob/efd36709306a9afcca5b4782499d01be0c7a02a5/tee/lib/libutee/tee_api_operations.c#L1224"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    }
  ]
}