{"id":"CVE-2026-17591","title":"Libarchive: libarchive: use-after-free via aliased mac metadata copy","summary":"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 issu…","severity":"low","cvss":3.6,"cvssVector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:L","cvssSource":"cna","cwe":["CWE-416"],"vendor":"Red Hat","product":"libarchive-main","affected":["libarchive-main (all versions)","libarchive (all versions)","libarchive (all versions)","libarchive (all versions)","libarchive (all versions)","libarchive (all versions)"],"published":"2026-10-16","updated":"2026-10-17","sourceUpdated":"2026-10-17T16:50:55.660Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-17591","references":[{"url":"https://access.redhat.com/errata/RHSA-2026:77775","label":"RHSA-2026:77775"},{"url":"https://access.redhat.com/security/cve/CVE-2026-17591"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2554209","label":"RHBZ#2554209"},{"url":"https://github.com/libarchive/libarchive/pull/3318"},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-17591.json"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-17591"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-17591"}],"tags":["cve.org","csaf","vex","red-hat"],"ingestedAt":"2026-10-16T22:54:45.854Z","epss":0.00109,"epssPercentile":0.01167,"slug":"CVE-2026-17591","body":"## Overview\n\nA 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.\n\n## Affected\n\n- `libarchive-main (all versions)`\n- `libarchive (all versions)`\n- `libarchive (all versions)`\n- `libarchive (all versions)`\n- `libarchive (all versions)`\n- `libarchive (all versions)`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.\n\n## Vendor advisories\n\n- **Red Hat VEX** · Low · affected: 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 Hardened Images · no fix planned: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 7, Red Hat Enterprise Linux 8, … · updated 2026-10-16 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-17591.json)","depth":"sunlit","depthScore":20,"depthScoreParts":{"impact":19.8,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}