CVE-2019-14876

See a problem?
Source
https://nvd.nist.gov/vuln/detail/CVE-2019-14876
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-14876.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2019-14876
Published
2020-03-19T16:15:13Z
Modified
2024-06-04T05:19:13.639291Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Debian:11 / picolibc

Package

Name
picolibc
Purl
pkg:deb/debian/picolibc?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*

1.5.1-2
1.6-1
1.6.1-1
1.6.2-1
1.7-1
1.7.1-1
1.7.2-1
1.7.2-2
1.7.3-1
1.7.3-2
1.7.4-1
1.7.5-1
1.7.6-1
1.7.7-1
1.7.8-1
1.7.9-1
1.8-1
1.8.1-1
1.8.2-1
1.8.2-2
1.8.4-1
1.8.5-1
1.8.5-2
1.8.6-1
1.8.6-2

Ecosystem specific

{
    "urgency": "unimportant"
}

Debian:12 / picolibc

Package

Name
picolibc
Purl
pkg:deb/debian/picolibc?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*

1.8-1
1.8.1-1
1.8.2-1
1.8.2-2
1.8.4-1
1.8.5-1
1.8.5-2
1.8.6-1
1.8.6-2

Ecosystem specific

{
    "urgency": "unimportant"
}

Debian:13 / picolibc

Package

Name
picolibc
Purl
pkg:deb/debian/picolibc?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*

1.8-1
1.8.1-1
1.8.2-1
1.8.2-2
1.8.4-1
1.8.5-1
1.8.5-2
1.8.6-1
1.8.6-2

Ecosystem specific

{
    "urgency": "unimportant"
}

Git / github.com/bminor/newlib

Affected ranges

Type
GIT
Repo
https://github.com/bminor/newlib
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

Other

binu_ss_19990502
cygwin-2_0_0-release
cygwin-2_0_1-release
cygwin-2_0_2-release
cygwin-2_0_3-release
cygwin-2_0_4-release
cygwin-2_10_0-release
cygwin-2_11_0-release
cygwin-2_11_1-release
cygwin-2_11_2-release
cygwin-2_1_0-release
cygwin-2_2_0-release
cygwin-2_2_1-release
cygwin-2_3_0-release
cygwin-2_3_1-relase
cygwin-2_3_1-release
cygwin-2_4_0-release
cygwin-2_4_1-release
cygwin-2_5_0-release
cygwin-2_5_1-release
cygwin-2_5_2-release
cygwin-2_6_0-release
cygwin-2_6_1-release
cygwin-2_7_0-release
cygwin-2_8_0-release
cygwin-2_8_1-release
cygwin-2_8_2-release
cygwin-2_9_0-release
cygwin-3_0_0-release
cygwin-3_0_1-release
cygwin-3_0_2-release
cygwin-3_0_3-release
cygwin-3_0_4-release
cygwin-3_1_0-release
cygwin-3_1_1-release
cygwin-3_1_2-release
newlib-2_3_0
newlib-2_4_0
newlib-2_5_0
newlib-snapshot-20150323
newlib-snapshot-20150423
newlib-snapshot-20150526
newlib-snapshot-20150623
newlib-snapshot-20150723
newlib-snapshot-20150824
newlib-snapshot-20150924
newlib-snapshot-20151023
newlib-snapshot-20160104
newlib-snapshot-20160226
newlib-snapshot-20160527
newlib-snapshot-20160923
newlib-snapshot-20170228
newlib-snapshot-20170323
newlib-snapshot-20170421
newlib-snapshot-20170519
newlib-snapshot-20170623
newlib-snapshot-20170720
newlib-snapshot-20170818
newlib-snapshot-20170922
newlib-snapshot-20171222
newlib-snapshot-20180118
newlib-snapshot-20180226
newlib-snapshot-20180720
newlib-snapshot-20180802
newlib-snapshot-20180831
newlib-snapshot-20181231
newlib-snapshot-20200102

newlib-3.*

newlib-3.0.0
newlib-3.1.0
newlib-3.2.0