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.
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
| Date | Event | Detail |
| December 16, 2021 | Reserved | Reserved by redhat |
| August 23, 2022 | Published | Published (CNA: redhat) |
| November 2, 2026 | ENRICHED | ENRICHED — CVE-2021-31566 (libarchive). Received CVSS 7.8 and CPE data from NVD. |
Affected
Affected products and packages — 1 row
| Vendor | Product / Package | Ecosystem | Version introduced | Fixed |
| n/a | libarchive | — | Fixed in libarchive 3.5.2 | — |
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.