# CVE-2021-43997: FreeRTOS versions 10.2.0 through 10.4.5 do not prevent non-kernel code from calling the xPortRaisePrivilege internal function to raise priv…

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.34%, higher than 29% of CVEs (2026-12-01)
- Published: 2021-11-17T00:00:00.000Z
- Modified: 2026-06-17T04:11:45.760Z
- Assigned by: mitre

## Description

FreeRTOS versions 10.2.0 through 10.4.5 do not prevent non-kernel code from calling the xPortRaisePrivilege internal function to raise privilege. FreeRTOS versions through 10.4.6 do not prevent a third party that has already independently gained the ability to execute injected code to achieve further privilege escalation by branching directly inside a FreeRTOS MPU API wrapper function with a manually crafted stack frame. These issues affect ARMv7-M MPU ports, and ARMv8-M ports with MPU support enabled (i.e. configENABLE_MPU set to 1). These are fixed in V10.5.0 and in V10.4.3-LTS Patch 3.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- amazon freertos: from 10.2.0 before 10.4.6; 10.4.3

## Every score

- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.2 High `AV:L/AC:L/Au:N/C:C/I:C/A:C`

## References

- <https://github.com/FreeRTOS/FreeRTOS-Kernel/releases/tag/V10.4.3-LTS-Patch-2> (release-notes, third-party-advisory)
- <https://github.com/FreeRTOS/FreeRTOS-Kernel/releases/tag/V10.4.6> (release-notes, third-party-advisory)
- <https://github.com/FreeRTOS/FreeRTOS-Kernel/releases/tag/V10.5.0>
- <https://github.com/FreeRTOS/FreeRTOS-Kernel/releases/tag/V10.4.3-LTS-Patch-3>

## Sources

- CVE List: [CVE-2021-43997](https://www.cve.org/CVERecord?id=CVE-2021-43997), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2021-43997](https://nvd.nist.gov/vuln/detail/CVE-2021-43997), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-43997 · Whole record: https://cve.day/CVE-2021-43997.json · Rebuilt by cve.day 2026-11-25T22:24:36.045Z
