CVE Catalog

CVE-2025-6019

HighCVSS 7.0
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.42%

34th percentile - higher than 34% of all known CVEs

Summary

A Local Privilege Escalation (LPE) vulnerability was found in libblockdev. The 'allow_active' setting in Polkit allows a physically present user to take certain actions, and due to libblockdev's interaction with the udisks daemon, such a user can escalate to full root privileges. An attacker can create a crafted XFS image with a SUID-root shell and trick udisks into resizing it, mounting the malicious filesystem with root privileges.

Risk Assessment

The organization faces complete system compromise by a local user, potentially leading to data theft, malware installation, or further network attacks.

Recommendation

Immediately update libblockdev to the latest patched version and restrict physical access to systems to minimize the risk of exploitation by a local attacker.

Related vulnerabilities

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS