CVE-2025-6019
Libblockdev: lpe from allow_active to root in libblockdev via udisks
Check your servers for CVE-2025-6019
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-6019 affects libblockdev, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
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.
Severity (CVSS)
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- high: an attack depends on conditions outside the control of the attacker, such as a race
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.29%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 13.6% of all scored CVEs. Scores of 29 Nov 2026.
The assessment of CISA (SSVC, 24 Jun 2025):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- total: full control of the component or of its data
Weakness
- CWE-250 Execution with Unnecessary Privileges
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
libblockdev
package
libblockdev |
affected before 3.3.1
Other versions: unaffected
|
|
Red Hat Enterprise Linux 10
package
libblockdev |
unaffected 0:3.2.0-4.el10_0 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 7 Extended Lifecycle Support
package
libblockdev |
unaffected 0:2.18-5.el7_9.1 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8
package
libblockdev |
unaffected 0:2.28-7.el8_10 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8.2 Advanced Update Support
package
libblockdev |
unaffected 0:2.19-13.el8_2 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
package
libblockdev |
unaffected 0:2.24-6.el8_4 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
package
libblockdev |
unaffected 0:2.24-9.el8_6 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8.6 Telecommunications Update Service
package
libblockdev |
unaffected 0:2.24-9.el8_6 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions
package
libblockdev |
unaffected 0:2.24-9.el8_6 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions
package
libblockdev |
unaffected 0:2.28-3.el8_8 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 9
package
libblockdev |
unaffected 0:2.28-14.el9_6 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions
package
libblockdev |
unaffected 0:2.25-12.el9_0 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions
package
libblockdev |
unaffected 0:2.28-5.el9_2 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 9.4 Extended Update Support
package
libblockdev |
unaffected 0:2.28-11.el9_4 and later
Other versions: affected
|
Is my server affected?
Find the installed version of libblockdev and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i libblockdev
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2025-6019 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2025-6019RHEL, Rocky, Alma, Fedora
rpm -q libblockdev
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2025-6019Alpine
apk list --installed | grep -i libblockdevWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2025-6019
trivy image --scanners vuln IMAGE | grep CVE-2025-6019
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- RHSA-2025:10796 access.redhat.com · vendor advisory
- RHSA-2025:9320 access.redhat.com · vendor advisory
- RHSA-2025:9321 access.redhat.com · vendor advisory
- RHSA-2025:9322 access.redhat.com · vendor advisory
- RHSA-2025:9323 access.redhat.com · vendor advisory
- RHSA-2025:9324 access.redhat.com · vendor advisory
- RHSA-2025:9325 access.redhat.com · vendor advisory
- RHSA-2025:9326 access.redhat.com · vendor advisory
- RHSA-2025:9327 access.redhat.com · vendor advisory
- RHSA-2025:9328 access.redhat.com · vendor advisory
- RHSA-2025:9878 access.redhat.com · vendor advisory
- https://access.redhat.com/security/cve/CVE-2025-6019 access.redhat.com · vdb entry
- RHBZ#2370051 bugzilla.redhat.com · issue tracking
Other references
- https://cdn2.qualys.com/2025/06/17/suse15-pam-udisks-lpe.txt cdn2.qualys.com
- http://www.openwall.com/lists/oss-security/2025/06/17/5 openwall.com
- http://www.openwall.com/lists/oss-security/2025/06/17/6 openwall.com
- https://lists.debian.org/debian-lts-announce/2025/06/msg00018.html lists.debian.org
- http://www.openwall.com/lists/oss-security/2025/06/18/1 openwall.com
- https://www.bleepingcomputer.com/news/linux/new-linux-udisks-flaw-lets-attackers-get-root-on-major-linux-distros/ bleepingcomputer.com
- https://news.ycombinator.com/item?id=44325861 news.ycombinator.com
Source: the record CVE-2025-6019 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse