CVE-2019-14876
Medium
Description
In the __lshift 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 to b1 will trigger a null pointer dereference bug in case of a memory allocation failure.
SeverityMedium
CVSS6.5
Exploit probability—
ProductNewlib
PublishedMar 19, 2020
First seenMar 19, 2020
Weakness typeCWE-476NULL pointer dereference
How to fix
Update
- newlib_project newlib3.3.0 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| newlib_project newlib | v < 3.3.0 | 3.3.0 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.