p PatchFirst

PatchFirst · Latest vulnerabilities

rust-gix vulnerabilities

Vulnerabilities published for rust-gix in the last 30 days: 0. Listed in the KEV catalogue: 0.

Filter vulnerabilities
Clear filters

Vulnerabilities: 9

  1. CVE-2026-109351

    High · CVSS 7.1EPSS 0.44%No fix published

    Gitoxide gix-pack before 0.75.0 Denial of Service via Pack Header Object Count

    Gitoxide gix-pack before 0.75.0 contains an uncontrolled memory allocation vulnerability that allows remote attackers to abort the process by supplying a huge pack-header object count. Malicious remotes can serve a 12-byte pack header claiming 0xFFFFFFFF objects, forcing Tree::with_capacity to reserve hundreds of gigabytes and crash clone or fetch operations.

    Published Updated
  2. CVE-2026-109350

    High · CVSS 7.1EPSS 0.37%No fix published

    Gitoxide gix-pack before 0.75.0 Denial of Service via OFS_DELTA Base Distance

    Gitoxide gix-pack before 0.75.0 contains a denial of service vulnerability that allows malicious remotes to crash fetch operations by sending crafted thin-pack OFS_DELTA entries. Attackers can serve a thin pack with a REF_DELTA referencing an existing object followed by an OFS_DELTA whose base_distance exceeds pack_offset, triggering a panic in LookupRefDeltaObjectsIter that aborts the fetch process.

    Published Updated
  3. CVE-2026-109349

    High · CVSS 7.1EPSS 0.37%No fix published

    gix-pack before 0.75.0 Reachable Assertion DoS via Pack Version 3 Header

    gitoxide gix-pack before 0.75.0 contains a reachable assertion in BytesToEntriesIter::new_from_header: the pack header decoder accepts version 3, but a release-enabled assert_eq! requires version 2. A malicious remote can send a 12-byte pack header declaring version 3 to panic the client and abort the clone or fetch.

    Published Updated
  4. CVE-2026-109348

    Medium · CVSS 5.3EPSS 0.33%No fix published

    Gitoxide gix-mailmap before 0.35.0 CPU Denial of Service via .mailmap Parsing

    Gitoxide gix-mailmap before 0.35.0 contains a denial of service vulnerability that allows attackers to exhaust CPU through quadratic-time parsing in Snapshot::from_bytes. Attackers can commit a crafted .mailmap with descending-ordered entries forcing repeated front inserts, blocking workers running log, blame, or shortlog for minutes.

    Published Updated
  5. CVE-2026-82253

    High · CVSS 8.7EPSS 0.66%No fix published

    gitoxide before 0.82.0 Path Traversal via Submodule Name Validation Bypass

    gitoxide (Rust crates gix <= 0.72.0 and gix-validate <= 0.10.0) contains a path traversal vulnerability. The submodule name validation function in gix-validate only checks the first occurrence of '..' via name.find(b".."), allowing crafted names such as 'a..b/../../../.git/' to bypass the check; additionally this validation is never invoked in production code paths. Combined with a trust inheritance flaw in Submodule::open(), where the parent repository's git_dir_trust (Trust::Full) is cloned and the ownership verification is skipped, an attacker can craft a malicious .gitmodules file so that a victim tool built on gitoxide reads arbitrary gi

    Published Updated
  6. CVE-2026-82252

    High · CVSS 8.7EPSS 0.52%No fix published

    gitoxide before 0.52.1 Repository Boundary Violation via symlinked .gitmodules

    gitoxide before 0.52.1 follows symlinks when reading the worktree .gitmodules file, allowing attackers to inject out-of-repository bytes into submodule metadata. Attackers can create a malicious repository with a symlinked .gitmodules pointing outside the repository tree, causing gitoxide to parse arbitrary external files as submodule configuration and expose attacker-controlled name, path, and url values.

    Published Updated
  7. CVE-2026-82251

    High · CVSS 8.7EPSS 0.52%No fix published

    gitoxide before 0.52.1 Path Traversal via Submodule Name

    gitoxide before 0.52.1 fails to validate submodule names from .gitmodules configuration, allowing path traversal when deriving submodule git directories. Attackers can craft malicious submodule names with traversal segments to redirect state() and open() functions to repositories outside .git/modules, causing repository confusion and inspection of attacker-controlled repositories.

    Published Updated
  8. CVE-2026-82248

    Medium · CVSS 6EPSS 0.34%No fix published

    gitoxide before 0.33.0 Path Traversal via symlink following

    gix-worktree-state before 0.33.0 (part of gitoxide) allows writing files outside the worktree on Windows. gix_worktree_state::checkout() follows an existing terminal symlink during non-exclusive (incremental) materialization (destination_is_initially_empty: false) when core.symlinks is true. If a symlink entry (mode 120000) is first checked out at a path P pointing outside the worktree, a subsequent incremental checkout of a regular-file entry (mode 100644) at the same path follows the existing reparse point and writes the blob content through the link, overwriting files outside the worktree.

    Published Updated
  9. CVE-2026-40034

    High · CVSS 7.3EPSS 0.36%No fix published

    gitoxide - Command Injection via Partial .gitmodules Override in gix-submodule

    gix-submodule before 0.29.0 (gitoxide before 0.5.21, gix before 0.84.0) incorrectly validates the update field in .gitmodules, allowing attackers to bypass the CommandForbiddenInModulesConfiguration guard when a submodule has been initialized with only partial configuration in .git/config. An attacker can inject arbitrary shell commands via the update field in .gitmodules that will be executed when Submodule::update() is called on a previously-initialized submodule, enabling remote code execution.

    Published Updated

Check your server

Check your installed stack and versions against the current vulnerability feeds.

Check your server →