# CVE-2026-14164: Libarchive: double-free vulnerability in rar5 decompression logic via dangling filtered_buf pointer in init_unpack()

> A double-free vulnerability in Libarchive's RAR5 reader allows attackers to cause denial of service via crafted archives.

- **Severity:** High 7.5 (`CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 30 Jun 2026
- **Updated:** 14 Oct 2026
- **Also known as:** ALSA-2026:52674, ALSA-2026:52675, AZL-91713, BELL-CVE-2026-14164, DEBIAN-CVE-2026-14164, ECHO-54dd-0906-dc9a, GHSA-xq96-f7x8-gfx3, OESA-2026-2887, OESA-2026-2888, OESA-2026-2889, OESA-2026-2890, OESA-2026-3040, RHSA-2026:30333, RHSA-2026:52674, RHSA-2026:52675, RHSA-2026:56954, RHSA-2026:58558, RHSA-2026:58573, RHSA-2026:58574, RLSA-2026:52674, RLSA-2026:52675, UBUNTU-CVE-2026-14164

## What is CVE-2026-14164?

CVE-2026-14164 is a high-severity use after free vulnerability in Cert Manager support for Red Hat OpenShift release 1.17, published on 30 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

### Official description

A double free issue has been identified in libarchive's RAR5 reader. During parsing of a specially crafted RAR5 archive, the filtered_buf pointer may remain stale after being freed during unpacking state reinitialization. Subsequent processing of another archive entry can trigger a second free of the same memory region, resulting in a double-free condition. Successful exploitation may cause applications using the vulnerable libarchive API to terminate unexpectedly, leading to a denial of service.

Weakness: CWE-415 (Double Free)

## Which versions are affected by CVE-2026-14164?


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `bsdtar` | AlmaLinux:10 | All versions | 3.7.7-10.el10_2 |
| `libarchive` | AlmaLinux:10 | All versions | 3.7.7-10.el10_2 |
| `libarchive-devel` | AlmaLinux:10 | All versions | 3.7.7-10.el10_2 |
| `bsdtar` | AlmaLinux:9 | All versions | 3.5.3-11.el9_8 |
| `libarchive` | AlmaLinux:9 | All versions | 3.5.3-11.el9_8 |
| `libarchive-devel` | AlmaLinux:9 | All versions | 3.5.3-11.el9_8 |
| `bsdcat-debuginfo` | Red Hat:enterprise_linux:10.2 | All versions | 0:3.7.7-10.el10_2 |
| `bsdcpio-debuginfo` | Red Hat:enterprise_linux:10.2 | All versions | 0:3.7.7-10.el10_2 |
| `bsdtar` | Red Hat:enterprise_linux:10.2 | All versions | 0:3.7.7-10.el10_2 |
| `bsdtar-debuginfo` | Red Hat:enterprise_linux:10.2 | All versions | 0:3.7.7-10.el10_2 |
| `bsdunzip-debuginfo` | Red Hat:enterprise_linux:10.2 | All versions | 0:3.7.7-10.el10_2 |
| `libarchive` | Red Hat:enterprise_linux:10.2 | All versions | 0:3.7.7-10.el10_2 |
| `libarchive-debuginfo` | Red Hat:enterprise_linux:10.2 | All versions | 0:3.7.7-10.el10_2 |
| `libarchive-debugsource` | Red Hat:enterprise_linux:10.2 | All versions | 0:3.7.7-10.el10_2 |
| `libarchive-devel` | Red Hat:enterprise_linux:10.2 | All versions | 0:3.7.7-10.el10_2 |
| `bsdcat-debuginfo` | Red Hat:enterprise_linux:9::appstream | All versions | 0:3.5.3-11.el9_8 |
| `bsdcpio-debuginfo` | Red Hat:enterprise_linux:9::appstream | All versions | 0:3.5.3-11.el9_8 |
| `bsdtar` | Red Hat:enterprise_linux:9::appstream | All versions | 0:3.5.3-11.el9_8 |
| `bsdtar-debuginfo` | Red Hat:enterprise_linux:9::appstream | All versions | 0:3.5.3-11.el9_8 |
| `libarchive-debuginfo` | Red Hat:enterprise_linux:9::appstream | All versions | 0:3.5.3-11.el9_8 |
| `libarchive-debugsource` | Red Hat:enterprise_linux:9::appstream | All versions | 0:3.5.3-11.el9_8 |
| `libarchive-devel` | Red Hat:enterprise_linux:9::appstream | All versions | 0:3.5.3-11.el9_8 |
| `bsdcat-debuginfo` | Red Hat:enterprise_linux:9::baseos | All versions | 0:3.5.3-11.el9_8 |
| `bsdcpio-debuginfo` | Red Hat:enterprise_linux:9::baseos | All versions | 0:3.5.3-11.el9_8 |
| `bsdtar-debuginfo` | Red Hat:enterprise_linux:9::baseos | All versions | 0:3.5.3-11.el9_8 |
| `libarchive` | Red Hat:enterprise_linux:9::baseos | All versions | 0:3.5.3-11.el9_8 |
| `libarchive-debuginfo` | Red Hat:enterprise_linux:9::baseos | All versions | 0:3.5.3-11.el9_8 |
| `libarchive-debugsource` | Red Hat:enterprise_linux:9::baseos | All versions | 0:3.5.3-11.el9_8 |
| `bsdcat-debuginfo` | Red Hat:enterprise_linux_eus:10.0 | All versions | 0:3.7.7-5.el10_0.1 |
| `bsdcpio-debuginfo` | Red Hat:enterprise_linux_eus:10.0 | All versions | 0:3.7.7-5.el10_0.1 |
| `bsdtar` | Red Hat:enterprise_linux_eus:10.0 | All versions | 0:3.7.7-5.el10_0.1 |
| `bsdtar-debuginfo` | Red Hat:enterprise_linux_eus:10.0 | All versions | 0:3.7.7-5.el10_0.1 |
| `bsdunzip-debuginfo` | Red Hat:enterprise_linux_eus:10.0 | All versions | 0:3.7.7-5.el10_0.1 |
| `libarchive` | Red Hat:enterprise_linux_eus:10.0 | All versions | 0:3.7.7-5.el10_0.1 |
| `libarchive-debuginfo` | Red Hat:enterprise_linux_eus:10.0 | All versions | 0:3.7.7-5.el10_0.1 |
| `libarchive-debugsource` | Red Hat:enterprise_linux_eus:10.0 | All versions | 0:3.7.7-5.el10_0.1 |
| `libarchive-devel` | Red Hat:enterprise_linux_eus:10.0 | All versions | 0:3.7.7-5.el10_0.1 |
| `bsdcat` | Red Hat:hummingbird:1 | All versions | 0:3.8.8-2.hum1 |
| `bsdcpio` | Red Hat:hummingbird:1 | All versions | 0:3.8.8-2.hum1 |
| `bsdtar` | Red Hat:hummingbird:1 | All versions | 0:3.8.8-2.hum1 |

## How do I fix CVE-2026-14164?

Apply the vendor's patch.

## Is CVE-2026-14164 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-14164 exists.

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2026-14164 and fix it if it is affected.

What it is: CVE-2026-14164 is a high-severity use after free vulnerability in Cert Manager support for Red Hat OpenShift release 1.17, published on 30 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Exploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-14164 exists.

Affected product: Cert Manager support for Red Hat OpenShift release 1.17. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2026-14164/ (Markdown: https://insights.sbomify.com/CVE-2026-14164/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2026-14164
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-14164
- OSV: https://osv.dev/vulnerability/CVE-2026-14164

---
From sbomify Insights: https://insights.sbomify.com/CVE-2026-14164/
Summaries are generated and may contain mistakes; the official description above is the record.
