{"id":"CVE-2019-14874","aliases":["DEBIAN-CVE-2019-14874","EUVD-2019-5989","GHSA-wc8v-w7xh-26xj","UBUNTU-CVE-2019-14874"],"status":"published","title":"In the __i2b function of the newlib libc library, all versions prior to 3.3.0 (see newlib/libc...","description":"In the __i2b 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.","severity":{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.01492,"percentile":0.74309,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-476"],"published":"2020-03-19T15:07:52Z","modified":"2026-09-21T07:02:10Z","fixes":[{"ecosystem":"Debian:12","package":"newlib","fixed_in":["3.3.0-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"newlib","fixed_in":["3.3.0-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"newlib","fixed_in":["3.3.0-1"],"sources":["osv"]},{"ecosystem":"Debian:12","package":"picolibc","fixed_in":["1.4.3-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"picolibc","fixed_in":["1.4.3-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"picolibc","fixed_in":["1.4.3-1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"newlib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.3.0-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"newlib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.3.0-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"newlib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.3.0-1"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"picolibc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.3-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"picolibc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.3-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"picolibc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.3-1"}]}]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"newlib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.1.0+git20141201.db59ff3-2","2.2.0+git20150830.5a3d536-1"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"newlib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.4.0.20160527-2","2.4.0.20160527-3","2.4.0.20160527-3ubuntu0.1"]}],"products":[{"vendor":"newlib_project","product":"newlib"},{"vendor":"red hat","product":"newlib"}],"references":[{"url":"https://census-labs.com/news/2020/01/31/multiple-null-pointer-dereference-vulnerabilities-in-newlib/","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Third Party Advisory","evidence","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-14874"},{"url":"https://github.com/advisories/GHSA-wc8v-w7xh-26xj"},{"url":"https://security-tracker.debian.org/tracker/CVE-2019-14874","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2019-14874","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2019-14874","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2019-14874","description":"In the __i2b 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.","status":"published","published":"2020-03-19T15:07:52Z","modified":"2024-08-05T00:26:39.142Z","cvss":[{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium","assessor":"cna"}],"cwes":["CWE-476"],"updated_at":"2026-11-02T14:20:17.722148Z"}],"euvd":[{"id":"EUVD-2019-5989","description":"In the __i2b 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.","status":"published","published":"2020-03-19T15:07:52Z","modified":"2024-08-05T00:26:39Z","cvss":[{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-03T02:40:38.166988Z"}],"ghsa":[{"id":"GHSA-wc8v-w7xh-26xj","title":"In the __i2b function of the newlib libc library, all versions prior to 3.3.0 (see newlib/libc...","description":"In the __i2b 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.","status":"published","published":"2022-05-24T17:11:52Z","modified":"2023-01-29T05:02:04Z","updated_at":"2026-11-02T14:44:59.173471Z"}],"nvd":[{"id":"CVE-2019-14874","description":"In the __i2b 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.","status":"published","published":"2020-03-19T16:15:13.127Z","modified":"2026-06-17T02:19:13.227Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary"},{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium","assessor":"secondary"},{"version":"2.0","score":4,"vector":"AV:N/AC:L/Au:S/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-476"],"updated_at":"2026-11-02T14:05:45.254119Z"}],"osv":[{"id":"CVE-2019-14874","description":"In the __i2b 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.","status":"published","published":"2020-03-19T16:15:13.127Z","modified":"2026-03-14T09:32:51.189026Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:44:11.361782Z"},{"id":"DEBIAN-CVE-2019-14874","description":"In the __i2b 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.","status":"published","published":"2020-03-19T16:15:13.127Z","modified":"2026-09-21T07:02:10.235596307Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:45:31.867036Z"},{"id":"UBUNTU-CVE-2019-14874","description":"In the __i2b 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.","status":"published","published":"2020-03-19T16:15:00Z","modified":"2026-04-22T12:11:57.987694Z","cvss":[{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:54:19.6877Z"}]}}
