---
title: "CVE-2019-14876"
canonical_url: "https://pkgseek.com/security/CVE-2019-14876"
locale: "en"
source: "pkgseek"
entity_type: "cve"
severity: "medium"
---

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

CVE-2019-14876 is rated MEDIUM (6.5), with 4 indexed affected package builds across 1 distributions.

- **Severity / Score**: MEDIUM (6.5)
- **Affected builds**: 4
- **Affected distros**: 1
- **Distros with fixed_in**: None recorded in sample

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Debian | trixie | picolibc-aarch64-linux-gnu | 1.8.10-2 | — |
| Debian | trixie | picolibc-arm-none-eabi | 1.8.10-2 | — |
| Debian | trixie | picolibc-riscv64-unknown-elf | 1.8.10-2 | — |
| Debian | trixie | picolibc-xtensa-lx106-elf | 1.8.10-2 | — |
