CVE-2021-27435 ARM mbed Integer Overflow or Wraparound

High 7.3 Published Updated

An integer overflow in ARM mbed's malloc_wrapper allows arbitrary memory allocation, potentially leading to remote code execution or crashes.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2021-27435?

CVE-2021-27435 is a high-severity vulnerability in ARM mbed, published on 3 May 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

ARM mbed product Version 6.3.0 is vulnerable to integer wrap-around in malloc_wrapper function, which can lead to arbitrary memory allocation, resulting in unexpected behavior such as a crash or a remote code injection/execution.

Weakness: CWE-190

Which versions are affected by CVE-2021-27435?

It affects 1 product.

Products include Arm Mbed.

How do I fix CVE-2021-27435?

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

Is CVE-2021-27435 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-27435 exists.

Sources

Also known as GHSA-8g7w-r5wc-r97f.

Is CVE-2021-27435 in your software?

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

Check your SBOMs for free