6.5
Medium
CVE-2019-14878 In the __d2b function of the newlib libc library, all versions prior to 3.3.0 (see newlib/libc/stdlib/mprec.c), Balloc…
Description
In the __d2b 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. Accessing _x will trigger a null pointer dereference bug in case of a memory allocation failure.
Affected products and versions
| Product | Affected versions | Fixed in |
|---|---|---|
| newlib | Versions not published |
Other CVEs of newlib
The 8 CVEs of newlib →
CVE-2019-14876
In the __lshift function of the newlib libc library, all versions prior to 3.3.0 (see newlib/libc/stdlib/mprec.c),…
6.5
Medium
CVE-2019-14875
In the __multiply function of the newlib libc library, all versions prior to 3.3.0 (see newlib/libc/stdlib/mprec.c),…
6.5
Medium
CVE-2019-14874
In the __i2b function of the newlib libc library, all versions prior to 3.3.0 (see newlib/libc/stdlib/mprec.c), Balloc…
6.5
Medium
CVE-2019-14877
In the __mdiff function of the newlib libc library, all versions prior to 3.3.0 (see newlib/libc/stdlib/mprec.c), Balloc…
6.5
Medium