Home / OP-TEE / optee_os / CVE-2022-46152
CVE-2022-46152: is it exploited, and which versions of OP-TEE optee_os are affected and fixed?
CVE-2022-46152 is an improper array index validation vulnerability in OP-TEE optee_os. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 10:38 UTC). Affected: optee_os < 3.19.0 (CVE record by GitHub_M). Fixed in 3.19.0 (NVD). Severity: High (8.2, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 10:38 UTC, CVE record November 19, 2026, 07:13 UTC and NVD November 19, 2026, 07:43 UTC.
What is CVE-2022-46152?
OP-TEE Trusted OS vulnerable to Improper Validation of Array Index in the cleanup_shm_refs function
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.
From the CVE record by GitHub_M, last updated April 22, 2025, 15:59 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| OP-TEE | optee_os | < 3.19.0 |
As the CVE record by GitHub_M states it, last updated April 22, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| trustedfirmware | op-tee | before 3.19.0 | operating system |
NVD analysis (status Analyzed), last modified June 17, 2026, 05:11 UTC.
How severe is CVE-2022-46152?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.2 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H | GitHub_M |
| High 8.8 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2022-46152 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: total (CISA ADP, April 22, 2025)
- EPSS
- 0.54% probability of exploitation activity in the next 30 days, percentile 46.8 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-129 Improper Validation of Array Index
Where are the vendor advisories and references?
- https://github.com/OP-TEE/optee_os/security/advisories/GHSA-65w8-6mrg-52g7
- https://github.com/OP-TEE/optee_os/commit/728616b28df659cf0bdde6e58a471f6ef25d023c
- https://github.com/OP-TEE/optee_os/blob/c2d449482de098f1c894b94f338440e5a327813d/core/tee/entry_std.c#L257
- https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator?vector=AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H/E:U/RL:X/RC:X/CR:M/IR:M/AR:M/MAV:L/MAC:L/MPR:H/MUI:N/MS:C/MC:H/MI:H/MA:H&version=3.1
When was it published, and where is the official record?
- Reserved
- November 28, 2022
- Published
- November 29, 2022, 00:00 UTC
- CVE record updated
- April 22, 2025, 15:59 UTC by GitHub_M
- NVD
- Analyzed, last modified June 17, 2026, 05:11 UTC
- Last checked
- CVE list November 19, 2026, 07:13 UTC; NVD November 19, 2026, 07:43 UTC; KEV December 3, 2026, 10:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect optee_os?
- Aug 10, 2026CVE-2026-71969 OP-TEE optee_os: out-of-bounds write (memory corruption)
- Aug 10, 2026CVE-2026-71968 OP-TEE optee_os: use after free
- Aug 10, 2026CVE-2026-71967 OP-TEE optee_os: NULL pointer dereference (crash)
- Jul 6, 2026CVE-2026-53763 OP-TEE optee_os: integer overflow
- Jul 6, 2026CVE-2026-44362 OP-TEE optee_os: improper authorization
- Jul 6, 2026CVE-2026-42546 OP-TEE optee_os: denial of service (resources allocated without limits)
- Jul 6, 2026CVE-2026-41516 OP-TEE optee_os: timing side channel
- Jul 6, 2026CVE-2026-41515 OP-TEE optee_os: timing side channel
Questions about CVE-2022-46152
Is CVE-2022-46152 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 10:38 UTC. FIRST's EPSS gives it a 0.54% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of OP-TEE optee_os are affected by CVE-2022-46152?
optee_os < 3.19.0, per the CVE record by GitHub_M. The tables above give every range the sources list.
Which version fixes CVE-2022-46152?
3.19.0, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2022-46152?
High (8.2, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2022-46152?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.