CriticalFix available
klibc — security advisory
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.
- Products
- klibc
- Affected versions
- Not specified
- Fixed versions
- 2.0.8-6
- CVEs
- CVE-2021-31872
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 00:23 UTC · Revision 1
Source evidence
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.
osv:DEBIAN-CVE-2021-31872
klibc
Fixed versions: 2.0.8-6
klibc
Fixed versions: 2.0.8-6
klibc
Fixed versions: 2.0.8-6
Complete source record
{
"id": "064463192150aed5f4462f47853b55414d0b0dc8963d979f40c6eeb624389bd2",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2021-31872",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2021-31872",
"summary": "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.",
"evidence": "osv:DEBIAN-CVE-2021-31872",
"products": [
{
"name": {
"value": "klibc",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.0.8-6",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "klibc",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.0.8-6",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "klibc",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.0.8-6",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": []
}
],
"severity": "critical",
"structured": {
"id": "DEBIAN-CVE-2021-31872",
"aliases": [
"DEBIAN-CVE-2021-31872"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.0.8-6"
}
]
}
],
"package": {
"name": "klibc",
"purl": "pkg:deb/debian/klibc?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-31872.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.0.8-6"
}
]
}
],
"package": {
"name": "klibc",
"purl": "pkg:deb/debian/klibc?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-31872.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.0.8-6"
}
]
}
],
"package": {
"name": "klibc",
"purl": "pkg:deb/debian/klibc?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-31872.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-23T18:03:14.697009524Z",
"provider": "osv",
"upstream": [
"CVE-2021-31872"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2021-31872"
]
},
"related_cves": [
{
"value": "CVE-2021-31872",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 420929,
"published_at": "2021-04-30T06:15:07.313+00:00"
}