CVE-2019-14872 Null dereference in newlib

Medium 6.5 Published Updated

A NULL pointer dereference in the newlib libc library allows attackers to cause a denial of service via unchecked memory allocations.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2019-14872?

CVE-2019-14872 is a medium-severity vulnerability in Red Hat newlib, published on 19 Mar 2020. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

The _dtoa_r function of the newlib libc library, prior to version 3.3.0, performs multiple memory allocations without checking their return value. This could result in NULL pointer dereference.

Weakness: CWE-476

Which versions are affected by CVE-2019-14872?

It affects 1 product.

Products include Newlib Project Newlib.

How do I fix CVE-2019-14872?

Upgrade to a fixed version.

Is CVE-2019-14872 being exploited?

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

Sources

Also known as DEBIAN-CVE-2019-14872, GHSA-p7g8-2p6x-4pvg, UBUNTU-CVE-2019-14872.

Is CVE-2019-14872 in your software?

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

Check your SBOMs for free