CVE-2019-14877

Severity CVSS v4.0:
Pending analysis
Type:
CWE-476 NULL Pointer Dereference
Publication date:
19/03/2020
Last modified:
24/03/2020

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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:newlib_project:newlib:*:*:*:*:*:*:*:* 3.3.0 (excluding)