NULL pointer dereference in Newlib Project
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 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.
EPSS: 0.013 (67.4th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.
Affected products
- Newlib_project Newlib
- Red Hat Newlib — versions all newlib versions prior to 3.3.0
Weakness classification (CWE)
References
- secalert@redhat.com (x_refsource_CONFIRM, Exploit, Third Party Advisory)
Frequently asked questions
- What is CVE-2019-14875?
- CVE-2019-14875 is a medium-severity vulnerability in Newlib Project, classified under NULL Pointer Dereference. CVSS score: 6.5/10. Published 2020-03-19.
- How severe is CVE-2019-14875?
- Medium severity. CVSS v3 base score is 6.5 out of 10.