boxscore/security
CVE · referencelatest edition

Reference page — cumulative record through Thursday, November 19, 2026 UTC. Reference pages update as the archive grows; only dated daily editions are immutable pages of record.

CVE-2021-31566

n/a libarchive — An improper link resolution flaw can occur while extracting an archive leading to changing modes, times, access control lists, and flags …
  AV  AC  PR  UI  S  C  I  A   CVSS    EPSS   %ile   KEV
   L   L   N   R  U  H  H  H    7.8   .0039   33.9     —
AFFECTED
  Product     Versions                     Fixed
  libarchive  Fixed in libarchive 3.5.2 –  —
TIMELINE
  Dec 16  Reserved by redhat
  Aug 23  Published (CNA: redhat)
  Nov 2   ENRICHED — CVE-2021-31566 (libarchive). Received CVSS 7.8 and CPE data from NVD.
CWE-59 · CNA: redhat · CVSS v3.1 · 5 references · NVD status: Modified

Description

An improper link resolution flaw can occur while extracting an archive leading to changing modes, times, access control lists, and flags of a file outside of the archive. An attacker may provide a malicious archive to a victim user, who would trigger this flaw when trying to extract the archive. A local attacker may use this flaw to gain more privileges in a system.

Lifecycle

Complete event history — 3 events, chronological
DateEventDetail
December 16, 2021ReservedReserved by redhat
August 23, 2022PublishedPublished (CNA: redhat)
November 2, 2026ENRICHEDENRICHED — CVE-2021-31566 (libarchive). Received CVSS 7.8 and CPE data from NVD.

Affected

Affected products and packages — 1 row
VendorProduct / PackageEcosystemVersion introducedFixed
n/alibarchive—Fixed in libarchive 3.5.2—

Weaknesses

CWE-59

References (5)

Related

Authoritative record: CVE-2021-31566 at cve.org

Weaknesses: CWE-59

About this page

This is a reference page, not a dated page of record. It assembles the complete lifecycle of CVE-2021-31566 from the CVE Program record, NVD enrichment, the CISA KEV catalog, EPSS, and OSV advisories. The box score's numbers (CVSS, EPSS, KEV status) are current as of Thursday, November 19, 2026 UTC and are re-derived as the archive grows; only dated daily editions are immutable pages of record. The authoritative source for this identifier is cve.org.