CVE-2019-14878: Null Pointer Dereference
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 Software
Event History
Frequently Asked Questions
What is the severity of CVE-2019-14878?
CVE-2019-14878 has a moderate severity level due to the potential for null pointer dereference.
How do I fix CVE-2019-14878?
To fix CVE-2019-14878, upgrade Newlib to version 3.3.0 or later where the vulnerability has been addressed.
What software is affected by CVE-2019-14878?
CVE-2019-14878 affects all versions of Newlib prior to 3.3.0.
What is the impact of CVE-2019-14878?
The impact of CVE-2019-14878 is a possible null pointer dereference leading to application crashes.
Is CVE-2019-14878 an exploitable vulnerability?
CVE-2019-14878 could be considered exploitable under specific conditions where a failed memory allocation is not handled.