VDB

CVE-2025-6019

CVE-2025-6019 PUBLISHED CVSS 7 HIGH

Libblockdev: lpe from allow_active to root in libblockdev via udisks

Reported by redhat · Published June 19, 2025

libblockdev is fixed in 3.3.1 (GitHub Packages)

A Local Privilege Escalation (LPE) vulnerability was found in libblockdev. Generally, the "allow_active" setting in Polkit permits a physically present user to take certain actions based on the session type. Due to the way libblockdev interacts with the udisks daemon, an "allow_active" user on a system may be able escalate to full root privileges on the target host. Normally, udisks mounts user-provided filesystem images with security flags like nosuid and nodev to prevent privilege escalation. However, a local attacker can create a specially crafted XFS image containing a SUID-root shell, then trick udisks into resizing it. This mounts their malicious filesystem with root privileges, allowing them to execute their SUID-root shell and gain complete control of the system.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
libblockdevGitHub Packages3.3.1
udisks2Amazon Linux2.10.1-6.amzn2023.0.2, 2.7.3-9.amzn2.0.3
libblockdev-cryptoAmazon Linux3.2.1-1.amzn2023.0.3, 2.18-4.amzn2.0.2
libblockdev-plugins-allAmazon Linux3.2.1-1.amzn2023.0.3, 2.18-4.amzn2.0.2
libblockdev-partAmazon Linux3.2.1-1.amzn2023.0.3, 2.18-4.amzn2.0.2
libudisks2Amazon Linux2.10.1-6.amzn2023.0.2, 2.7.3-9.amzn2.0.3
libblockdev-btrfsAmazon Linux2.18-4.amzn2.0.2
libblockdev-smartAmazon Linux3.2.1-1.amzn2023.0.3
libblockdev-utils-develAmazon Linux3.2.1-1.amzn2023.0.3, 2.18-4.amzn2.0.2
libblockdev-smart-develAmazon Linux3.2.1-1.amzn2023.0.3
libblockdev-nvdimm-develAmazon Linux3.2.1-1.amzn2023.0.3, 2.18-4.amzn2.0.2
libblockdev-swap-develAmazon Linux3.2.1-1.amzn2023.0.3, 2.18-4.amzn2.0.2

36 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
7
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
0
Red HatRed Hat Enterprise Linux 100:3.2.0-4.el10_0
Red HatRed Hat Enterprise Linux 7 Extended Lifecycle Support0:2.18-5.el7_9.1
Red HatRed Hat Enterprise Linux 80:2.28-7.el8_10
Red HatRed Hat Enterprise Linux 8.2 Advanced Update Support0:2.19-13.el8_2
Red HatRed Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support0:2.24-6.el8_4
Red HatRed Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support0:2.24-9.el8_6
Red HatRed Hat Enterprise Linux 8.6 Telecommunications Update Service0:2.24-9.el8_6
Red HatRed Hat Enterprise Linux 8.6 Update Services for SAP Solutions0:2.24-9.el8_6
Red HatRed Hat Enterprise Linux 8.8 Update Services for SAP Solutions0:2.28-3.el8_8
Red HatRed Hat Enterprise Linux 90:2.28-14.el9_6
Red HatRed Hat Enterprise Linux 9.0 Update Services for SAP Solutions0:2.25-12.el9_0
Red HatRed Hat Enterprise Linux 9.2 Update Services for SAP Solutions0:2.28-5.el9_2
Red HatRed Hat Enterprise Linux 9.4 Extended Update Support0:2.28-11.el9_4
amazon:2udisks20
amazon:2023libblockdev-crypto0
Red HatRed Hat Enterprise Linux 9.4 Extended Update Support0:2.28-11.el9_4
amazon:2libblockdev-plugins-all0
amazon:2libblockdev-part0
amazon:2023udisks20

…and 86 more

Timeline

  • Jun 17, 2025 PoC Published (89 in total, the first dated here)
  • Jun 17, 2025 CVE Published
  • Jun 19, 2025 EPSS Score (30 in total, the first dated here)
  • Jun 19, 2025 VulnCheck XDB Entry (21 in total, the first dated here)
  • Oct 9, 2025 VulnCheck KEV Exploitation
  • Mar 11, 2026 Distribution Patch (12 in total, the first dated here)
  • Mar 11, 2026 Security Advisory (15 in total, the first dated here)
  • Mar 26, 2026 Coalition ESS Score (2 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-6019
vulnetix vdb fixes CVE-2025-6019

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-6019/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›