Integer Underflow (Wrap or Wraparound) Affecting gix-packetline package, versions <0.21.5


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RUST-GIXPACKETLINE-20158606
  • published27 Sept 2026
  • disclosed28 Aug 2026
  • creditUnknown

Introduced: 28 Aug 2026

CVE NOT AVAILABLE CWE-191  (opens in a new tab)

How to fix?

Upgrade gix-packetline to version 0.21.5 or higher.

Overview

Affected versions of this package are vulnerable to Integer Underflow (Wrap or Wraparound) via the From<&[u8]> for TextRef function. An attacker can cause the client process to panic and abort by sending a specially crafted side-band packet with an empty payload during a fetch operation from a malicious remote server. No authentication is required, and this can be triggered during normal fetch operations.

CVSS Base Scores

version 4.0
version 3.1