Skip to content

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

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

Description

In the __multiply 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.

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
newlib project newlib < 3.3.0 3.3.0
redhat newlib = all newlib versions prior to 3.3.0 No fix listed

References