CVE-2026-17591Libarchive: libarchive: use-after-free via aliased mac metadata copy
A flaw was found in libarchive. An attacker can cause a Denial of Service (DoS) or potential information disclosure due to a use-after-free vulnerability, which occurs when a program reads memory that has already been released. This issue arises when the archive_entry_copy_mac_metadata() function deallocates an internal buffer before completing a data copy. An attacker who can supply input to an application utilizing this function can trigger the flaw to crash the application or read uninitialized memory data.
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | libarchive | Under investigation | UBUNTU-CVE-2026-17591 | |
| Ubuntu 24.04 | libarchive | Fix pending | UBUNTU-CVE-2026-17591 | |
| Ubuntu 22.04 | libarchive | Under investigation | UBUNTU-CVE-2026-17591 | |
| Ubuntu 20.04 | libarchive | Fix pending | UBUNTU-CVE-2026-17591 | |
| Ubuntu 18.04 | libarchive | Fix pending | UBUNTU-CVE-2026-17591 | |
| Ubuntu 16.04 | libarchive | Fix pending | UBUNTU-CVE-2026-17591 | |
| Ubuntu 14.04 | libarchive | Fix pending | UBUNTU-CVE-2026-17591 | |
| Debian 14 | libarchive | Fixed | 3.8.9-1 | DEBIAN-CVE-2026-17591 |
| Debian 13 | libarchive | Fix pending | DEBIAN-CVE-2026-17591 | |
| Debian 12 | libarchive | Fix pending | DEBIAN-CVE-2026-17591 | |
| Red Hat Enterprise Linux 10 | bsdtar | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | libarchive | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | libarchive-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | bsdtar | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | libarchive | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | libarchive-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | bsdtar | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | libarchive | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | libarchive-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | bsdcpio | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | bsdtar | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | libarchive | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | libarchive-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 6 | libarchive | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 6 | libarchive-devel | Fix pending Fix deferred |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Red Hat Hardened Images
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat OpenShift AI (RHOAI)
Vendor advisories:
- https://access.redhat.com/errata/RHSA-2026:77775 (vendor-advisory)
References
- https://access.redhat.com/errata/RHSA-2026:77775
- https://access.redhat.com/security/cve/CVE-2026-17591
- https://bugzilla.redhat.com/show_bug.cgi?id=2554209
- https://github.com/libarchive/libarchive/pull/3318
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.