Out-of-Bounds Affecting uv package, versions <0.8.9-r1


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.01% (2nd 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-CHAINGUARDLATEST-UV-11797382
  • published14 Aug 2025
  • disclosed11 Aug 2025

Introduced: 11 Aug 2025

NewCVE-2025-55159  (opens in a new tab)
CWE-119  (opens in a new tab)

How to fix?

Upgrade Chainguard uv to version 0.8.9-r1 or higher.

NVD Description

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

slab is a pre-allocated storage for a uniform data type. In version 0.4.10, the get_disjoint_mut method incorrectly checked if indices were within the slab's capacity instead of its length, allowing access to uninitialized memory. This could lead to undefined behavior or potential crashes. This has been fixed in slab 0.4.11. A workaround for this issue involves to avoid using get_disjoint_mut with indices that might be beyond the slab's actual length.

CVSS Base Scores

version 3.1