CVE-2019-14878
Published: 19 March 2020
In the __d2b 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. Accessing _x will trigger a null pointer dereference bug in case of a memory allocation failure.
Notes
| Author | Note |
|---|---|
| eslerm | fix in newlib-3.2.0 on 2019-10-04 wtih f88aece24 ("Prevent NULL ptr accesses due to Balloc out of memory") |
Priority
Status
| Package | Release | Status |
|---|---|---|
|
gcc-snapshot Launchpad, Ubuntu, Debian |
bionic |
Not vulnerable
(code not present)
|
| focal |
Ignored
(end of life, was needs-triage)
|
|
| jammy |
Ignored
(end of life, was needs-triage)
|
|
| lunar |
Not vulnerable
(code not present)
|
|
| mantic |
Not vulnerable
(code not present)
|
|
| noble |
Not vulnerable
(code not present)
|
|
| trusty |
Ignored
(end of standard support)
|
|
| upstream |
Not vulnerable
(code not present)
|
|
| xenial |
Not vulnerable
(code not present)
|
|
|
newlib Launchpad, Ubuntu, Debian |
bionic |
Needed
|
| eoan |
Ignored
(end of life)
|
|
| focal |
Ignored
(end of life, was needs-triage)
|
|
| groovy |
Ignored
(end of life)
|
|
| hirsute |
Ignored
(end of life)
|
|
| impish |
Ignored
(end of life)
|
|
| jammy |
Ignored
(end of life, was needs-triage)
|
|
| kinetic |
Ignored
(end of life, was needs-triage)
|
|
| lunar |
Not vulnerable
(3.3.0-1.3)
|
|
| mantic |
Not vulnerable
(3.3.0-1.3)
|
|
| noble |
Not vulnerable
(3.3.0-1.3)
|
|
| trusty |
Does not exist
|
|
| upstream |
Released
(3.3.0)
|
|
| xenial |
Needed
|
Severity score breakdown
| Parameter | Value |
|---|---|
| Base score | 6.5 |
| Attack vector | Network |
| Attack complexity | Low |
| Privileges required | Low |
| User interaction | None |
| Scope | Unchanged |
| Confidentiality | None |
| Integrity impact | None |
| Availability impact | High |
| Vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |