CVE-2019-14878

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:newlib_project:newlib:*:*:*:*:*:*:*:*

History

No history.

Information

Published : 2020-03-19 16:15

Updated : 2024-02-28 17:47


NVD link : CVE-2019-14878

Mitre link : CVE-2019-14878

CVE.ORG link : CVE-2019-14878


JSON object : View

Products Affected

newlib_project

  • newlib
CWE
CWE-476

NULL Pointer Dereference