CWE
476
Advisory Published
Updated

CVE-2019-14876: Null Pointer Dereference

First published: Thu Mar 19 2020(Updated: )

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.

Credit: secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
Newlib Project Newlib<3.3.0

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2019-14876?

    CVE-2019-14876 is categorized as a medium severity vulnerability due to potential null pointer dereference issues.

  • How do I fix CVE-2019-14876?

    To mitigate CVE-2019-14876, upgrade Newlib to version 3.3.0 or later, where the allocation check is properly implemented.

  • What systems are affected by CVE-2019-14876?

    CVE-2019-14876 affects all versions of Newlib prior to 3.3.0.

  • What type of vulnerability is CVE-2019-14876?

    CVE-2019-14876 is a null pointer dereference vulnerability within the __lshift function of the Newlib libc library.

  • Is CVE-2019-14876 exploitable in production environments?

    Yes, if an application uses Newlib versions prior to 3.3.0, CVE-2019-14876 may be exploitable, potentially leading to application crashes.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203