# CVE-2021-31872

- Priority: **Prioritise**
- Reason: Severe, CVSS 9.8 (NVD); no exploitation reported by the 5 checked sources; EPSS 2% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2021-04-30 · Modified: 2024-08-03
- Aliases: UBUNTU-CVE-2021-31872, DEBIAN-CVE-2021-31872, ALPINE-CVE-2021-31872
- Record: https://cvemate.com/vulnerability/CVE-2021-31872 · JSON: https://cvemate.com/vulnerability/CVE-2021-31872/json

## Description

```text
An issue was discovered in klibc before 2.0.9. Multiple possible integer overflows in the cpio command on 32-bit systems may result in a buffer overflow or other security impact.
```

## Signals

- CVSS: 9.8 critical (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 2.117%, percentile 82.468%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine klibc (Alpine Linux): \< 2.0.9-r0
- debian klibc (Debian): \< 2.0.8-6
- ubuntu klibc (Ubuntu): \< 2.0.3-0ubuntu1.14.04.3+esm2 \| \< 2.0.4-8ubuntu1.16.04.4+esm1 \| \< 2.0.4-9ubuntu2.1 \| \< 2.0.7-1ubuntu5.1
- debian debian\_linux: 9.0
- klibc\_project klibc: \< 2.0.9

## References

- <https://kernel.org/pub/linux/libs/klibc/2.0/>
- <https://lists.zytor.com/archives/klibc/2021-April/004593.html>
- <https://git.kernel.org/pub/scm/libs/klibc/klibc.git/commit/?id=9b1c91577aef7f2e72c3aa11a27749160bd278ff>
- <http://www.openwall.com/lists/oss-security/2021/04/30/1>
- <https://lists.debian.org/debian-lts-announce/2021/06/msg00025.html>
- <https://ubuntu.com/security/CVE-2021-31872>
- <https://ubuntu.com/security/notices/USN-5379-1>
- <https://www.cve.org/CVERecord?id=CVE-2021-31872>
- <https://security-tracker.debian.org/tracker/CVE-2021-31872>
- <https://security.alpinelinux.org/vuln/CVE-2021-31872>

---

Data as of 2026-12-05T06:07:56.779Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
