NULL Pointer Dereference Affecting newlib package, versions *


Severity

Recommended
low

Based on Debian security rating.

Threat Intelligence

EPSS
0.1% (43rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about NULL Pointer Dereference vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-DEBIAN9-NEWLIB-543919
  • published1 Feb 2020
  • disclosed19 Mar 2020

Introduced: 1 Feb 2020

CVE-2019-14875  (opens in a new tab)
CWE-476  (opens in a new tab)

How to fix?

There is no fixed version for Debian:9 newlib.

NVD Description

Note: Versions mentioned in the description apply only to the upstream newlib package and not the newlib package as distributed by Debian. See How to fix? for Debian:9 relevant fixed versions and status.

In the __multiply 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 of _x[0] will trigger a null pointer dereference bug in case of a memory allocation failure.

CVSS Scores

version 3.1