Null Pointer Dereference in newlib libc Library Affects Multiple Versions
CVE-2019-14877
6.5MEDIUM
What is CVE-2019-14877?
A vulnerability exists in the __mdiff function of the newlib libc library, where prior versions to 3.3.0 do not properly verify successful memory allocation. This oversight can lead to a null pointer dereference when accessing the _wds and _sign variables after a failed allocation, potentially resulting in application crashes or unpredictable behavior.
Affected Version(s)
newlib all newlib versions prior to 3.3.0