CVE-2025-31130
gitoxide does not detect SHA-1 collision attacks
6.8CVSSMEDIUM
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 Vector Breakdown
Exploitability
AV:NAttack VectorNetwork
AC:HAttack ComplexityHigh
PR:NPrivileges RequiredNone
UI:NUser InteractionNone
Scope
S:CScopeChanged
Impact
C:NConfidentialityNone
I:HIntegrityHigh
A:NAvailabilityNone
Weaknesses
Affected Products
and 23 more affected products View all →
Exploitability
Official Patch Available
References
https://github.com/GitoxideLabs/gitoxide/security/advisories/GHSA-2frx-2596-x5r6
github.com
https://github.com/GitoxideLabs/gitoxide/commit/f253f02a6658b3b7612a50d56c71f5ae4da4ca21
github.com
https://nvd.nist.gov/vuln/detail/CVE-2025-31130
nvd.nist.gov
and 2 more references View all →
Timeline
Published
Apr 4, 2025
Last Updated
Jan 23, 2026
Unlock Complete Vulnerability Intelligence
Get the full picture for CVE-2025-31130 and every CVE in our database. Create a free account — no credit card required.
Create Free AccountPlain-language analysis
Impact assessment and exploitation scenario in plain English
Attack graph visualization
Interactive attack path and kill chain mapping
Exploit details & PoC links
ExploitDB, Metasploit, GitHub PoCs with direct links
Nuclei scanner templates
Ready-to-use vulnerability scanner templates
Full remediation guide
Patch instructions, workarounds, and compliance impact
Interactive AI chat
Ask questions about this vulnerability in natural language
Related vulnerabilities
Semantically similar CVEs and attack patterns
REST API & MCP access
Integrate vulnerability data into your workflows