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

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published: 2020-03-19T15:08:25

Updated: 2024-08-05T00:26:39.129Z

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

Link: CVE-2019-14876

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

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

Modified: 2024-11-21T04:27:34.740

Link: CVE-2019-14876

cve-icon Redhat

No data.