Debian Security Advisory

DLA-3202-1 libarchive -- LTS security update

Date Reported:
22 Nov 2022
Affected Packages:
Security database references:
In the Debian bugtracking system: Bug 945287, Bug 1001986, Bug 1001990.
In Mitre's CVE dictionary: CVE-2019-19221, CVE-2021-23177, CVE-2021-31566.
More information:

Three issues have been found in libarchive, a multi-format archive and compression library.

  • CVE-2019-19221

    out-of-bounds read because of an incorrect mbrtowc or mbtowc call

  • CVE-2021-23177

    extracting a symlink with ACLs modifies ACLs of target

  • CVE-2021-31566

    symbolic links incorrectly followed when changing modes, times, ACL and flags of a file while extracting an archive

For Debian 10 buster, these problems have been fixed in version 3.3.3-4+deb10u2.

We recommend that you upgrade your libarchive packages.

For the detailed security status of libarchive please refer to its security tracker page at:

Further information about Debian LTS security advisories, how to apply these updates to your system and frequently asked questions can be found at: