Live threats

All CVEs / Libarchive

CVE-2020-21674Libarchive

Medium 6.5 No auth needed

Priority
54
CVSS 3.1
6.5
EPSS
2.1%
probability of exploitation in 30 days · percentile 82
Auth required
No
Published
Oct 15, 2020
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-787
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

What happens

Heap-based buffer overflow in archive_string_append_from_wcs() (archive_string.c) in libarchive-3.4.1dev allows remote attackers to cause a denial of service (out-of-bounds write in heap memory resulting into a crash) via a crafted archive file. NOTE: this only affects users who downloaded the development code from GitHub. Users of the product's official releases are unaffected.

Original NVD text.

What to do

  1. Apply the vendor's security update for Libarchive.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
libarchivelibarchive3.4.1

Official sources

References

Links published by the sources. Open them with care.