Out-of-bounds Read Affecting udisks2 package, versions <2.10.1-11ubuntu2.3


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.02% (3rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2504-UDISKS2-12226006
  • published29 Aug 2025
  • disclosed28 Aug 2025

Introduced: 28 Aug 2025

NewCVE-2025-8067  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade Ubuntu:25.04 udisks2 to version 2.10.1-11ubuntu2.3 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream udisks2 package and not the udisks2 package as distributed by Ubuntu. See How to fix? for Ubuntu:25.04 relevant fixed versions and status.

A flaw was found in the Udisks daemon, where it allows unprivileged users to create loop devices using the D-BUS system. This is achieved via the loop device handler, which handles requests sent through the D-BUS interface. As two of the parameters of this handle, it receives the file descriptor list and index specifying the file where the loop device should be backed. The function itself validates the index value to ensure it isn't bigger than the maximum value allowed. However, it fails to validate the lower bound, allowing the index parameter to be a negative value. Under these circumstances, an attacker can cause the UDisks daemon to crash or perform a local privilege escalation by gaining access to files owned by privileged users.

CVSS Base Scores

version 3.1