CVE-2019-14877

Medium

Description

In the __mdiff function of the newlib libc library, all versions prior to 3.3.0 (see newlib/libc/stdlib/mprec.c), Balloc is used to allocate big integers, however no check is performed to verify if the allocation succeeded or not. The access to _wds and _sign will trigger a null pointer dereference bug in case of a memory allocation failure.

SeverityMedium
CVSS6.5
Exploit probability—
ProductNewlib
PublishedMar 19, 2020
First seenMar 19, 2020

How to fix

Update
  • newlib_project newlib3.3.0 or later

Affected products

ProductAffected versionsFixed in
newlib_project newlibv < 3.3.03.3.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.