CVE-2019-14877CWE-476

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…

Medium · published March 19, 2020

CVSS v3.0
6.5
EPSS
1%
Percentile
70.1
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.0
6.5 · MEDIUM
Vector
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.01295 · 70.1th percentile
Weakness
CWE-476 · NULL Pointer Dereference
Published
2020-03-19T15:04Z
EPSS history
Timeline
  • 19 MAR 15:04Z
    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…
    cvelistv5