CVE catalog

CVE-2021-31872

klibc: CVE-2021-31872

[CVE catalog]

Severity
Medium
Published
Source
[NVD] · [CVE record]
EPSS
2.08% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianklibcsid2.0.14-1fixed
Debianklibcforky2.0.14-1fixed
Debianklibctrixie2.0.14-1fixed
Debianklibcbookworm2.0.12-1fixed
Ubuntuklibcpro2.0.3-0ubuntu1vulnerable
Ubuntuklibcpro2.0.4-4vulnerable
Ubuntuklibcpro2.0.4-6vulnerable
Ubuntuklibcpro2.0.4-7vulnerable
Ubuntuklibcpro2.0.4-8vulnerable
Ubuntuklibcpro2.0.4-8ubuntu1vulnerable
Ubuntuklibcpro2.0.4-8ubuntu1.16.04.1vulnerable
Ubuntuklibcpro2.0.4-8ubuntu1.16.04.2vulnerable
Ubuntuklibcpro2.0.4-8ubuntu1.16.04.3vulnerable
Ubuntuklibcpro2.0.4-8ubuntu1.16.04.4vulnerable
Ubuntuklibcpro2.0.4-8ubuntu1.16.04.4+esm1fixed
Ubuntuklibc18.042.0.4-9ubuntu1vulnerable
Ubuntuklibc18.042.0.4-9ubuntu2vulnerable
Ubuntuklibc18.042.0.4-9ubuntu2.1fixed
Ubuntuklibc20.042.0.6-1ubuntu1vulnerable
Ubuntuklibc20.042.0.6-1ubuntu2vulnerable
Ubuntuklibc20.042.0.7-1ubuntu1vulnerable
Ubuntuklibc20.042.0.7-1ubuntu3vulnerable
Ubuntuklibc20.042.0.7-1ubuntu4vulnerable
Ubuntuklibc20.042.0.7-1ubuntu5vulnerable
Ubuntuklibc20.042.0.7-1ubuntu5.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianklibcsourcesid2.0.8-6not yet assignedNot reported[989505]
Debianklibcsourceforky2.0.8-6not yet assignedNot reported[989505]
Debianklibcsourcetrixie2.0.8-6not yet assignedNot reported[989505]
Debianklibcsourcebookworm2.0.8-6not yet assignedNot reported[989505]
Ubuntuklibcdebpro2.0.4-8ubuntu1.16.04.4+esm1Not reportedUBUNTU-CVE-2021-31872Not reported
Ubuntuklibcdeb18.042.0.4-9ubuntu2.1Not reportedUBUNTU-CVE-2021-31872Not reported
Ubuntuklibcdeb20.042.0.7-1ubuntu5.1Not reportedUBUNTU-CVE-2021-31872Not reported

[Debian bug #989505]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Source package: [klibc]

    Details (2)
    • 2.0.12-1 · amd64 · bookworm

      Fixed · Fixed: 2.0.8-6

      dsa · klibc · debian · bookworm; dsa · klibc · debian · 12

    • 2.0.12-1 · arm64 · bookworm

      Fixed · Fixed: 2.0.8-6

      dsa · klibc · debian · bookworm; dsa · klibc · debian · 12

  • [libklibc]Fixed

    Source package: [klibc]

    Details (2)
    • 2.0.12-1 · amd64 · bookworm

      Fixed · Fixed: 2.0.8-6

      dsa · klibc · debian · bookworm; dsa · klibc · debian · 12

    • 2.0.12-1 · arm64 · bookworm

      Fixed · Fixed: 2.0.8-6

      dsa · klibc · debian · bookworm; dsa · klibc · debian · 12

  • Source package: [klibc]

    Details (2)
    • 2.0.12-1 · amd64 · bookworm

      Fixed · Fixed: 2.0.8-6

      dsa · klibc · debian · bookworm; dsa · klibc · debian · 12

    • 2.0.12-1 · arm64 · bookworm

      Fixed · Fixed: 2.0.8-6

      dsa · klibc · debian · bookworm; dsa · klibc · debian · 12

[Debian 13 (Trixie)]

  • Source package: [klibc]

    Details (2)
    • 2.0.14-1 · amd64 · trixie

      Fixed · Fixed: 2.0.8-6

      dsa · klibc · debian · 13

    • 2.0.14-1 · arm64 · trixie

      Fixed · Fixed: 2.0.8-6

      dsa · klibc · debian · 13

  • [libklibc]Fixed

    Source package: [klibc]

    Details (2)
    • 2.0.14-1 · amd64 · trixie

      Fixed · Fixed: 2.0.8-6

      dsa · klibc · debian · 13

    • 2.0.14-1 · arm64 · trixie

      Fixed · Fixed: 2.0.8-6

      dsa · klibc · debian · 13

  • Source package: [klibc]

    Details (2)
    • 2.0.14-1 · amd64 · trixie

      Fixed · Fixed: 2.0.8-6

      dsa · klibc · debian · 13

    • 2.0.14-1 · arm64 · trixie

      Fixed · Fixed: 2.0.8-6

      dsa · klibc · debian · 13

Observed:

References