An issue was discovered in klibc before 2.0.9. Additions in the malloc() function may result in an integer overflow and a subsequent heap buffer overflow.
Conclusion & alert: CVE-2021-31873 is rated High Risk (67.5/100): CVSS Critical severity, with medium exploitation likelihood (EPSS 2.15%). Mandatory action: High exploitation likelihood—assess exposure and prioritize remediation.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 1.70% | 2.15% | +0.45% |
| 2 | 2026-06-10 | 0.89% | 1.70% | +0.81% |
| 3 | 2025-12-28 | — | 0.89% | — |
Full EPSS history (25 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 9.8 | 3.1 | CRITICAL |
|
3.9 | 5.9 | [email protected] |
| 7.5 | 2.0 | HIGH |
|
10.0 | 6.4 | [email protected] |
| vendor | priority | summary | link |
|---|---|---|---|
alpine
|
critical | CVE-2021-31873: 1 source package rows (klibc); 5 state rows across 5 repos (3.19-community, 3.20-community, 3.21-community, 3.22-community, edge-community); fixed 5, open 0. | https://security.alpinelinux.org/vuln/CVE-2021-31873 |
debian
|
not yet assigned | CVE-2021-31873 not yet assigned priority: Debian including 1 source packages (klibc), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. | https://security-tracker.debian.org/tracker/CVE-2021-31873 |
ubuntu
|
low | CVE-2021-31873 low priority: Ubuntu including 1 source packages (klibc), 9 status rows across 9 suites (bionic, focal, groovy, hirsute, impish, jammy, trusty, upstream, xenial): released 5, ignored 2, not-affected 2. | https://ubuntu.com/security/CVE-2021-31873 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| klibc_project | klibc | < 2.0.9 | cpe:2.3:a:klibc_project:klibc:*:*:*:*:*:*:*:* |
| debian | debian_linux | 9.0 | cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* |
| URL | Tags |
|---|---|
| http://www.openwall.com/lists/oss-security/2021/04/30/1 | Mailing List Release Notes Third Party Advisory |
| https://git.kernel.org/pub/scm/libs/klibc/klibc.git/commit/?id=a31ae8c508fc8d1bca4f57e9f9f88127572d5202 | Patch Third Party Advisory |
| https://github.com/huolinjue/klibc/commit/a31ae8c508fc8d1bca4f57e9f9f88127572d5202 | |
| https://kernel.org/pub/linux/libs/klibc/2.0/ | Release Notes Third Party Advisory |
| https://lists.debian.org/debian-lts-announce/2021/06/msg00025.html | Mailing List Third Party Advisory |
| https://lists.zytor.com/archives/klibc/2021-April/004593.html | Mailing List Release Notes Third Party Advisory |