CVE-2025-31130gitoxide does not detect SHA-1 collision attacks
- 6.8MediumCVSS base score
- 0.26%Exploitation in 30 daysEPSS · top 82% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- YesPublic exploitsa reference or SSVC says so
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.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. A reference of the record is tagged as an exploit. CISA's SSVC rates its exploitation: a proof of concept is public.
Show the exploits1
References tagged exploit1 reference
- https://github.com/GitoxideLabs/gitoxide/security/advisories/GHSA-2frx-2596-x5r6 (opens in a new tab)x_refsource_CONFIRMexploit
Timeline
ID reserved
By GitHub_M
- 9 days later
· 9 days later
Published
- 10 months later
· 10 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | Medium6.8 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:N |
| NVDNVD · Deferred | 3.1 | Medium6.8 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:N |
- EPSS (exploitation in 30 days)
- 0.26% · top 82% of all CVEs (18 Nov 2026)
- CISA SSVC
- Exploitation: poc · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.8.
Affected products
- affected < 0.42.0
Affected packages
Affected packages27
From reviewed advisories of the GitHub Advisory Database.
- crates.iogitoxideGHSA-2frx-2596-x5r6 (opens in a new tab)
- crates.iogitoxide-coreGHSA-2frx-2596-x5r6 (opens in a new tab)
- crates.iogixGHSA-2frx-2596-x5r6 (opens in a new tab)
- crates.iogix-archiveGHSA-2frx-2596-x5r6 (opens in a new tab)
- crates.iogix-blameGHSA-2frx-2596-x5r6 (opens in a new tab)
- crates.iogix-commitgraphGHSA-2frx-2596-x5r6 (opens in a new tab)
- crates.iogix-configGHSA-2frx-2596-x5r6 (opens in a new tab)
- crates.iogix-diffGHSA-2frx-2596-x5r6 (opens in a new tab)
- crates.iogix-dirGHSA-2frx-2596-x5r6 (opens in a new tab)
- crates.iogix-discoverGHSA-2frx-2596-x5r6 (opens in a new tab)
- crates.iogix-featuresGHSA-2frx-2596-x5r6 (opens in a new tab)
- crates.iogix-filterGHSA-2frx-2596-x5r6 (opens in a new tab)
- crates.iogix-fsckGHSA-2frx-2596-x5r6 (opens in a new tab)
- crates.iogix-indexGHSA-2frx-2596-x5r6 (opens in a new tab)
- crates.iogix-mergeGHSA-2frx-2596-x5r6 (opens in a new tab)
- crates.iogix-negotiateGHSA-2frx-2596-x5r6 (opens in a new tab)
- crates.iogix-objectGHSA-2frx-2596-x5r6 (opens in a new tab)
- crates.iogix-odbGHSA-2frx-2596-x5r6 (opens in a new tab)
- crates.iogix-packGHSA-2frx-2596-x5r6 (opens in a new tab)
- crates.iogix-protocolGHSA-2frx-2596-x5r6 (opens in a new tab)
- crates.iogix-refGHSA-2frx-2596-x5r6 (opens in a new tab)
- crates.iogix-revisionGHSA-2frx-2596-x5r6 (opens in a new tab)
- crates.iogix-revwalkGHSA-2frx-2596-x5r6 (opens in a new tab)
- crates.iogix-statusGHSA-2frx-2596-x5r6 (opens in a new tab)
- crates.iogix-traverseGHSA-2frx-2596-x5r6 (opens in a new tab)
- crates.iogix-worktreeGHSA-2frx-2596-x5r6 (opens in a new tab)
- crates.iogix-worktree-stateGHSA-2frx-2596-x5r6 (opens in a new tab)
References
References2
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2025-9751 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-2frx-2596-x5r6 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2025-31130)Record last updated .