CVE-2021-31870

CRITICAL

klibc < 2.0.9 - Integer Overflow to Heap Buffer Overflow in calloc()

Title source: llm
STIX 2.1

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.

References (5)

Core 5
Core References
Release Notes, Third Party Advisory x_refsource_misc
https://kernel.org/pub/linux/libs/klibc/2.0/
Mailing List, Release Notes, Third Party Advisory x_refsource_misc
https://lists.zytor.com/archives/klibc/2021-April/004593.html
Mailing List, Release Notes, Third Party Advisory mailing-list x_refsource_mlist
http://www.openwall.com/lists/oss-security/2021/04/30/1
Mailing List, Third Party Advisory mailing-list x_refsource_mlist
https://lists.debian.org/debian-lts-announce/2021/06/msg00025.html

Scores

CVSS v3 9.8
EPSS 0.0206
EPSS Percentile 78.8%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-190
Status published
Products (2)
debian/debian_linux 9.0
klibc_project/klibc < 2.0.9
Published Apr 30, 2021
Tracked Since Feb 18, 2026