# CVE-2026-13595: Util-linux: util-linux: heap use-after-free in libblkid nested partition probing

> A heap use-after-free in libblkid allows attackers to cause information disclosure or denial of service via crafted block device images.

- **Severity:** Medium 6.8 (`CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Local or same network only
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 29 Jun 2026
- **Updated:** 31 Aug 2026
- **Also known as:** AZL-91581, BELL-CVE-2026-13595, CLSA-2026-1785510866, CLSA-2026-1787813016, DEBIAN-CVE-2026-13595, ECHO-7e3b-1e2a-0ee6, GHSA-qpmf-9p9c-455w, JLSEC-2026-1263, OESA-2026-2883, OESA-2026-2884, OESA-2026-2885, OESA-2026-2886, OESA-2026-3088, RHSA-2026:26573, ROOT-OS-DEBIAN-11-CVE-2026-13595, ROOT-OS-DEBIAN-12-CVE-2026-13595, UBUNTU-CVE-2026-13595

## What is CVE-2026-13595?

CVE-2026-13595 is a medium-severity use after free vulnerability in Redhat Enterprise Linux, published on 29 Jun 2026. It can only be exploited from the same machine or local network, with no action from the victim.

### Official description

A flaw was found in the libblkid library of util-linux. During nested partition probing, the BSD, Minix, Solaris x86, and UnixWare partition probers cache a raw pointer to a parent partition entry in a dynamically allocated array. When subsequent partition additions cause the array to be reallocated, this pointer becomes stale, leading to a heap use-after-free read. An attacker who can present a crafted block device image (for example, via USB insertion or a loop-mounted disk image) can trigger this flaw without user interaction, as libblkid is invoked automatically by udev/udisks as root on block-device hot-plug events. This could lead to limited information disclosure or denial of service.

Weakness: CWE-416 (Use After Free)

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

It affects 4 products.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `libblkid` | Red Hat:hummingbird:1 | All versions | 0:2.42.2-1.hum1 |
| `libblkid-devel` | Red Hat:hummingbird:1 | All versions | 0:2.42.2-1.hum1 |
| `libfdisk` | Red Hat:hummingbird:1 | All versions | 0:2.42.2-1.hum1 |
| `libfdisk-devel` | Red Hat:hummingbird:1 | All versions | 0:2.42.2-1.hum1 |
| `liblastlog2` | Red Hat:hummingbird:1 | All versions | 0:2.42.2-1.hum1 |
| `liblastlog2-devel` | Red Hat:hummingbird:1 | All versions | 0:2.42.2-1.hum1 |
| `libmount` | Red Hat:hummingbird:1 | All versions | 0:2.42.2-1.hum1 |
| `libmount-devel` | Red Hat:hummingbird:1 | All versions | 0:2.42.2-1.hum1 |
| `libsmartcols` | Red Hat:hummingbird:1 | All versions | 0:2.42.2-1.hum1 |
| `libsmartcols-devel` | Red Hat:hummingbird:1 | All versions | 0:2.42.2-1.hum1 |
| `libuuid` | Red Hat:hummingbird:1 | All versions | 0:2.42.2-1.hum1 |
| `libuuid-devel` | Red Hat:hummingbird:1 | All versions | 0:2.42.2-1.hum1 |
| `python3-libmount` | Red Hat:hummingbird:1 | All versions | 0:2.42.2-1.hum1 |
| `util-linux` | Red Hat:hummingbird:1 | All versions | 0:2.42.2-1.hum1 |
| `util-linux-core` | Red Hat:hummingbird:1 | All versions | 0:2.42.2-1.hum1 |
| `util-linux-i18n` | Red Hat:hummingbird:1 | All versions | 0:2.42.2-1.hum1 |
| `util-linux-script` | Red Hat:hummingbird:1 | All versions | 0:2.42.2-1.hum1 |
| `uuidd` | Red Hat:hummingbird:1 | All versions | 0:2.42.2-1.hum1 |

Products: Kernel Util-Linux, Redhat Enterprise Linux, Redhat Hardened Images, Redhat Openshift Container Platform.

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

Apply the vendor's patch.

## Is CVE-2026-13595 being exploited?

There is no known exploitation of CVE-2026-13595 in the wild and no public exploit code.

## Other vulnerabilities in Redhat Enterprise Linux

- [CVE-2015-5224](https://insights.sbomify.com/CVE-2015-5224/): Race condition in n/a (critical 9.8)
- [CVE-2018-7738](https://insights.sbomify.com/CVE-2018-7738/): Command injection in n/a (high 7.8)
- [CVE-2016-2779](https://insights.sbomify.com/CVE-2016-2779/): Privilege escalation in n/a (high 7.8)
- [CVE-2020-21583](https://insights.sbomify.com/CVE-2020-21583/): Command injection in n/a (medium 6.7)
- [CVE-2022-0563](https://insights.sbomify.com/CVE-2022-0563/): Information disclosure in util-linux (medium 5.5)

## Fix prompt for AI coding agents

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

What it is: CVE-2026-13595 is a medium-severity use after free vulnerability in Redhat Enterprise Linux, published on 29 Jun 2026. It can only be exploited from the same machine or local network, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2026-13595 in the wild and no public exploit code.

Affected product: Redhat Enterprise Linux. 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-13595/ (Markdown: https://insights.sbomify.com/CVE-2026-13595/index.md)
```

## Sources

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

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