p PatchFirst

CVE-2019-14876

CVE-2019-14876

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 6.5 · Medium · EPSS 1.5% · Fix available

Published
Updated

Stack: system

Affected products and versions

  • newlib

    Versions
    • all newlib versions prior to 3.3.0: Affected

    No fix published

  • newlib Debian:12

    Affected ranges
    • ECOSYSTEM: < 3.3.0-1

    Update to 3.3.0-1

  • newlib Debian:13

    Affected ranges
    • ECOSYSTEM: < 3.3.0-1

    Update to 3.3.0-1

  • newlib Debian:14

    Affected ranges
    • ECOSYSTEM: < 3.3.0-1

    Update to 3.3.0-1

  • picolibc Debian:12

    Versions
    • 1.8-1
    • 1.8.1-1
    • 1.8.10-1
    • 1.8.10-2
    • 1.8.10-3
    • 1.8.11-1
    • 1.8.11-2
    • 1.8.11-3
    • 1.8.11-4
    • 1.8.12-1
    • 1.8.2-1
    • 1.8.2-2
    • 1.8.4-1
    • 1.8.5-1
    • 1.8.5-2
    • 1.8.6-1
    • 1.8.6-2
    • 1.8.7-1
    • 1.8.8-1
    • 1.8.8-2
    • 1.8.9-1
    • 1.8.9-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • picolibc Debian:13

    Versions
    • 1.8.10-2
    • 1.8.10-3
    • 1.8.11-1
    • 1.8.11-2
    • 1.8.11-3
    • 1.8.11-4
    • 1.8.12-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • picolibc Debian:14

    Versions
    • 1.8.10-2
    • 1.8.10-3
    • 1.8.11-1
    • 1.8.11-2
    • 1.8.11-3
    • 1.8.11-4
    • 1.8.12-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • newlib Ubuntu:16.04:LTS

    Versions
    • 2.1.0+git20141201.db59ff3-2
    • 2.2.0+git20150830.5a3d536-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • newlib Ubuntu:18.04:LTS

    Versions
    • 2.4.0.20160527-2
    • 2.4.0.20160527-3
    • 2.4.0.20160527-3ubuntu0.1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →