{"id":"CVE-2019-14876","aliases":["CVE-2019-14876"],"related":[],"kind":"vulnerability","state":"published","title":"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…","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"En la función __lshift de la biblioteca newlib libc, todas las versiones anteriores a 3.3.0 (ver el archivo newlib/libc/stdlib/mprec.c), Balloc es utilizado para asignar un entero grande, sin embargo, ninguna comprobación es realizada para verificar si la asignación tuvo éxito o no. El acceso a b1 activará un bug de desreferencia del puntero null en caso de un fallo de asignación de la memoria.","source":"nvd"}],"published":"2020-03-19T15:08:25.000Z","modified":"2026-06-17T02:19:13.477Z","severity":{"scorer":"redhat","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"redhat","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":6.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":6.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:S/C:N/I:N/A:P","score":4,"rating":"MEDIUM"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"version":"all newlib versions prior to 3.3.0","status":"affected"}],"vendor":"Red Hat","product":"newlib","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"3.3.0"}],"vendor":"newlib_project","product":"newlib","cpe":"cpe:2.3:a:newlib_project:newlib:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://census-labs.com/news/2020/01/31/multiple-null-pointer-dereference-vulnerabilities-in-newlib/","tags":["exploit","third-party-advisory","x-refsource-confirm","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"redhat","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2019-14876","url":"https://www.cve.org/CVERecord?id=CVE-2019-14876","licence":"CVE Terms of Use","modified":"2024-08-05T00:26:39.129Z"},{"source":"nvd","name":"NVD","id":"CVE-2019-14876","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-14876","licence":"Public domain","modified":"2026-06-17T02:19:13.477Z"}],"updatedAt":"2026-11-25T22:57:49.647Z","epss":{"score":0.01492,"percentile":0.74909,"date":"2026-12-02T12:00:21.000Z"}}