CVE-2019-14875: Null Pointer Dereference
Published Mar 19, 2020
·Updated
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 Software
1 affected component
Newlib Project Newlib<3.3.0
Event History
Mar 19, 2020
CVE Published
via MITRE·03:08 PM
Data Sourced
via MITRE·03:08 PM
DescriptionSeverityWeakness
Frequently Asked Questions
1
What is the severity of CVE-2019-14875?
The severity of CVE-2019-14875 is rated as medium with a CVSS score of 6.5.
2
How can I fix CVE-2019-14875?
To fix CVE-2019-14875, users should update to newlib libc library version 3.3.0 or later.
3
What software versions are affected by CVE-2019-14875?
CVE-2019-14875 affects all versions of newlib libc library prior to 3.3.0.
4
What is the CWE associated with CVE-2019-14875?
The CWE associated with CVE-2019-14875 is CWE-476.