CVE-2021-31871: An issue was discovered in klibc before 2.0.9
CVE-2021-31871 is a high-severity flaw (CVSS 7.5) affecting klibc, debian linux. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- High severity
- Remotely exploitable, no login, no user action
- On your watchlist
A fixed release or distro patch exists.
Risk facts
| CVSS score | 7.5 (High) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 1.9% (top 21%) |
| CISA exploited list | No |
| Weakness | CWE-190 |
| Published | 2021-04-30 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2021-31871?
klibc: upgrade to 2.0.9; debian linux: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2021-31871 being exploited?
CVE-2021-31871 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2021-31871 affect?
CVE-2021-31871 affects klibc, debian linux. Severity is high (CVSS 7.5). 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.
How urgent is CVE-2021-31871?
Priority 56/100. High severity; Remotely exploitable, no login, no user action; On your watchlist
Software pages
Related CVEs
- CVE-2021-31873 CRITICAL 9.8 UPGRADE MITIGATE An issue was discovered in klibc before 2.0.9
- CVE-2021-31872 CRITICAL 9.8 UPGRADE MITIGATE An issue was discovered in klibc before 2.0.9
- CVE-2021-31870 CRITICAL 9.8 UPGRADE MITIGATE An issue was discovered in klibc before 2.0.9
- CVE-2011-1930 CRITICAL 9.8 UPGRADE MITIGATE In klibc 1.5.20 and 1.5.21, the DHCP options written by ipconfig to /tmp/net-$DEVICE.conf are not properly esc