Vulnerability Description
In the __i2b 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Newlib Project | Newlib | < 3.3.0 |
Related Weaknesses (CWE)
References
- https://census-labs.com/news/2020/01/31/multiple-null-pointer-dereference-vulnerExploitThird Party Advisory
- https://census-labs.com/news/2020/01/31/multiple-null-pointer-dereference-vulnerExploitThird Party Advisory
FAQ
What is CVE-2019-14874?
CVE-2019-14874 is a vulnerability with a CVSS score of 6.5 (MEDIUM). In the __i2b 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...
How severe is CVE-2019-14874?
CVE-2019-14874 has been rated MEDIUM with a CVSS base score of 6.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2019-14874?
Check the references section above for vendor advisories and patch information. Affected products include: Newlib Project Newlib.