CVE catalog

CVE-2019-19221

libarchive vulnerabilities

[CVE catalog]

Severity
Medium · CVSS 6.5CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Published
Source
[NVD] · [CVE record]
EPSS
0.66% · Oct 25, 2026

In Libarchive 3.4.0, archive_wstring_append_from_mbs in archive_string.c has an out-of-bounds read because of an incorrect mbrtowc or mbtowc call. For example, bsdtar crashes via a crafted archive.

Vulnerable and fixed packages

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

DistributionPackageReleaseVersionStatus
Debianlibarchivesid3.8.10-2fixed
Debianlibarchiveforky3.8.9-1fixed
Debianlibarchivetrixie3.7.4-4+deb13u1fixed
Debianlibarchivebookworm3.6.2-1+deb12u4fixed
Debianlibarchivebookworm-security3.6.2-1+deb12u5fixed
Ubuntulibarchivenoble3.7.2-2ubuntu0.6fixed
Ubuntulibarchive-devnoble3.7.2-2ubuntu0.6fixed
Ubuntulibarchive-toolsnoble3.7.2-2ubuntu0.6fixed
Ubuntulibarchive13t64noble3.7.2-2ubuntu0.6fixed
Ubuntulibarchivenoble3.4.2-1fixed
Alpinelibarchive3.133.4.2-r0fixed
Alpinelibarchive3.143.4.2-r0fixed
Alpinelibarchive3.153.4.2-r0fixed
Alpinelibarchive3.163.4.2-r0fixed
Alpinelibarchive3.173.4.2-r0fixed
Alpinelibarchive3.183.4.2-r0fixed
Alpinelibarchive3.193.4.2-r0fixed
Alpinelibarchive3.203.4.2-r0fixed
Alpinelibarchive3.213.4.2-r0fixed
Alpinelibarchive3.223.4.2-r0fixed
Alpinelibarchive3.233.4.2-r0fixed
Alpinelibarchive3.243.4.2-r0fixed
Ubuntulibarchivepro3.4.0-1vulnerable
Ubuntulibarchivepro3.4.0-1build1vulnerable
Ubuntulibarchivepro3.4.0-1ubuntu2vulnerable
Ubuntulibarchivepro3.4.0-2ubuntu1vulnerable
Ubuntulibarchivepro3.4.0-2ubuntu1.1vulnerable
Ubuntulibarchivepro3.4.0-2ubuntu1.2vulnerable
Ubuntulibarchivepro3.4.0-2ubuntu1.3vulnerable
Ubuntulibarchivepro3.4.0-2ubuntu1.4vulnerable
Ubuntulibarchivepro3.4.0-2ubuntu1.5vulnerable
Ubuntulibarchivepro3.4.0-2ubuntu1.5+esm1fixed
Ubuntulibarchive22.043.4.3-2vulnerable
Ubuntulibarchive22.043.4.3-2build1vulnerable
Ubuntulibarchive22.043.5.2-1vulnerable
Ubuntulibarchive22.043.5.2-1ubuntu1vulnerable
Ubuntulibarchive22.043.6.0-1ubuntu1vulnerable
Ubuntulibarchive22.043.6.0-1ubuntu1.1vulnerable
Ubuntulibarchive22.043.6.0-1ubuntu1.2vulnerable
Ubuntulibarchive22.043.6.0-1ubuntu1.3vulnerable
Ubuntulibarchive22.043.6.0-1ubuntu1.4vulnerable
Ubuntulibarchive22.043.6.0-1ubuntu1.5vulnerable
Ubuntulibarchive22.043.6.0-1ubuntu1.6fixed
Ubuntulibarchive24.043.6.2-1ubuntu1vulnerable
Ubuntulibarchive24.043.7.2-1ubuntu1vulnerable
Ubuntulibarchive24.043.7.2-1ubuntu2vulnerable
Ubuntulibarchive24.043.7.2-1.1ubuntu2vulnerable
Ubuntulibarchive24.043.7.2-2vulnerable
Ubuntulibarchive24.043.7.2-2ubuntu0.1vulnerable
Ubuntulibarchive24.043.7.2-2ubuntu0.2vulnerable
Ubuntulibarchive24.043.7.2-2ubuntu0.3vulnerable
Ubuntulibarchive24.043.7.2-2ubuntu0.4vulnerable
Ubuntulibarchive24.043.7.2-2ubuntu0.5vulnerable
Ubuntulibarchive24.043.7.2-2ubuntu0.6fixed
Ubuntulibarchive25.103.7.7-0ubuntu2vulnerable
Ubuntulibarchive25.103.7.7-0ubuntu2.1vulnerable
Ubuntulibarchive25.103.7.7-0ubuntu2.2vulnerable
Ubuntulibarchive25.103.7.7-0ubuntu3vulnerable
Ubuntulibarchive25.103.7.7-0ubuntu3.1fixed
Ubuntulibarchivepro3.1.2-5ubuntu1vulnerable
Ubuntulibarchivepro3.1.2-7ubuntu1vulnerable
Ubuntulibarchivepro3.1.2-7ubuntu2vulnerable
Ubuntulibarchivepro3.1.2-7ubuntu2.1vulnerable
Ubuntulibarchivepro3.1.2-7ubuntu2.2vulnerable
Ubuntulibarchivepro3.1.2-7ubuntu2.3vulnerable
Ubuntulibarchivepro3.1.2-7ubuntu2.4vulnerable
Ubuntulibarchivepro3.1.2-7ubuntu2.6vulnerable
Ubuntulibarchivepro3.1.2-7ubuntu2.7vulnerable
Ubuntulibarchivepro3.1.2-7ubuntu2.8vulnerable
Ubuntulibarchivepro3.1.2-7ubuntu2.8+esm1vulnerable
Ubuntulibarchivepro3.1.2-7ubuntu2.8+esm3vulnerable
Ubuntulibarchivepro3.1.2-7ubuntu2.8+esm4fixed
Ubuntulibarchive16.043.1.2-11build1vulnerable
Ubuntulibarchive16.043.1.2-11ubuntu0.16.04.1vulnerable
Ubuntulibarchive16.043.1.2-11ubuntu0.16.04.2vulnerable
Ubuntulibarchive16.043.1.2-11ubuntu0.16.04.3vulnerable
Ubuntulibarchive16.043.1.2-11ubuntu0.16.04.4vulnerable
Ubuntulibarchive16.043.1.2-11ubuntu0.16.04.5vulnerable
Ubuntulibarchive16.043.1.2-11ubuntu0.16.04.6vulnerable
Ubuntulibarchive16.043.1.2-11ubuntu0.16.04.7vulnerable
Ubuntulibarchive16.043.1.2-11ubuntu0.16.04.8fixed
Ubuntulibarchive18.043.2.2-3.1vulnerable
Ubuntulibarchive18.043.2.2-3.1ubuntu0.1vulnerable
Ubuntulibarchive18.043.2.2-3.1ubuntu0.2vulnerable
Ubuntulibarchive18.043.2.2-3.1ubuntu0.3vulnerable
Ubuntulibarchive18.043.2.2-3.1ubuntu0.4vulnerable
Ubuntulibarchive18.043.2.2-3.1ubuntu0.5vulnerable
Ubuntulibarchive18.043.2.2-3.1ubuntu0.6fixed
Ubuntulibarchive20.043.4.0-1vulnerable
Ubuntulibarchive20.043.4.0-1build1vulnerable
Ubuntulibarchive20.043.4.0-1ubuntu2fixed
Ubuntulibarchive16.043.1.2-11build1vulnerable
Ubuntulibarchive16.043.1.2-11ubuntu0.16.04.1vulnerable
Ubuntulibarchive16.043.1.2-11ubuntu0.16.04.2vulnerable
Ubuntulibarchive16.043.1.2-11ubuntu0.16.04.3vulnerable
Ubuntulibarchive16.043.1.2-11ubuntu0.16.04.4vulnerable
Ubuntulibarchive16.043.1.2-11ubuntu0.16.04.5vulnerable
Ubuntulibarchive16.043.1.2-11ubuntu0.16.04.6vulnerable
Ubuntulibarchive16.043.1.2-11ubuntu0.16.04.7vulnerable
Ubuntulibarchive16.043.1.2-11ubuntu0.16.04.8fixed
Ubuntulibarchive18.043.2.2-3.1vulnerable
Ubuntulibarchive18.043.2.2-3.1ubuntu0.1vulnerable
Ubuntulibarchive18.043.2.2-3.1ubuntu0.2vulnerable
Ubuntulibarchive18.043.2.2-3.1ubuntu0.3vulnerable
Ubuntulibarchive18.043.2.2-3.1ubuntu0.4vulnerable
Ubuntulibarchive18.043.2.2-3.1ubuntu0.5vulnerable
Ubuntulibarchive18.043.2.2-3.1ubuntu0.6fixed
Suselibarchivelinux enterprise software development kit 12 sp53.3.3-32.5.1fixed
Suselibarchivelinux enterprise server 12 sp53.3.3-32.5.1fixed
Suselibarchivelinux enterprise server for sap applications 12 sp53.3.3-32.5.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianlibarchivesourcesid3.4.2-1not yet assignedNot reported[945287]
Debianlibarchivesourceforky3.4.2-1not yet assignedNot reported[945287]
Debianlibarchivesourcetrixie3.4.2-1not yet assignedNot reported[945287]
Debianlibarchivesourcebookworm3.4.2-1not yet assignedNot reported[945287]
Ubuntulibarchivedebnoble3.7.2-2ubuntu0.6Not reportedNot reportedNot reported
Ubuntulibarchive-devdebnoble3.7.2-2ubuntu0.6Not reportedNot reportedNot reported
Ubuntulibarchive-toolsdebnoble3.7.2-2ubuntu0.6Not reportedNot reportedNot reported
Ubuntulibarchive13t64debnoble3.7.2-2ubuntu0.6Not reportedNot reportedNot reported
Ubuntulibarchivedebnoble3.4.2-1Not reportedNot reportedNot reported
Alpinelibarchiveapk3.133.4.2-r0Not reportedALPINE-CVE-2019-19221Not reported
Alpinelibarchiveapk3.143.4.2-r0Not reportedALPINE-CVE-2019-19221Not reported
Alpinelibarchiveapk3.153.4.2-r0Not reportedALPINE-CVE-2019-19221Not reported
Alpinelibarchiveapk3.163.4.2-r0Not reportedALPINE-CVE-2019-19221Not reported
Alpinelibarchiveapk3.173.4.2-r0Not reportedALPINE-CVE-2019-19221Not reported
Alpinelibarchiveapk3.183.4.2-r0Not reportedALPINE-CVE-2019-19221Not reported
Alpinelibarchiveapk3.193.4.2-r0Not reportedALPINE-CVE-2019-19221Not reported
Alpinelibarchiveapk3.203.4.2-r0Not reportedALPINE-CVE-2019-19221Not reported
Alpinelibarchiveapk3.213.4.2-r0Not reportedALPINE-CVE-2019-19221Not reported
Alpinelibarchiveapk3.223.4.2-r0Not reportedALPINE-CVE-2019-19221Not reported
Alpinelibarchiveapk3.233.4.2-r0Not reportedALPINE-CVE-2019-19221Not reported
Alpinelibarchiveapk3.243.4.2-r0Not reportedALPINE-CVE-2019-19221Not reported
Ubuntulibarchivedebpro3.4.0-2ubuntu1.5+esm1Not reportedUSN-8147-1Not reported
Ubuntulibarchivedeb22.043.6.0-1ubuntu1.6Not reportedUSN-8147-1Not reported
Ubuntulibarchivedeb24.043.7.2-2ubuntu0.6Not reportedUSN-8147-1Not reported
Ubuntulibarchivedeb25.103.7.7-0ubuntu3.1Not reportedUSN-8147-1Not reported
Ubuntulibarchivedebpro3.1.2-7ubuntu2.8+esm4Not reportedUBUNTU-CVE-2019-19221Not reported
Ubuntulibarchivedeb16.043.1.2-11ubuntu0.16.04.8Not reportedUBUNTU-CVE-2019-19221Not reported
Ubuntulibarchivedeb18.043.2.2-3.1ubuntu0.6Not reportedUBUNTU-CVE-2019-19221Not reported
Ubuntulibarchivedeb20.043.4.0-1ubuntu2Not reportedUBUNTU-CVE-2019-19221Not reported
Ubuntulibarchivedeb16.043.1.2-11ubuntu0.16.04.8Not reportedUSN-4293-1Not reported
Ubuntulibarchivedeb18.043.2.2-3.1ubuntu0.6Not reportedUSN-4293-1Not reported
Suselibarchiverpmlinux enterprise software development kit 12 sp53.3.3-32.5.1Not reportedSUSE-SU-2021:3722-1Not reported
Suselibarchiverpmlinux enterprise server 12 sp53.3.3-32.5.1Not reportedSUSE-SU-2021:3722-1Not reported
Suselibarchiverpmlinux enterprise server for sap applications 12 sp53.3.3-32.5.1Not reportedSUSE-SU-2021:3722-1Not reported

[Debian bug #945287]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Source package: [libarchive]

    Details (4)
    • 3.6.2-1+deb12u4 · amd64 · bookworm

      Fixed · Fixed: 3.4.2-1

      usn · libarchive · debian · bookworm; usn · libarchive · debian · 12

    • 3.6.2-1+deb12u4 · arm64 · bookworm

      Fixed · Fixed: 3.4.2-1

      usn · libarchive · debian · bookworm; usn · libarchive · debian · 12

    • 3.6.2-1+deb12u5 · amd64 · bookworm-security

      Fixed · Fixed: 3.4.2-1

      usn · libarchive · debian · bookworm; usn · libarchive · debian · 12

    • 3.6.2-1+deb12u5 · arm64 · bookworm-security

      Fixed · Fixed: 3.4.2-1

      usn · libarchive · debian · bookworm; usn · libarchive · debian · 12

  • Source package: [libarchive]

    Details (4)
    • 3.6.2-1+deb12u4 · amd64 · bookworm

      Fixed · Fixed: 3.4.2-1

      usn · libarchive · debian · bookworm; usn · libarchive · debian · 12

    • 3.6.2-1+deb12u4 · arm64 · bookworm

      Fixed · Fixed: 3.4.2-1

      usn · libarchive · debian · bookworm; usn · libarchive · debian · 12

    • 3.6.2-1+deb12u5 · amd64 · bookworm-security

      Fixed · Fixed: 3.4.2-1

      usn · libarchive · debian · bookworm; usn · libarchive · debian · 12

    • 3.6.2-1+deb12u5 · arm64 · bookworm-security

      Fixed · Fixed: 3.4.2-1

      usn · libarchive · debian · bookworm; usn · libarchive · debian · 12

  • Source package: [libarchive]

    Details (4)
    • 3.6.2-1+deb12u4 · amd64 · bookworm

      Fixed · Fixed: 3.4.2-1

      usn · libarchive · debian · bookworm; usn · libarchive · debian · 12

    • 3.6.2-1+deb12u4 · arm64 · bookworm

      Fixed · Fixed: 3.4.2-1

      usn · libarchive · debian · bookworm; usn · libarchive · debian · 12

    • 3.6.2-1+deb12u5 · amd64 · bookworm-security

      Fixed · Fixed: 3.4.2-1

      usn · libarchive · debian · bookworm; usn · libarchive · debian · 12

    • 3.6.2-1+deb12u5 · arm64 · bookworm-security

      Fixed · Fixed: 3.4.2-1

      usn · libarchive · debian · bookworm; usn · libarchive · debian · 12

[Debian 13 (Trixie)]

  • Source package: [libarchive]

    Details (2)
    • 3.7.4-4+deb13u1 · amd64 · trixie

      Fixed · Fixed: 3.4.2-1

      usn · libarchive · debian · 13

    • 3.7.4-4+deb13u1 · arm64 · trixie

      Fixed · Fixed: 3.4.2-1

      usn · libarchive · debian · 13

  • Source package: [libarchive]

    Details (2)
    • 3.7.4-4+deb13u1 · amd64 · trixie

      Fixed · Fixed: 3.4.2-1

      usn · libarchive · debian · 13

    • 3.7.4-4+deb13u1 · arm64 · trixie

      Fixed · Fixed: 3.4.2-1

      usn · libarchive · debian · 13

  • Source package: [libarchive]

    Details (2)
    • 3.7.4-4+deb13u1 · amd64 · trixie

      Fixed · Fixed: 3.4.2-1

      usn · libarchive · debian · 13

    • 3.7.4-4+deb13u1 · arm64 · trixie

      Fixed · Fixed: 3.4.2-1

      usn · libarchive · debian · 13

Observed:

References