SecurityContext

CVE-2021-31870: klibc - Integer Overflow

  • Cve: CVE-2021-31870
  • Name: klibc - Integer Overflow
  • Description: An issue was discovered in klibc before 2.0.9. Multiplication in the calloc() function may result in an integer overflow and a subsequent heap buffer overflow.
  • Impact: Attackers can cause heap corruption leading to potential arbitrary code execution or denial of service.
  • Remediation: Update to version 2.0.9 or later.
  • Vulnerability type: integer_overflow
  • Vulnerability impact: remote_code_execution, denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.02076
  • Epss percentile: 0.81858
  • Assignee: [email protected]
  • Published at: 2021-04-30T06:15:07Z
  • Age in days: 2034
  • Modified at: 2026-06-17T03:52:22Z
  • Patch available: yes
  • References total: 5
  • Products total: 2
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-31870
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-190Integer Overflow or Wraparound

References

Same in every row:

  • Source: nvd
UrlTags
https://git.kernel.org/pub/scm/libs/klibc/klibc.git/commit/?id=292650f04c2b5348b4efbad61fb014ed09b4f3f2Patch, Third Party Advisory
http://www.openwall.com/lists/oss-security/2021/04/30/1Mailing List, Release Notes, Third Party Advisory
https://kernel.org/pub/linux/libs/klibc/2.0/Release Notes, Third Party Advisory
https://lists.debian.org/debian-lts-announce/2021/06/msg00025.htmlMailing List, Third Party Advisory
https://lists.zytor.com/archives/klibc/2021-April/004593.htmlMailing List, Release Notes, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
klibc_project:klibc< 2.0.9nonvd/v1/products/klibc_project/klibc
debian:debian_linux= 9.0nonvd/v1/products/debian/debian_linux

Index

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

Exploitation

  • Remote: yes
  • Exposed hosts: 4739835
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports