# CVE-2019-14876: 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…

- Severity: Medium 6.5 (CVSS:3.0, scored by redhat) `CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.49%, higher than 74% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2020-03-19T15:08:25.000Z
- Modified: 2026-06-17T02:19:13.477Z
- Weaknesses: CWE-476
- Assigned by: redhat

## Description

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.

(As written by CVE List.)

## Affected

- Red Hat newlib: all newlib versions prior to 3.3.0
- newlib_project newlib: before 3.3.0

## Every score

- redhat: CVSS:3.0 6.5 Medium `CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 4.0 Medium `AV:N/AC:L/Au:S/C:N/I:N/A:P`

## References

- <https://census-labs.com/news/2020/01/31/multiple-null-pointer-dereference-vulnerabilities-in-newlib/> (exploit, third-party-advisory)

## Sources

- CVE List: [CVE-2019-14876](https://www.cve.org/CVERecord?id=CVE-2019-14876), CVE Terms of Use, modified 2024-08-05
- NVD: [CVE-2019-14876](https://nvd.nist.gov/vuln/detail/CVE-2019-14876), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2019-14876 · Whole record: https://cve.day/CVE-2019-14876.json · Rebuilt by cve.day 2026-11-25T22:57:49.647Z
