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

No history.

cve-icon MITRE Information

Status: PUBLISHED

Assigner: redhat

Published: 2020-03-19T15:04:15

Updated: 2020-03-19T15:04:15

Reserved: 2019-08-10T00:00:00


Link: CVE-2019-14877

JSON object: View

cve-icon NVD Information

Status : Analyzed

Published: 2020-03-19T16:15:13.877

Modified: 2020-03-24T17:53:21.280


Link: CVE-2019-14877

JSON object: View

cve-icon Redhat Information

No data.

CWE