{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2025-6019 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2025-6019 is a high-severity vulnerability in Red Hat Enterprise Linux 10, published on 19 Jun 2025. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-6019 and fix it if it is affected.\n\nWhat it is: CVE-2025-6019 is a high-severity vulnerability in Red Hat Enterprise Linux 10, published on 19 Jun 2025. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2025-6019 in the wild and no public exploit code.\n\nAffected product: Red Hat Enterprise Linux 10. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-6019/ (Markdown: https://insights.sbomify.com/CVE-2025-6019/index.md)","id":"CVE-2025-6019","markdown":"https://insights.sbomify.com/CVE-2025-6019/index.md","name":"CVE-2025-6019","record":{"aliases":["ALSA-2025:9327","ALSA-2025:9328","ALSA-2025:9878","ALSA-2025:A004","ALSA-2025:A005","ALSA-2025:A006","AZL-64187","AZL-64190","CLSA-2025-1753131177","CLSA-2025-1754340109","CLSA-2025-1764325063","CLSA-2026-1791302095","DEBIAN-CVE-2025-6019","DLA-4221-1","DSA-5943-1","GHSA-mpgj-hch9-5rvx","MGASA-2025-0188","OESA-2025-1677","OESA-2025-1688","RHSA-2025:10796","RHSA-2025:9320","RHSA-2025:9321","RHSA-2025:9322","RHSA-2025:9323","RHSA-2025:9324","RHSA-2025:9325","RHSA-2025:9326","RHSA-2025:9327","RHSA-2025:9328","RHSA-2025:9878","RLSA-2025:9327","RLSA-2025:9328","RLSA-2025:9878","SUSE-SU-2025:02043-1","SUSE-SU-2025:02044-1","SUSE-SU-2025:20426-1","SUSE-SU-2025:20440-1","UBUNTU-CVE-2025-6019","USN-7577-1","USN-7577-2","USN-7578-1","USN-7578-2","openSUSE-SU-2025:15237-1"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["privilege_escalation","code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Linux storage library","requires_auth":"low_privilege","summary":"A local attacker can escalate to root privileges by tricking udisks into mounting a malicious XFS image with SUID binaries via libblockdev.","user_interaction":"not_required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[],"cvss":{"score":7,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-250","name":"Execution with Unnecessary Privileges"}],"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.","ecosystems":["AlmaLinux:10","AlmaLinux:8","AlmaLinux:9","Red Hat:enterprise_linux:10.0","Red Hat:enterprise_linux:8::appstream","Red Hat:enterprise_linux:8::crb","Red Hat:enterprise_linux:9::appstream","Red Hat:rhel_aus:8.2::appstream","Red Hat:rhel_aus:8.4::appstream","Red Hat:rhel_aus:8.6::appstream","Red Hat:rhel_e4s:8.6::appstream","Red Hat:rhel_e4s:8.8::appstream","Red Hat:rhel_e4s:9.0::appstream","Red Hat:rhel_e4s:9.2::appstream","Red Hat:rhel_els:7","Red Hat:rhel_eus:9.4::appstream","Red Hat:rhel_tus:8.6::appstream","Rocky Linux:10","Rocky Linux:8","Rocky Linux:9","SUSE:Enterprise Storage 7.1","SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS","SUSE:Linux Enterprise Micro 5.3","SUSE:Linux Enterprise Micro 5.4","SUSE:Linux Enterprise Micro 5.5","SUSE:Linux Enterprise Module for Basesystem 15 SP6","SUSE:Linux Enterprise Module for Basesystem 15 SP7","SUSE:Linux Enterprise Module for Package Hub 15 SP6","SUSE:Linux Enterprise Module for Package Hub 15 SP7","SUSE:Linux Enterprise Server 15 SP3-LTSS","SUSE:Linux Enterprise Server 15 SP4-LTSS","SUSE:Linux Enterprise Server 15 SP5-LTSS","SUSE:Linux Enterprise Server for SAP Applications 15 SP3","SUSE:Linux Enterprise Server for SAP Applications 15 SP4","SUSE:Linux Enterprise Server for SAP Applications 15 SP5","SUSE:Linux Micro 6.0","SUSE:Linux Micro 6.1","SUSE:Manager Proxy 4.3","SUSE:Manager Server 4.3","openSUSE:Leap 15.6","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":"2025-06-19","github_poc":11,"max_poc_stars":71,"metasploit":0,"nuclei":0,"refs":[{"date":"2025-06-19T02:42:21Z","kind":"github_poc","ref":"https://github.com/guinea-offensive-security/CVE-2025-6019","stars":71,"title":null},{"date":"2025-06-20T10:47:38Z","kind":"github_poc","ref":"https://github.com/And-oss/CVE-2025-6019-exploit","stars":4,"title":"exploit"},{"date":"2025-06-29T11:53:21Z","kind":"github_poc","ref":"https://github.com/neko205-mx/CVE-2025-6019_Exploit","stars":3,"title":null},{"date":"2026-02-13T22:26:25Z","kind":"github_poc","ref":"https://github.com/JM00NJ/CVE-2025-6019-udisks2-XFS-Resize-TOCTOU-Privilege-Escalation","stars":3,"title":"CVE-2025-6019: udisks2 XFS Resize TOCTOU Privilege Escalation"},{"date":"2026-02-10T09:29:32Z","kind":"github_poc","ref":"https://github.com/symphony2colour/CVE-2025-6019-udisks-lpe-no-image","stars":1,"title":"Script-only privilege escalation chain using CVE-2025-6019 and UDisks2 (no filesystem image included)."},{"date":"2025-06-20T16:07:17Z","kind":"github_poc","ref":"https://github.com/JustThinkingHard/HID-Attack","stars":0,"title":"Full BadUSB attack chain: keystroke-injection payload delivery, C2 client, privilege escalation (CVE-2025-6019), and systemd persistence on Linux."},{"date":"2025-09-03T11:52:20Z","kind":"github_poc","ref":"https://github.com/harshitvarma05/CVE-2025-6019","stars":0,"title":null},{"date":"2025-12-11T14:04:03Z","kind":"github_poc","ref":"https://github.com/robbin0919/CVE-2025-6019","stars":0,"title":null}],"tier":"poc_unverified"},"has_fix":true,"headline":"Libblockdev: lpe from allow_active to root in libblockdev via udisks","id":"CVE-2025-6019","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"privilege_escalation","year":"2025"},"n_packages":691,"n_references":14,"next":{"headline":"Linux-pam: linux-pam directory traversal","id":"CVE-2025-6020"},"packages":[{"ecosystem":"AlmaLinux:10","fixed":["3.2.0-3.el10_0.alma.1"],"introduced":["0"],"last_affected":[],"package":"libblockdev","purl":"pkg:rpm/almalinux/libblockdev","source":"ALSA-2025:A006"},{"ecosystem":"AlmaLinux:10","fixed":["3.2.0-4.el10_0"],"introduced":["0"],"last_affected":[],"package":"libblockdev","purl":"pkg:rpm/almalinux/libblockdev","source":"ALSA-2025:9328"},{"ecosystem":"AlmaLinux:10","fixed":["3.2.0-3.el10_0.alma.1"],"introduced":["0"],"last_affected":[],"package":"libblockdev-crypto","purl":"pkg:rpm/almalinux/libblockdev-crypto","source":"ALSA-2025:A006"},{"ecosystem":"AlmaLinux:10","fixed":["3.2.0-4.el10_0"],"introduced":["0"],"last_affected":[],"package":"libblockdev-crypto","purl":"pkg:rpm/almalinux/libblockdev-crypto","source":"ALSA-2025:9328"},{"ecosystem":"AlmaLinux:10","fixed":["3.2.0-3.el10_0.alma.1"],"introduced":["0"],"last_affected":[],"package":"libblockdev-crypto-devel","purl":"pkg:rpm/almalinux/libblockdev-crypto-devel","source":"ALSA-2025:A006"},{"ecosystem":"AlmaLinux:10","fixed":["3.2.0-3.el10_0.alma.1"],"introduced":["0"],"last_affected":[],"package":"libblockdev-devel","purl":"pkg:rpm/almalinux/libblockdev-devel","source":"ALSA-2025:A006"},{"ecosystem":"AlmaLinux:10","fixed":["3.2.0-3.el10_0.alma.1"],"introduced":["0"],"last_affected":[],"package":"libblockdev-dm","purl":"pkg:rpm/almalinux/libblockdev-dm","source":"ALSA-2025:A006"},{"ecosystem":"AlmaLinux:10","fixed":["3.2.0-4.el10_0"],"introduced":["0"],"last_affected":[],"package":"libblockdev-dm","purl":"pkg:rpm/almalinux/libblockdev-dm","source":"ALSA-2025:9328"},{"ecosystem":"AlmaLinux:10","fixed":["3.2.0-3.el10_0.alma.1"],"introduced":["0"],"last_affected":[],"package":"libblockdev-dm-devel","purl":"pkg:rpm/almalinux/libblockdev-dm-devel","source":"ALSA-2025:A006"},{"ecosystem":"AlmaLinux:10","fixed":["3.2.0-3.el10_0.alma.1"],"introduced":["0"],"last_affected":[],"package":"libblockdev-fs","purl":"pkg:rpm/almalinux/libblockdev-fs","source":"ALSA-2025:A006"},{"ecosystem":"AlmaLinux:10","fixed":["3.2.0-4.el10_0"],"introduced":["0"],"last_affected":[],"package":"libblockdev-fs","purl":"pkg:rpm/almalinux/libblockdev-fs","source":"ALSA-2025:9328"},{"ecosystem":"AlmaLinux:10","fixed":["3.2.0-3.el10_0.alma.1"],"introduced":["0"],"last_affected":[],"package":"libblockdev-fs-devel","purl":"pkg:rpm/almalinux/libblockdev-fs-devel","source":"ALSA-2025:A006"},{"ecosystem":"AlmaLinux:10","fixed":["3.2.0-3.el10_0.alma.1"],"introduced":["0"],"last_affected":[],"package":"libblockdev-loop","purl":"pkg:rpm/almalinux/libblockdev-loop","source":"ALSA-2025:A006"},{"ecosystem":"AlmaLinux:10","fixed":["3.2.0-4.el10_0"],"introduced":["0"],"last_affected":[],"package":"libblockdev-loop","purl":"pkg:rpm/almalinux/libblockdev-loop","source":"ALSA-2025:9328"},{"ecosystem":"AlmaLinux:10","fixed":["3.2.0-3.el10_0.alma.1"],"introduced":["0"],"last_affected":[],"package":"libblockdev-loop-devel","purl":"pkg:rpm/almalinux/libblockdev-loop-devel","source":"ALSA-2025:A006"},{"ecosystem":"AlmaLinux:10","fixed":["3.2.0-3.el10_0.alma.1"],"introduced":["0"],"last_affected":[],"package":"libblockdev-lvm","purl":"pkg:rpm/almalinux/libblockdev-lvm","source":"ALSA-2025:A006"},{"ecosystem":"AlmaLinux:10","fixed":["3.2.0-4.el10_0"],"introduced":["0"],"last_affected":[],"package":"libblockdev-lvm","purl":"pkg:rpm/almalinux/libblockdev-lvm","source":"ALSA-2025:9328"},{"ecosystem":"AlmaLinux:10","fixed":["3.2.0-3.el10_0.alma.1"],"introduced":["0"],"last_affected":[],"package":"libblockdev-lvm-dbus","purl":"pkg:rpm/almalinux/libblockdev-lvm-dbus","source":"ALSA-2025:A006"},{"ecosystem":"AlmaLinux:10","fixed":["3.2.0-4.el10_0"],"introduced":["0"],"last_affected":[],"package":"libblockdev-lvm-dbus","purl":"pkg:rpm/almalinux/libblockdev-lvm-dbus","source":"ALSA-2025:9328"},{"ecosystem":"AlmaLinux:10","fixed":["3.2.0-3.el10_0.alma.1"],"introduced":["0"],"last_affected":[],"package":"libblockdev-lvm-dbus-devel","purl":"pkg:rpm/almalinux/libblockdev-lvm-dbus-devel","source":"ALSA-2025:A006"},{"ecosystem":"AlmaLinux:10","fixed":["3.2.0-3.el10_0.alma.1"],"introduced":["0"],"last_affected":[],"package":"libblockdev-lvm-devel","purl":"pkg:rpm/almalinux/libblockdev-lvm-devel","source":"ALSA-2025:A006"},{"ecosystem":"AlmaLinux:10","fixed":["3.2.0-3.el10_0.alma.1"],"introduced":["0"],"last_affected":[],"package":"libblockdev-mdraid","purl":"pkg:rpm/almalinux/libblockdev-mdraid","source":"ALSA-2025:A006"},{"ecosystem":"AlmaLinux:10","fixed":["3.2.0-4.el10_0"],"introduced":["0"],"last_affected":[],"package":"libblockdev-mdraid","purl":"pkg:rpm/almalinux/libblockdev-mdraid","source":"ALSA-2025:9328"},{"ecosystem":"AlmaLinux:10","fixed":["3.2.0-3.el10_0.alma.1"],"introduced":["0"],"last_affected":[],"package":"libblockdev-mdraid-devel","purl":"pkg:rpm/almalinux/libblockdev-mdraid-devel","source":"ALSA-2025:A006"},{"ecosystem":"AlmaLinux:10","fixed":["3.2.0-3.el10_0.alma.1"],"introduced":["0"],"last_affected":[],"package":"libblockdev-mpath","purl":"pkg:rpm/almalinux/libblockdev-mpath","source":"ALSA-2025:A006"},{"ecosystem":"AlmaLinux:10","fixed":["3.2.0-4.el10_0"],"introduced":["0"],"last_affected":[],"package":"libblockdev-mpath","purl":"pkg:rpm/almalinux/libblockdev-mpath","source":"ALSA-2025:9328"},{"ecosystem":"AlmaLinux:10","fixed":["3.2.0-3.el10_0.alma.1"],"introduced":["0"],"last_affected":[],"package":"libblockdev-mpath-devel","purl":"pkg:rpm/almalinux/libblockdev-mpath-devel","source":"ALSA-2025:A006"},{"ecosystem":"AlmaLinux:10","fixed":["3.2.0-3.el10_0.alma.1"],"introduced":["0"],"last_affected":[],"package":"libblockdev-nvdimm","purl":"pkg:rpm/almalinux/libblockdev-nvdimm","source":"ALSA-2025:A006"},{"ecosystem":"AlmaLinux:10","fixed":["3.2.0-4.el10_0"],"introduced":["0"],"last_affected":[],"package":"libblockdev-nvdimm","purl":"pkg:rpm/almalinux/libblockdev-nvdimm","source":"ALSA-2025:9328"},{"ecosystem":"AlmaLinux:10","fixed":["3.2.0-3.el10_0.alma.1"],"introduced":["0"],"last_affected":[],"package":"libblockdev-nvdimm-devel","purl":"pkg:rpm/almalinux/libblockdev-nvdimm-devel","source":"ALSA-2025:A006"},{"ecosystem":"AlmaLinux:10","fixed":["3.2.0-3.el10_0.alma.1"],"introduced":["0"],"last_affected":[],"package":"libblockdev-nvme","purl":"pkg:rpm/almalinux/libblockdev-nvme","source":"ALSA-2025:A006"},{"ecosystem":"AlmaLinux:10","fixed":["3.2.0-4.el10_0"],"introduced":["0"],"last_affected":[],"package":"libblockdev-nvme","purl":"pkg:rpm/almalinux/libblockdev-nvme","source":"ALSA-2025:9328"},{"ecosystem":"AlmaLinux:10","fixed":["3.2.0-3.el10_0.alma.1"],"introduced":["0"],"last_affected":[],"package":"libblockdev-nvme-devel","purl":"pkg:rpm/almalinux/libblockdev-nvme-devel","source":"ALSA-2025:A006"},{"ecosystem":"AlmaLinux:10","fixed":["3.2.0-3.el10_0.alma.1"],"introduced":["0"],"last_affected":[],"package":"libblockdev-part","purl":"pkg:rpm/almalinux/libblockdev-part","source":"ALSA-2025:A006"},{"ecosystem":"AlmaLinux:10","fixed":["3.2.0-4.el10_0"],"introduced":["0"],"last_affected":[],"package":"libblockdev-part","purl":"pkg:rpm/almalinux/libblockdev-part","source":"ALSA-2025:9328"},{"ecosystem":"AlmaLinux:10","fixed":["3.2.0-3.el10_0.alma.1"],"introduced":["0"],"last_affected":[],"package":"libblockdev-part-devel","purl":"pkg:rpm/almalinux/libblockdev-part-devel","source":"ALSA-2025:A006"},{"ecosystem":"AlmaLinux:10","fixed":["3.2.0-3.el10_0.alma.1"],"introduced":["0"],"last_affected":[],"package":"libblockdev-plugins-all","purl":"pkg:rpm/almalinux/libblockdev-plugins-all","source":"ALSA-2025:A006"},{"ecosystem":"AlmaLinux:10","fixed":["3.2.0-4.el10_0"],"introduced":["0"],"last_affected":[],"package":"libblockdev-plugins-all","purl":"pkg:rpm/almalinux/libblockdev-plugins-all","source":"ALSA-2025:9328"},{"ecosystem":"AlmaLinux:10","fixed":["3.2.0-3.el10_0.alma.1"],"introduced":["0"],"last_affected":[],"package":"libblockdev-s390","purl":"pkg:rpm/almalinux/libblockdev-s390","source":"ALSA-2025:A006"},{"ecosystem":"AlmaLinux:10","fixed":["3.2.0-4.el10_0"],"introduced":["0"],"last_affected":[],"package":"libblockdev-s390","purl":"pkg:rpm/almalinux/libblockdev-s390","source":"ALSA-2025:9328"}],"prev":{"headline":"Pam-config: lpe from unprivileged to allow_active in pam","id":"CVE-2025-6018"},"products":["Red Hat Enterprise Linux 10","Red Hat Enterprise Linux 7 Extended Lifecycle Support","Red Hat Enterprise Linux 8","Red Hat Enterprise Linux 8.2 Advanced Update Support","Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support","Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support","Red Hat Enterprise Linux 8.6 Telecommunications Update Service","Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions","Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions","Red Hat Enterprise Linux 9","Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions","Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions","Red Hat Enterprise Linux 9.4 Extended Update Support"],"published":"2025-06-19","related":[],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-06-30","vendors":["Red Hat"]},"summary":"A local attacker can escalate to root privileges by tricking udisks into mounting a malicious XFS image with SUID binaries via libblockdev.","url":"https://insights.sbomify.com/CVE-2025-6019/"}