CVE-2021-27502 Texas Instruments TI-RTOS Integer Overflow or Wraparound

High 7.4 Published Updated

An integer overflow in TI-RTOS HeapMem allows attackers to execute arbitrary code when using the default heap configuration.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2021-27502?

CVE-2021-27502 is a high-severity vulnerability in Texas Instruments CC32XX, published on 21 Nov 2023. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Texas Instruments TI-RTOS, when configured to use HeapMem heap(default), malloc returns a valid pointer to a small buffer on extremely large values, which can trigger an integer overflow vulnerability in 'HeapMem_allocUnprotected' and result in code execution.

Weakness: CWE-190

Which versions are affected by CVE-2021-27502?

It affects 6 products.

Products include Ti Real-Time Operating System, Ti Simplelink Cc13xx Software Development Kit, Ti Simplelink Cc26xx Software Development Kit, Ti Simplelink Cc32xx Software Development Kit, Ti Simplelink Msp432e401y, Ti Simplelink Msp432e411y.

How do I fix CVE-2021-27502?

No fix has been published for CVE-2021-27502 yet. Limit exposure of the affected software until one is available.

Is CVE-2021-27502 being exploited?

There is no known exploitation of CVE-2021-27502 in the wild and no public exploit code.

Sources

Also known as GHSA-r29m-3wmm-cjv2.

Is CVE-2021-27502 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free