An issue was discovered in klibc before 2.0.9. An integer overflow in the cpio command may result in a NULL pointer dereference on 64-bit systems.
Conclusion & alert: CVE-2021-31871 is rated Moderate Risk (59.6/100): CVSS High severity, with medium exploitation likelihood (EPSS 1.89%). Mandatory action: Review affected assets and schedule 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-10 | 1.59% | 1.89% | +0.30% |
| 2 | 2025-11-21 | 1.09% | 1.59% | +0.50% |
| 3 | 2025-11-18 | — | 1.09% | — |
Full EPSS history (16 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 7.5 | 3.1 | HIGH |
|
3.9 | 3.6 | [email protected] |
| 5.0 | 2.0 | MEDIUM |
|
10.0 | 2.9 | [email protected] |
| vendor | priority | summary | link |
|---|---|---|---|
alpine
|
high | CVE-2021-31871: 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-31871 |
debian
|
not yet assigned | CVE-2021-31871 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-31871 |
ubuntu
|
low | CVE-2021-31871 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-31871 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| klibc_project | klibc | < 2.0.9 | cpe:2.3:a:klibc_project:klibc:*:*:*:*:*:*:x64:* |
| 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=2e48a12ab1e30d43498c2d53e878a11a1b5102d5 | Patch 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.html | Mailing List Third Party Advisory |
| https://lists.zytor.com/archives/klibc/2021-April/004593.html | Mailing List Release Notes Third Party Advisory |