Skip to content

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 is used to allocate a big integer, however no check is performed to verify if the...

MediumCVSS 6.5 EPSS 1.3%
Published
Updated
Exploit status
No public exploit known

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

ProductAffected versionsFixed in
debian/newlib(Debian:12) < 3.3.0-1 3.3.0-1
debian/newlib(Debian:13) < 3.3.0-1 3.3.0-1
debian/newlib(Debian:14) < 3.3.0-1 3.3.0-1
debian/picolibc(Debian:12) < 1.4.3-1 1.4.3-1
debian/picolibc(Debian:13) < 1.4.3-1 1.4.3-1
debian/picolibc(Debian:14) < 1.4.3-1 1.4.3-1
newlib project newlib < 3.3.0 3.3.0
redhat newlib = all newlib versions prior to 3.3.0 No fix listed

References