CVE & CISA-KEV Catalog

CVE-2022-46152

HIGH
8.2
CVSS v3
NVD

Description

OP-TEE Trusted OS is the secure side implementation of OP-TEE project, a Trusted Execution Environment. Versions prior to 3.19.0, contain an Improper Validation of Array Index vulnerability. The function `cleanup_shm_refs()` is called by both `entry_invoke_command()` and `entry_open_session()`. The commands `OPTEE_MSG_CMD_OPEN_SESSION` and `OPTEE_MSG_CMD_INVOKE_COMMAND` can be executed from the normal world via an OP-TEE SMC. This function is not validating the `num_params` argument, which is only limited to `OPTEE_MSG_MAX_NUM_PARAMS` (127) in the function `get_cmd_buffer()`. Therefore, an attacker in the normal world can craft an SMC call that will cause out-of-bounds reading in `cleanup_shm_refs` and potentially freeing of fake-objects in the function `mobj_put()`. A normal-world attacker with permission to execute SMC instructions may exploit this flaw. Maintainers believe this problem permits local privilege escalation from the normal world to the secure world. Version 3.19.0 contains a fix for this issue. There are no known workarounds.

How to fix

Remediation Available
op-teeNVD
Affected:< 3.19.0Fixed in:3.19.0CVE-2022-46152derived from NVD
op-tee osNVD
Affected:< 3.19.0Fixed in:3.19.0CVE-2022-46152derived from NVD

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorLocal
Attack ComplexityLow
Privileges RequiredHigh
User InteractionNone
ScopeChanged

Impact

ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

Exploit Intelligence

0.47%probability of exploitation in 30 days
37thpercentile

Low risk: more likely to be exploited than 37% of all known CVEs.

References

Exploit1
Third-Party Advisory2

Related Vulnerabilities

Other CWE-129 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2021-35592Medium6.351%-Fix
CVE-2021-35598Medium6.350%-Fix
CVE-2021-35594Medium6.350%-Fix
CVE-2022-35737High7.519%-Fix
CVE-2014-6317High7.118%--
CVE-2023-40477High7.813%-Fix
Embed a live status badge for CVE-2022-46152
CVE-2022-46152 severity badge

Markdown

[![CVE-2022-46152](https://tridentstack.com/cve/badge/CVE-2022-46152.svg)](https://tridentstack.com/cve/CVE-2022-46152)

HTML

<a href="https://tridentstack.com/cve/CVE-2022-46152"><img src="https://tridentstack.com/cve/badge/CVE-2022-46152.svg" alt="CVE-2022-46152"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-06-05.