CVE-2019-14874CWE-476

In the __i2b function of the newlib libc library, all versions prior to 3.3.0 (see newlib/libc/stdlib/mprec.c), Balloc is used to allocate a big integer…

Medium · published March 19, 2020

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

In the __i2b function of the newlib libc library, all versions prior to 3.3.0 (see newlib/libc/stdlib/mprec.c), Balloc is used to allocate a big integer, however no check is performed to verify if the allocation succeeded or not. The access of _ x[0] 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.01492 · 73.9th percentile
Weakness
CWE-476 · NULL Pointer Dereference
Published
2020-03-19T15:07Z
EPSS history
Timeline
  • 19 MAR 15:07Z
    In the __i2b function of the newlib libc library, all versions prior to 3.3.0 (see newlib/libc/stdlib/mprec.c), Balloc is used to allocate a big integer…
    cvelistv5