cve.bz

CVE-2025-6019 Execution with Unnecessary Privileges

7.0 highEPSS 0.3%Fix available

High (7.0). EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
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 3.1

7.0 high
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
0.3% (down from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 14th percentile. Scored 2026-11-30. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2025-06-24. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-250 Execution with Unnecessary Privileges
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

  • Red Hat Red Hat Enterprise Linux 10: fixed in 0:3.2.0-4.el10_0
  • Red Hat Red Hat Enterprise Linux 7 Extended Lifecycle Support: fixed in 0:2.18-5.el7_9.1
  • Red Hat Red Hat Enterprise Linux 8: fixed in 0:2.28-7.el8_10
  • Red Hat Red Hat Enterprise Linux 8.2 Advanced Update Support: fixed in 0:2.19-13.el8_2
  • Red Hat Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support: fixed in 0:2.24-6.el8_4
  • Red Hat Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support: fixed in 0:2.24-9.el8_6
  • Red Hat Red Hat Enterprise Linux 8.6 Telecommunications Update Service: fixed in 0:2.24-9.el8_6
  • Red Hat Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions: fixed in 0:2.24-9.el8_6
  • Debian, Ubuntu, Red Hat, SUSE, openSUSE, AlmaLinux, Rocky Linux: fixed package versions per release

Ask an AI about this CVE

Show the promptExplain CVE-2025-6019 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-6019?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-6019?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-6019 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Versions

From the CNA's record in the CVE List.

Fixed in

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

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11libblockdev2.25-2+deb11u1DLA-4221-1
Debian12libblockdev2.28-2+deb12u1DEBIAN-CVE-2025-6019 DSA-5943-1
Debian13, 14libblockdev3.3.0-2.1DEBIAN-CVE-2025-6019
Ubuntu22.04:LTSlibblockdev2.26-1ubuntu0.1UBUNTU-CVE-2025-6019 USN-7577-1
Ubuntu22.04:LTSudisks22.9.4-1ubuntu2.2UBUNTU-CVE-2025-6019 USN-7578-1
Ubuntu24.04:LTSlibblockdev3.1.1-1ubuntu0.1UBUNTU-CVE-2025-6019 USN-7577-1
Ubuntu24.04:LTSudisks22.10.1-6ubuntu1.2UBUNTU-CVE-2025-6019 USN-7578-1
Ubuntu25.10udisks22.10.1-12.1ubuntu1UBUNTU-CVE-2025-6019
UbuntuPro:18.04:LTSlibblockdev2.16-2ubuntu0.1~esm1UBUNTU-CVE-2025-6019 USN-7577-2
UbuntuPro:18.04:LTSudisks22.7.6-3ubuntu0.2+esm1UBUNTU-CVE-2025-6019 USN-7578-2
UbuntuPro:20.04:LTSlibblockdev2.23-2ubuntu3+esm1UBUNTU-CVE-2025-6019 USN-7577-2
UbuntuPro:20.04:LTSudisks22.8.4-1ubuntu2+esm1UBUNTU-CVE-2025-6019 USN-7578-2
Red Hatenterprise_linux:8::appstreamlibblockdev, libblockdev-dm, libblockdev-fs and 33 more0:2.28-7.el8_10RHSA-2025:9878
Red Hatenterprise_linux:8::crblibblockdev-devel, libblockdev-fs-devel, libblockdev-debuginfo and 25 more0:2.28-7.el8_10RHSA-2025:9878
Red Hatenterprise_linux:9::appstreamlibblockdev, libblockdev-dm, libblockdev-fs and 34 more0:2.28-14.el9_6RHSA-2025:9327
Red Hatenterprise_linux:10.0libblockdev, libblockdev-dm, libblockdev-fs and 36 more0:3.2.0-4.el10_0RHSA-2025:9328
Red Hatrhel_aus:8.2::appstreamlibblockdev, libblockdev-dm, libblockdev-fs and 30 more0:2.19-13.el8_2RHSA-2025:9320
Red Hatrhel_aus:8.4::appstreamlibblockdev, libblockdev-dm, libblockdev-fs and 31 more0:2.24-6.el8_4RHSA-2025:9321
Red Hatrhel_aus:8.6::appstream, rhel_tus:8.6::appstreamlibblockdev, libblockdev-dm, libblockdev-fs and 31 more0:2.24-9.el8_6RHSA-2025:9322
Red Hatrhel_e4s:8.6::appstreamlibblockdev, libblockdev-dm, libblockdev-fs and 33 more0:2.24-9.el8_6RHSA-2025:9322
Red Hatrhel_e4s:8.8::appstreamlibblockdev, libblockdev-dm, libblockdev-fs and 31 more0:2.28-3.el8_8RHSA-2025:9323
Red Hatrhel_e4s:9.0::appstreamlibblockdev, libblockdev-dm, libblockdev-fs and 32 more0:2.25-12.el9_0RHSA-2025:9324
Red Hatrhel_e4s:9.2::appstreamlibblockdev, libblockdev-dm, libblockdev-fs and 34 more0:2.28-5.el9_2RHSA-2025:9325
Red Hatrhel_els:7libblockdev, libblockdev-dm, libblockdev-fs and 32 more0:2.18-5.el7_9.1RHSA-2025:10796
1 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise Server 15 SP3-LTSS and 1 morelibblockdev2.22-150200.3.3.1SUSE-SU-2025:02043-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 14 morelibblockdev2.26-150400.3.5.1SUSE-SU-2025:02044-1
SUSELinux Micro 6.0libblockdev2.28-2.1SUSE-SU-2025:20426-1
SUSELinux Micro 6.1libblockdev2.28-slfo.1.1_2.1SUSE-SU-2025:20440-1
openSUSELeap 15.6libblockdev2.26-150400.3.5.1SUSE-SU-2025:02044-1
openSUSETumbleweedlibblockdev3.1.1-2.1openSUSE-SU-2025:15237-1
AlmaLinux8libblockdev, libblockdev-dm, libblockdev-fs and 32 more2.28-6.el8.alma.1ALSA-2025:A004
AlmaLinux8libblockdev, libblockdev-dm, libblockdev-fs and 25 more2.28-7.el8_10ALSA-2025:9878
AlmaLinux9libblockdev, libblockdev-dm, libblockdev-fs and 32 more2.28-13.el9_6.alma.1ALSA-2025:A005
AlmaLinux9libblockdev, libblockdev-dm, libblockdev-fs and 16 more2.28-14.el9_6ALSA-2025:9327
AlmaLinux10libblockdev, libblockdev-dm, libblockdev-fs and 34 more3.2.0-3.el10_0.alma.1ALSA-2025:A006
AlmaLinux10libblockdev, libblockdev-dm, libblockdev-fs and 17 more3.2.0-4.el10_0ALSA-2025:9328
Rocky Linux8libblockdev0:2.28-7.el8_10RLSA-2025:9878
Rocky Linux9libblockdev0:2.28-14.el9_6RLSA-2025:9327
Rocky Linux10libblockdev0:3.2.0-4.el10_0RLSA-2025:9328
Azure Linux2libblockdevno fix listedAZL-64187
Azure Linux3libblockdevno fix listedAZL-64190

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

While this vulnerability could allow a remote attacker to gain full control of the system, the default configuration of Red Hat offerings prevent such broad exploitation. Systems are at heightened risk if Policy Kit (polkit) were modified to allow remote users (for example SSH) to appear like regular local users. Due to the unlikely configuration required, the conditions to remotely exploit this vulnerability are typically not present, reducing the impact to Important.

Red Hat's mitigation

Currently, no mitigation is available for this vulnerability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10libblockdev-0:3.2.0-4.el10_0Fixed 2025-06-23RHSA-2025:9328
Red Hat Enterprise Linux 7 Extended Lifecycle Supportlibblockdev-0:2.18-5.el7_9.1Fixed 2025-07-10RHSA-2025:10796
Red Hat Enterprise Linux 8libblockdev-0:2.28-7.el8_10Fixed 2025-06-30RHSA-2025:9878
Red Hat Enterprise Linux 8.2 Advanced Update Supportlibblockdev-0:2.19-13.el8_2Fixed 2025-06-23RHSA-2025:9320
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportlibblockdev-0:2.24-6.el8_4Fixed 2025-06-23RHSA-2025:9321
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Supportlibblockdev-0:2.24-9.el8_6Fixed 2025-06-23RHSA-2025:9322
Red Hat Enterprise Linux 8.6 Telecommunications Update Servicelibblockdev-0:2.24-9.el8_6Fixed 2025-06-23RHSA-2025:9322
Red Hat Enterprise Linux 8.6 Update Services for SAP Solutionslibblockdev-0:2.24-9.el8_6Fixed 2025-06-23RHSA-2025:9322
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutionslibblockdev-0:2.28-3.el8_8Fixed 2025-06-23RHSA-2025:9323
Red Hat Enterprise Linux 9libblockdev-0:2.28-14.el9_6Fixed 2025-06-23RHSA-2025:9327
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutionslibblockdev-0:2.25-12.el9_0Fixed 2025-06-23RHSA-2025:9324
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutionslibblockdev-0:2.28-5.el9_2Fixed 2025-06-23RHSA-2025:9325
Red Hat Enterprise Linux 9.4 Extended Update Supportlibblockdev-0:2.28-11.el9_4Fixed 2025-06-23RHSA-2025:9326

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-6019.

GitHub PoC

Repositories on GitHub named after this CVE or listed for it by the PoC-in-GitHub index. For those marked Harbor Check: matches CVE, Flawharbor read the code and found it implements this CVE's exploitation technique: read, not run, and its dependencies only checked for warning signs, so a pointer and no guarantee. The rest are unverified: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it. How Harbor Check reads them, and what it found.

11 more

Attack patterns (CAPEC)

  • CAPEC-69 Target Programs with Elevated Privileges Likelihood: High · Severity: Very High
  • CAPEC-104 Cross Zone Scripting Likelihood: Medium · Severity: High
  • CAPEC-470 Expanding Control over the Operating System from the Database Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON