SecurityContext

CVE-2019-14877: newlib - Null Pointer Dereference

  • Cve: CVE-2019-14877
  • Name: newlib - Null Pointer Dereference
  • Description: 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.
  • Impact: Memory allocation failure can lead to application crash or denial of service due to null pointer dereference.
  • Remediation: Update to version 3.3.0 or later where the issue is fixed.
  • Vulnerability type: null_pointer_dereference
  • Vulnerability impact: denial_of_service
  • Requirements: Exploit requires memory allocation failure.
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 6.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
  • Epss score: 0.01295
  • Epss percentile: 0.71083
  • Assignee: [email protected]
  • Published at: 2020-03-19T16:15:13Z
  • Age in days: 2441
  • Modified at: 2026-06-17T02:19:13Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 1
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2019-14877
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
  • Not known: requirement type, hackerone

Cwe

IdName
CWE-476NULL Pointer Dereference

Public exploits

UrlSourceAdded date
https://census-labs.com/news/2020/01/31/multiple-null-pointer-dereference-vulnerabilities-in-newlib/nvd2020-03-19

References

UrlSourceTags
https://census-labs.com/news/2020/01/31/multiple-null-pointer-dereference-vulnerabilities-in-newlib/nvdExploit, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
newlib_project:newlib< 3.3.0nonvd/v1/products/newlib_project/newlib

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2020-03-19
  • Remote: yes
  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts