CVE-2019-14876
Last modified
CVE-2019-14876 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. 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.. EPSS estimates a 1.33% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Newlib Project | Newlib | < 3.3.0 |
References
- https://census-labs.com/news/2020/01/31/multiple-null-pointer-dereference-vulnerabilities-in-newlib/Exploit, Third Party Advisory
- https://census-labs.com/news/2020/01/31/multiple-null-pointer-dereference-vulnerabilities-in-newlib/Exploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2019-14876?
How severe is CVE-2019-14876?
How do I fix CVE-2019-14876?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2019
- CVE-2019-14870All Samba versions 4.x.x before 4.9.17, 4.10.x before 4.10.1…5.4
- CVE-2019-14871The REENT_CHECK macro (see newlib/libc/include/sys/reent.h) …6.5
- CVE-2019-14872The _dtoa_r function of the newlib libc library, prior to ve…6.5
- CVE-2019-14873In the __multadd function of the newlib libc library, prior …6.5
- CVE-2019-14874In the __i2b function of the newlib libc library, all versio…6.5
- CVE-2019-14875In the __multiply function of the newlib libc library, all v…6.5
- CVE-2019-14877In the __mdiff function of the newlib libc library, all vers…6.5
- CVE-2019-14878In the __d2b function of the newlib libc library, all versio…6.5
- CVE-2019-14879A vulnerability was found in Moodle versions 3.7.x before 3.…5.4
- CVE-2019-1488A security feature bypass vulnerability exists when Microsof…3.3
- CVE-2019-14880A vulnerability was found in Moodle versions 3.7 before 3.7.…9.1
- CVE-2019-14881A vulnerability was found in moodle 3.7 before 3.7.3, where …6.1
Are you affected by CVE-2019-14876?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
