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.
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/13xxx/CVE-2026-13595.json",
"cwe_ids": [
"CWE-416"
],
"cna_assigner": "redhat"
}{
"source": [
"CPE_RANGE",
"REFERENCES"
],
"cpe": "cpe:2.3:a:kernel:util-linux:*:*:*:*:*:*:*:*",
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "2.42.2"
}
]
}
[
{
"id": "CVE-2026-13595-4197d92f",
"deprecated": false,
"source": "https://github.com/util-linux/util-linux/commit/c0186f14fbdb02f64c8e0ba701ce727ea764ff4c",
"digest": {
"function_hash": "332786058802644049800222738065208801858",
"length": 472.0
},
"signature_version": "v1",
"target": {
"function": "new_partition",
"file": "libblkid/src/partitions/partitions.c"
},
"signature_type": "Function"
},
{
"id": "CVE-2026-13595-5da49bc9",
"source": "https://github.com/util-linux/util-linux/commit/c0186f14fbdb02f64c8e0ba701ce727ea764ff4c",
"deprecated": false,
"digest": {
"function_hash": "145470561372269655397282719998812264666",
"length": 143.0
},
"target": {
"function": "blkid_partlist_get_partition",
"file": "libblkid/src/partitions/partitions.c"
},
"signature_version": "v1",
"signature_type": "Function"
},
{
"id": "CVE-2026-13595-714c383b",
"target": {
"file": "libblkid/src/partitions/partitions.c"
},
"deprecated": false,
"digest": {
"threshold": 0.9,
"line_hashes": [
"80992958812190036411254306541525112270",
"258694647090231215691206963363966442440",
"255242482485157482007852023212992612321",
"201643333597106639942346030703226565722",
"16143160971153423042423691830469225960",
"74541704427484392406297444448101204353",
"145402782270693165146271723775902427299",
"224404162075274576251717228834091140008",
"245035658536357928998633859173239362281",
"176087997398924811455163010622485361927",
"253492544538576019486895053213397926722",
"337716979262556758457688373527561539122",
"137478926291787175937501067662190948536",
"20347610155742624492533992089989185225",
"107088923349688146790270951768933180216",
"192367428041733661354958467364272297132",
"160093124610872901697992589488009770794",
"306585427003951750328175487811824391691",
"145512943078612789673379162754436428097",
"274412200744248040294608630624877403894",
"154018255813224544426206476899369414291",
"72589170298201365922803130766046160741",
"103299197848382650654058545001327264617",
"26055826747684834704508813025017369490",
"115309368290056902175074818996150668725",
"23526812433056624796546724083126125927",
"85020892587603069322160211475178381019",
"318857637897600026237749469940335094235",
"27170861481470328366351649061842043853",
"81977626882650554333486996264467239942",
"33266148751821885507951051317146366119",
"4684496154142356855797902538056508694",
"142402407225350631888326241766780051678",
"205875423203406607879700931174516533542",
"267403526651553812173542408424600255825",
"20065516019695868835101111994535373301",
"93856029133455765911878759541231151449",
"303842789999474266126889797113135110558",
"277693924438210812757698298284204826181",
"181994624312704253445828880583616954974",
"24661729892839570273673346332183464748",
"94381547344005423691757023332641525027",
"188105445622980579460385068751528358126",
"282855462666437056046769728825574381165",
"95448791571066765310717454944016033846",
"5050961516936315065527171207667190180",
"24205822349723972222462610454120361015",
"179466989396135042883801544285614234265",
"143136117635565570955123809464256706570"
]
},
"signature_version": "v1",
"source": "https://github.com/util-linux/util-linux/commit/c0186f14fbdb02f64c8e0ba701ce727ea764ff4c",
"signature_type": "Line"
},
{
"id": "CVE-2026-13595-ce73f75a",
"deprecated": false,
"source": "https://github.com/util-linux/util-linux/commit/c0186f14fbdb02f64c8e0ba701ce727ea764ff4c",
"digest": {
"function_hash": "282395791645024113705130550108167063989",
"length": 414.0
},
"signature_version": "v1",
"target": {
"function": "reset_partlist",
"file": "libblkid/src/partitions/partitions.c"
},
"signature_type": "Function"
},
{
"id": "CVE-2026-13595-e7a2aa2d",
"target": {
"function": "blkid_partlist_devno_to_partition",
"file": "libblkid/src/partitions/partitions.c"
},
"deprecated": false,
"digest": {
"function_hash": "329208663414441617353613194132553185299",
"length": 1673.0
},
"signature_version": "v1",
"source": "https://github.com/util-linux/util-linux/commit/c0186f14fbdb02f64c8e0ba701ce727ea764ff4c",
"signature_type": "Function"
},
{
"id": "CVE-2026-13595-f0c4535b",
"deprecated": false,
"source": "https://github.com/util-linux/util-linux/commit/c0186f14fbdb02f64c8e0ba701ce727ea764ff4c",
"digest": {
"function_hash": "87286813750223864186061166223263946582",
"length": 1112.0
},
"signature_version": "v1",
"target": {
"function": "blkid_probe_is_covered_by_pt",
"file": "libblkid/src/partitions/partitions.c"
},
"signature_type": "Function"
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-13595.json"
"2026-08-24T03:59:10Z"