{"id":"CVE-2026-13595","summary":"Util-linux: util-linux: heap use-after-free in libblkid nested partition probing","details":"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.","modified":"2026-09-02T08:05:46.239550Z","published":"2026-06-29T08:06:09.059Z","related":["SUSE-SU-2026:23250-1","SUSE-SU-2026:23255-1","SUSE-SU-2026:3684-1","SUSE-SU-2026:3685-1","SUSE-SU-2026:3812-1","SUSE-SU-2026:3813-1","openSUSE-SU-2026:11408-1"],"database_specific":{"cna_assigner":"redhat","cwe_ids":["CWE-416"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/13xxx/CVE-2026-13595.json"},"references":[{"type":"WEB","url":"https://access.redhat.com/downloads/content/package-browser/"},{"type":"WEB","url":"https://catalog.redhat.com/software/containers/"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:26573"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2026-13595"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/13xxx/CVE-2026-13595.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-13595"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2494101"},{"type":"FIX","url":"https://github.com/util-linux/util-linux/commit/c0186f14fbdb02f64c8e0ba701ce727ea764ff4c"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/util-linux/util-linux","events":[{"introduced":"0"},{"fixed":"f44509230b9f8224993b8c6157f85888359a64e1"},{"fixed":"c0186f14fbdb02f64c8e0ba701ce727ea764ff4c"}],"database_specific":{"cpe":"cpe:2.3:a:kernel:util-linux:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"2.42.2"}],"source":["CPE_RANGE","REFERENCES"]}}],"versions":["v2.42.1","v2.42","v2.42-rc2","v2.42-rc1","v2.43-devel","v2.42-start","v2.41-start","v2.41-devel","v2.40-rc1","v2.39","v2.39-rc3","v2.39-rc2","v2.39-rc1","v2.38","v2.38-rc4","v2.38-rc3","v2.38-rc2","v2.38-rc1","v2.37","v2.37-rc2","v2.37-rc1","v2.36","v2.36-rc2","v2.36-rc1","v2.35","v2.35-rc2","v2.35-rc1","v2.34","v2.34-rc2","v2.34-rc1","v2.33","v2.33-rc2","v2.33-rc1","v2.32","v2.32-rc2","v2.32-rc1","v2.31","v2.31-rc2","v2.31-rc1","v2.30","v2.30-rc2","v2.30-rc1","v2.29","v2.29-rc2","v2.29-rc1","v2.28","v2.28-rc2","v2.28-rc1","v2.27","v2.27-rc2","v2.27-rc1","v2.26","v2.26-rc2","v2.26-rc1","v2.25","v2.25-rc2","v2.25-rc1","v2.24","v2.24-rc2","v2.24-rc1","v2.23","v2.23-rc2","v2.23-rc1","v2.22","v2.22-rc2","v2.22-rc1","v2.21","v2.21-rc2","v2.21-rc1","v2.20","v2.20-rc2","v2.20-rc1","v2.19","v2.19-rc3","v2.19-rc2","v2.19-rc1","v2.18","v2.18-rc2","v2.18-rc1","v2.17","v2.17-rc3","v2.17-rc2","v2.17-rc1","v2.16","v2.16-rc2","v2.16-rc1","v2.15","v2.15-rc2","v2.15-rc1","v2.14","v2.14-rc3","v2.14-rc2","v2.14-rc1","v2.13","v2.13-rc3","v2.13-rc2","v2.13-rc1","v2.13-pre7","v2.13-pre6","v2.13-pre5","v2.13-pre4","v2.13-pre3","v2.13-pre2","v2.13-pre1","v2.12r","v2.12r-pre1","v2.12q","v2.12q-pre2","v2.12q-pre1","v2.12p","v2.12o","v2.12m","v2.12l","v2.12k","v2.12j","v2.12i","v2.12h","v2.12d","v2.12b","v2.12a","v2.12pre","v2.12","v2.11y","v2.11x","v2.11w","v2.11v","v2.11u","v2.11t","v2.11r","v2.11q","v2.11o","v2.11n","v2.11m","v2.11f","v2.11b","v2.10s","v2.10m","v2.10f","v2.9v","v2.9i","v2.8","v2.7.1","v2.5","v2.2"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-13595.json","vanir_signatures_modified":"2026-09-02T08:05:46Z","vanir_signatures":[{"signature_version":"v1","source":"https://github.com/util-linux/util-linux/commit/c0186f14fbdb02f64c8e0ba701ce727ea764ff4c","target":{"file":"libblkid/src/partitions/partitions.c","function":"new_partition"},"deprecated":false,"digest":{"length":472,"function_hash":"332786058802644049800222738065208801858"},"id":"CVE-2026-13595-4197d92f","signature_type":"Function"},{"deprecated":false,"digest":{"function_hash":"145470561372269655397282719998812264666","length":143},"id":"CVE-2026-13595-5da49bc9","signature_type":"Function","signature_version":"v1","source":"https://github.com/util-linux/util-linux/commit/c0186f14fbdb02f64c8e0ba701ce727ea764ff4c","target":{"file":"libblkid/src/partitions/partitions.c","function":"blkid_partlist_get_partition"}},{"deprecated":false,"digest":{"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"],"threshold":0.9},"id":"CVE-2026-13595-714c383b","signature_type":"Line","signature_version":"v1","source":"https://github.com/util-linux/util-linux/commit/c0186f14fbdb02f64c8e0ba701ce727ea764ff4c","target":{"file":"libblkid/src/partitions/partitions.c"}},{"digest":{"function_hash":"282395791645024113705130550108167063989","length":414},"id":"CVE-2026-13595-ce73f75a","signature_type":"Function","signature_version":"v1","source":"https://github.com/util-linux/util-linux/commit/c0186f14fbdb02f64c8e0ba701ce727ea764ff4c","target":{"file":"libblkid/src/partitions/partitions.c","function":"reset_partlist"},"deprecated":false},{"signature_version":"v1","source":"https://github.com/util-linux/util-linux/commit/c0186f14fbdb02f64c8e0ba701ce727ea764ff4c","target":{"function":"blkid_partlist_devno_to_partition","file":"libblkid/src/partitions/partitions.c"},"deprecated":false,"digest":{"function_hash":"329208663414441617353613194132553185299","length":1673},"id":"CVE-2026-13595-e7a2aa2d","signature_type":"Function"},{"deprecated":false,"digest":{"function_hash":"87286813750223864186061166223263946582","length":1112},"id":"CVE-2026-13595-f0c4535b","signature_type":"Function","signature_version":"v1","source":"https://github.com/util-linux/util-linux/commit/c0186f14fbdb02f64c8e0ba701ce727ea764ff4c","target":{"file":"libblkid/src/partitions/partitions.c","function":"blkid_probe_is_covered_by_pt"}}]}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H"}]}