CVE-2021-27419 uClibc-ng Integer Overflow or Wraparound

High 7.3 Published Updated

An integer overflow in uClibc-ng's malloc-simple function allows attackers to cause crashes or execute arbitrary code via improper memory allocation.

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

What is CVE-2021-27419?

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

Official description

uClibc-ng versions prior to 1.0.37 are vulnerable to integer wrap-around in functions malloc-simple. This improper memory assignment 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-27419?

It affects 1 product.

Products include Uclibc-Ng Project Uclibc-Ng.

How do I fix CVE-2021-27419?

Upgrade to a fixed version.

Is CVE-2021-27419 being exploited?

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

Sources

Also known as DEBIAN-CVE-2021-27419, GHSA-499x-cvfw-94w6.

Is CVE-2021-27419 in your software?

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

Check your SBOMs for free