Vulnerabilities · 2019 · Newlib Project
CVE-2019-14877
Newlib Project Newlib vulnerability
In the __mdiff function of the newlib libc library, all versions prior to 3.3.0 (see newlib/libc/stdlib/mprec.c), Balloc is used to allocate big integers, however no check is performed to verify if the allocation succeeded or not. The access to _wds and _sign will trigger a null pointer dereference bug in case of a memory allocation failure.
Affected products
Newlib. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Newlib Project Newlib runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
More vulnerabilities in Newlib Project products
CVE-2024-30949CVE-2021-3420CVE-2019-14878CVE-2019-14876CVE-2019-14875CVE-2019-14874CVE-2019-14873CVE-2019-14872All 10
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.