CVE-2019-14877 MEDIUM

CVE-2019-14877

Vendor Red Hat
Product newlib
Weakness CWE-476
Published March 19, 2020
Last update August 5, 2024

CVSS base score

6.5/10
Attack vector Network
Attack complexity Low
Privileges required Low
User interaction None
Confidentiality None
Integrity None

CVSS vector

CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

What the vulnerability does

01Description

In the __mdiff function of the newlib libc library, all versions prior to 3.3.0 (see newlib/libc/stdlib/mprec.c), Balloc is used to allocate big integers, however no check is performed to verify if the allocation succeeded or not. The access to _wds and _sign will trigger a null pointer dereference bug in case of a memory allocation failure.

Key dates

02Disclosure timeline

March 19, 2020 CVE published
August 5, 2024 Record updated