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.

Routine
CVSS
6.8
medium
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0026
18th percentile

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

ProductFixed inFixReleased
Linux
gitoxide · opensuse-leap 16.0 0.56.0-bp160.1.1 OPENSUSE-SU-2026:21558-1 Aug 10, 2026
rust-gix-features · Debian 13.5 (trixie) 0.39.1-2 DEBIAN-CVE-2025-31130 Apr 4, 2025
rust-gix-features · Debian 14 0.39.1-2 DEBIAN-CVE-2025-31130 Apr 4, 2025

Patch Radar data is free to use with attribution. Terms and how to credit it.

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.