6.8

CVE-2025-31130: gitoxidelabs gitoxide Use of Weak Hash

CVSS: 6.8v3.1MediumDeferred
AliasesUBUNTU-CVE-2025-31130DEBIAN-CVE-2025-31130CGA-23wm-fm7j-rvwh
Published 04-04-2025Last modified 23-01-2026

Vulnerability summary

CVE-2025-31130 is a medium (CVSS 6.8) Use of Weak Hash vulnerability in gitoxidelabs gitoxide. EPSS estimates a 0.26% chance of exploitation in the next 30 days, higher than 16.1% of scored vulnerabilities.

Overall risk
27/100
0100
Medium · default modelHow is this calculated?
CVSS score
6.8/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.26%
0%100%
Low · +0.01 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 2 · Related 3

Timeline

  1. 04-04-2025
    PublishedVulnerability first disclosed.
  2. 23-01-2026
    Last modifiedVulnerability information updated.

Description

gitoxide is an implementation of git written in Rust. Before 0.42.0, gitoxide uses SHA-1 hash implementations without any collision detection, leaving it vulnerable to hash collision attacks. gitoxide uses the sha1_smol or sha1 crate, both of which implement standard SHA-1 without any mitigations for collision attacks. This means that two distinct Git objects with colliding SHA-1 hashes would break the Git object model and integrity checks when used with gitoxide. This vulnerability is fixed in 0.42.0.

CVSS metrics

7 scores · 7 sources · 1 version

EPSS trend

Probability

0.26%

Chance of exploitation in the next 30 days

Percentile

16%

Versus all other CVEs

30-day change

+0.01 pp

From 0.25% on 19-09-2026

19-09-202619-10-2026
EPSS score
0.26%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Crates.Io27 products
  • gitoxide< 0.42.0
  • gitoxide-core< 0.46.0
  • gix< 0.71.0
  • gix-archive< 0.20.0
  • gix-blame< 0.1.0
Chainguard4 products
  • cargo-audit< 0.22.0-r0
  • cargo-c< 0.10.23-r1
  • helix< 25.01.1-r1
  • starship< 1.24.0-r0
Wolfi4 products
  • cargo-audit< 0.22.0-r0
  • cargo-c< 0.10.23-r1
  • helix< 25.01.1-r1
  • starship< 1.24.0-r0
Debian1 product
  • rust-gix-features< 0.39.1-2
Gitoxidelabs1 product
Ubuntu1 product
  • rust-gix-featuresAll versions (No fix recorded)

6 vendors · 38 products

References

12 links
Show all 12 references