What’s Vulnerable › Vulnerabilities
CVE-2020-21674
- Severity: medium (CVSS 6.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 2.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2020-10-15 · updated 2026-06-17
- Weakness: CWE-787
Description
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.
Affected products
- libarchive: 3.4.1
References
- https://github.com/libarchive/libarchive/commit/4f085eea879e2be745f4d9bf57e8513ae48157f4
- https://github.com/libarchive/libarchive/issues/1298
- https://github.com/libarchive/libarchive/commit/4f085eea879e2be745f4d9bf57e8513ae48157f4
- https://github.com/libarchive/libarchive/issues/1298
Get alerted when CVE-2020-21674 or the next vulnerability affects your stack