Newlib Project Newlib vulnerabilities

11 known vulnerabilities affecting newlib_project/newlib.

Total CVEs
11
CISA KEV
0
Public exploits
0
Exploited in wild
0
Severity breakdown
CRITICAL2MEDIUM9

Vulnerabilities

Page 1 of 1
CVE-2024-30949CRITICALCVSS 9.8v4.3.02024-08-20
CVE-2024-30949 [CRITICAL] CWE-190 CVE-2024-30949: An issue in newlib v.4.3.0 allows an attacker to execute arbitrary code via the time unit scaling in An issue in newlib v.4.3.0 allows an attacker to execute arbitrary code via the time unit scaling in the _gettimeofday function.
nvdosv
CVE-2021-3420CRITICALCVSS 9.8fixed in 4.0.0vnewlib versions prior to 4.0.02021-03-05
CVE-2021-3420 [CRITICAL] CWE-190 CVE-2021-3420: A flaw was found in newlib in versions prior to 4.0.0. Improper overflow validation in the memory al A flaw was found in newlib in versions prior to 4.0.0. Improper overflow validation in the memory allocation functions mEMALIGn, pvALLOc, nano_memalign, nano_valloc, nano_pvalloc could case an integer overflow, leading to an allocation of a small buffer and then to a heap-based buffer overflow.
nvdosv
CVE-2019-14878MEDIUMCVSS 6.5fixed in 3.3.02020-03-19
CVE-2019-14878 [MEDIUM] CWE-476 CVE-2019-14878: In the __d2b function of the newlib libc library, all versions prior to 3.3.0 (see newlib/libc/stdli In the __d2b 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. Accessing _x will trigger a null pointer dereference bug in case of a memory allocation failure.
nvdosv
CVE-2019-14876MEDIUMCVSS 6.5fixed in 3.3.02020-03-19
CVE-2019-14876 [MEDIUM] CWE-476 CVE-2019-14876: In the __lshift function of the newlib libc library, all versions prior to 3.3.0 (see newlib/libc/st 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.
nvdosv
CVE-2019-14875MEDIUMCVSS 6.5fixed in 3.3.02020-03-19
CVE-2019-14875 [MEDIUM] CWE-476 CVE-2019-14875: In the __multiply function of the newlib libc library, all versions prior to 3.3.0 (see newlib/libc/ 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.
nvdosv
CVE-2019-14873MEDIUMCVSS 6.5fixed in 3.3.02020-03-19
CVE-2019-14873 [MEDIUM] CWE-476 CVE-2019-14873: In the __multadd function of the newlib libc library, prior to versions 3.3.0 (see newlib/libc/stdli In the __multadd function of the newlib libc library, prior to versions 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. This will trigger a null pointer dereference bug in case of a memory allocation failure.
nvdosv
CVE-2019-14872MEDIUMCVSS 6.5fixed in 3.3.02020-03-19
CVE-2019-14872 [MEDIUM] CWE-476 CVE-2019-14872: The _dtoa_r function of the newlib libc library, prior to version 3.3.0, performs multiple memory al The _dtoa_r function of the newlib libc library, prior to version 3.3.0, performs multiple memory allocations without checking their return value. This could result in NULL pointer dereference.
nvdosv
CVE-2019-14874MEDIUMCVSS 6.5fixed in 3.3.02020-03-19
CVE-2019-14874 [MEDIUM] CWE-476 CVE-2019-14874: In the __i2b function of the newlib libc library, all versions prior to 3.3.0 (see newlib/libc/stdli 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.
nvdosv
CVE-2019-14877MEDIUMCVSS 6.5fixed in 3.3.02020-03-19
CVE-2019-14877 [MEDIUM] CWE-476 CVE-2019-14877: In the __mdiff function of the newlib libc library, all versions prior to 3.3.0 (see newlib/libc/std 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.
nvdosv
CVE-2019-14871MEDIUMCVSS 6.5fixed in 3.3.02020-03-18
CVE-2019-14871 [MEDIUM] CWE-476 CVE-2019-14871: The REENT_CHECK macro (see newlib/libc/include/sys/reent.h) as used by REENT_CHECK_TM, REENT_CHECK_M The REENT_CHECK macro (see newlib/libc/include/sys/reent.h) as used by REENT_CHECK_TM, REENT_CHECK_MISC, REENT_CHECK_MP and other newlib macros in versions prior to 3.3.0, does not check for memory allocation problems when the DEBUG flag is unset (as is the case in production firmware builds).
nvdosv
CVE-2015-2305MEDIUMCVSS 6.8≥ 0, < 2.0.0-12015-03-30
CVE-2015-2305 [MEDIUM] CVE-2015-2305: Integer overflow in the regcomp implementation in the Henry Spencer BSD regex library (aka rxspencer) alpha3 Integer overflow in the regcomp implementation in the Henry Spencer BSD regex library (aka rxspencer) alpha3.8.g5 on 32-bit platforms, as used in NetBSD through 6.1.5 and other products, might allow context-dependent attackers to execute arbitrary code via a large regular expression that leads to a heap-based buffer overflow.
osv