Skip to main content
EPSS 0.5%top 61%

CVE-2025-6019: Execution with Unnecessary Privileges

0
High
VulnerabilityCVE-2025-6019cvecve-2025-6019
Published: 06/19/2025 (06/19/2025, 11:55:57 UTC)
Source: CVE Database V5
Vendor/Project: Red Hat
Product: Red Hat Enterprise Linux 10

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.

CVSS v3.1

Score 7.0high

Attack Vector
Local
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected software

Affected versions
=0=2.18-5.el7_9.1=2.19-13.el8_2

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/02/2026, 21:55:50 UTC

Technical Analysis

CVE-2025-6019 is a local privilege escalation vulnerability in libblockdev, a C library used for low-level block device operations. The vulnerability involves the interaction between libblockdev and the udisks daemon under Polkit's "allow_active" setting, which permits certain actions by physically present users based on session type. Normally, udisks mounts user-provided filesystem images with security flags (nosuid, nodev) to prevent privilege escalation. However, an attacker can craft a malicious XFS image containing a SUID-root shell and induce udisks to resize it, resulting in the malicious filesystem being mounted with root privileges. This allows execution of the SUID-root shell and full root access on the host. Red Hat has issued security advisories and updates for Red Hat Enterprise Linux 7 Extended Life Cycle Support and 8.2 Advanced Update Support to fix this issue.

Potential Impact

A local attacker with physical presence and an "allow_active" Polkit session can escalate privileges to root by exploiting the way libblockdev and udisks handle specially crafted XFS filesystem images. Successful exploitation results in full system compromise with root-level control. The CVSS v3.1 base score is 7.0 (High), reflecting high confidentiality, integrity, and availability impacts.

Mitigation Recommendations

Red Hat has released official security updates for libblockdev that address this vulnerability. Users should apply the relevant patches as described in the Red Hat advisories RHSA-2025:10796 for RHEL 7 Extended Life Cycle Support and RHSA-2025:9320 for RHEL 8.2 Advanced Update Support. Before applying these updates, ensure all previously released errata are applied. No additional mitigations are indicated by the vendor advisory.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.1
Assigner Short Name
redhat
Date Reserved
2025-06-11T22:14:52.625Z
Cvss Version
3.1
State
PUBLISHED
Vendor Advisory Urls
[{"url":"https://access.redhat.com/errata/RHSA-2025:10796","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2025:9320","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2025:9321","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2025:9322","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2025:9323","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2025:9324","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2025:9325","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2025:9326","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2025:9327","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2025:9328","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2025:9878","vendor":"Red Hat"},{"url":"https://access.redhat.com/security/cve/CVE-2025-6019","vendor":"Red Hat"}]

Threat ID: 6853fc3233c7acc046098387

Added to database: 06/19/2025, 12:01:54 UTC

Last enriched: 07/02/2026, 21:55:50 UTC

Last updated: 09/10/2026, 19:36:51 UTC

Views: 171

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses