6.8

CVE-2025-31130: gitoxide does not detect SHA-1 collision attacks

Deferred
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.29% chance of exploitation in the next 30 days, higher than 23.2% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 6.8, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
6.8/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.29%
0%100%
Low · +0.03 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware 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.29%

Chance of exploitation in the next 30 days

Percentile

23%

Versus all other CVEs

30-day change

Increase +0.03 pp

From 0.26% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

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