Description
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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Red Hat | Red Hat Hardened Images | — | — |
| Red Hat | Red Hat Enterprise Linux 10 | — | — |
| Red Hat | Red Hat Enterprise Linux 6 | — | — |
| Red Hat | Red Hat Enterprise Linux 7 | — | — |
| Red Hat | Red Hat Enterprise Linux 8 | — | — |
| Red Hat | Red Hat Enterprise Linux 9 | — | — |
| Red Hat | Red Hat OpenShift AI (RHOAI) | — | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | libarchive | 3.8.9-1 | — |
| Debian 13 | libarchive | No fix yet | — |
| Debian 12 | libarchive | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.04 LTS | libarchive | No fix yet | — |
| Ubuntu 24.04 LTS | libarchive | No fix yet | — |
| Ubuntu 22.04 LTS | libarchive | No fix yet | — |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 20.04 LTS | libarchive | No fix yet | — |
| Ubuntu Pro 18.04 LTS | libarchive | No fix yet | — |
| Ubuntu Pro 16.04 LTS | libarchive | No fix yet | — |
| Ubuntu Pro 14.04 LTS | libarchive | No fix yet | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Hardened Images 1 | bsdcat +5 | 3.8.9-2.1.hum1 | RHSA-2026:77775 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | cmake +1 | No fix yet | — |
Advisories 2
- WID-SEC-2026-4017 libarchive: Schwachstelle ermöglicht Denial of Service und Offenlegung von Informationen BSI CERT-Bund (WID) · Oct 18, 2026
- RHSA-2026:77775 Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update Red Hat Security Advisories (RHSA) · Oct 18, 2026
References
- RHSA-2026:77775 vendor-advisory
- https://access.redhat.com/security/cve/CVE-2026-17591 vdb-entry
- RHBZ#2554209 issue-tracking
- https://github.com/libarchive/libarchive/pull/3318