CVE-2019-14875NULL Pointer Dereference in Project Newlib

Severity
6.5MEDIUMNVD
EPSS
0.4%
top 39.24%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedMar 19
Latest updateMay 24

Description

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 vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitability: 2.8 | Impact: 3.6

Affected Packages5 packages

debiandebian/newlib< newlib 3.3.0-1 (bookworm)
debiandebian/picolibc< newlib 3.3.0-1 (bookworm)
Debiannewlib_project/newlib< 3.3.0-1+3
CVEListV5red_hat/newliball newlib versions prior to 3.3.0

🔴Vulnerability Details

2
GHSA
GHSA-6frq-6c2m-fj8m: In the __multiply function of the newlib libc library, all versions prior to 32022-05-24
OSV
CVE-2019-14875: In the __multiply function of the newlib libc library, all versions prior to 32020-03-19

📋Vendor Advisories

1
Debian
CVE-2019-14875: newlib - In the __multiply function of the newlib libc library, all versions prior to 3.3...2019