CVE-2026-13595
published 2026-06-29CVE-2026-13595: 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…
PriorityP426medium5.3CVSS 3.1
AVLACHPRLUINSUCLINAH
EPSS
0.11%
1.6th percentile
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.
Affected
7 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| kernel | util-linux | < 2.42.2 | 2.42.2 |
| kernel | util-linux | — | — |
| redhat | enterprise_linux | — | — |
| redhat | enterprise_linux | — | — |
| redhat | enterprise_linux | — | — |
| redhat | enterprise_linux | — | — |
| redhat | openshift_container_platform | 4.0 – 4.22.1 | — |
CVSS provenance
nvdv3.15.3MEDIUMCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:H
vendor_redhat6.8MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
A flaw was found in the libblkid library of util-linux.
ghsa_unreviewed·2026-06-29
CVE-2026-13595 [MEDIUM] CWE-416 A flaw was found in the libblkid library of util-linux.
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.
Red Hat
util-linux: util-linux: heap use-after-free in libblkid nested partition probing
vendor_redhat·2026-05-07·CVSS 6.8
CVE-2026-13595 [MEDIUM] CWE-416 util-linux: util-linux: heap use-after-free in libblkid nested partition probing
util-linux: util-linux: heap use-after-free in libblkid nested partition probing
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.
Statement: This
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2026-13595 util-linux: util-linux: heap use-after-free in libblkid nested partition probing [fedora-all]
bugzilla·2026-06-29·CVSS 6.8
CVE-2026-13595 [MEDIUM] CVE-2026-13595 util-linux: util-linux: heap use-after-free in libblkid nested partition probing [fedora-all]
CVE-2026-13595 util-linux: util-linux: heap use-after-free in libblkid nested partition probing [fedora-all]
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.
A heap use-after-free vulnerability was found in libblkid's nested partition probing code in util-linux. The probe_bsd_pt() function in libblkid/src/partitions/bsd.c caches a blkid_partition parent pointer into the partlist's heap-allocated parts[] array, then loops calling blkid_partlist_add_partition(), which may reallocarray() the same array. After reallocation, the stale parent pointer is dereferenced via blkid_partition_get_start() — an 8-byte heap use-aft
Bugzilla
CVE-2026-13595 util-linux: util-linux: heap use-after-free in libblkid nested partition probing
bugzilla·2026-06-29·CVSS 6.8
CVE-2026-13595 [MEDIUM] CVE-2026-13595 util-linux: util-linux: heap use-after-free in libblkid nested partition probing
CVE-2026-13595 util-linux: util-linux: heap use-after-free in libblkid nested partition probing
A heap use-after-free vulnerability was found in libblkid's nested partition probing code in util-linux. The probe_bsd_pt() function in libblkid/src/partitions/bsd.c caches a blkid_partition parent pointer into the partlist's heap-allocated parts[] array, then loops calling blkid_partlist_add_partition(), which may reallocarray() the same array. After reallocation, the stale parent pointer is dereferenced via blkid_partition_get_start() — an 8-byte heap use-after-free read. The same dangling-pointer pattern exists in the minix, solaris_x86, and unixware nested probers.
A crafted 2 MiB DOS/MBR disk image with three BSD-typed primaries (each holding >=16 slices) plus an md-raid 0.90 superblock t
2026-06-29
Published