# CVE-2021-31872: An issue was discovered in klibc before 2.0.9.

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.12%, higher than 82% of CVEs (2026-12-01)
- Published: 2021-04-30T05:19:04.000Z
- Modified: 2026-06-17T03:52:23.137Z
- Weaknesses: CWE-190
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- klibc_project klibc: before 2.0.9
- debian debian_linux: 9.0

## Every score

- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://kernel.org/pub/linux/libs/klibc/2.0/> (release-notes, third-party-advisory)
- <https://lists.zytor.com/archives/klibc/2021-April/004593.html> (mailing-list, release-notes, third-party-advisory)
- <https://git.kernel.org/pub/scm/libs/klibc/klibc.git/commit/?id=9b1c91577aef7f2e72c3aa11a27749160bd278ff> (patch, third-party-advisory)
- <http://www.openwall.com/lists/oss-security/2021/04/30/1> (mailing-list, release-notes, third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2021/06/msg00025.html> (mailing-list, third-party-advisory)

## Sources

- CVE List: [CVE-2021-31872](https://www.cve.org/CVERecord?id=CVE-2021-31872), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-31872](https://nvd.nist.gov/vuln/detail/CVE-2021-31872), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-31872 · Whole record: https://cve.day/CVE-2021-31872.json · Rebuilt by cve.day 2026-11-25T22:58:01.117Z
