# CVE-2025-31130: rust-gix-features: gitoxide is an implementation of git written in Rust

CVE-2025-31130 is fixed in 2 products on 1 platform, first by DEBIAN-CVE-2025-31130, released April 4, 2025. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2025-31130
- Priority: Routine
- CVSS: 6.8 (medium)
- EPSS: 0.0026
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Apr 4, 2025

## 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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | gitoxide opensuse-leap 16.0 | 0.56.0-bp160.1.1 | [OPENSUSE-SU-2026:21558-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-21558-1.md) | Aug 10, 2026 |
| Linux | rust-gix-features Debian 13.5 (trixie) | 0.39.1-2 | [DEBIAN-CVE-2025-31130](https://patchblox.com/security/data/fix/linux/debian-cve-2025-31130.md) | Apr 4, 2025 |
| Linux | rust-gix-features Debian 14 | 0.39.1-2 | [DEBIAN-CVE-2025-31130](https://patchblox.com/security/data/fix/linux/debian-cve-2025-31130.md) | Apr 4, 2025 |

---

Data as of 2026-11-09T07:25:28Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
