Infinite loop Affecting github.com/go-git/go-billy/memfs package, versions <5.9.0


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.39% (32nd percentile)

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-GOLANG-GITHUBCOMGOGITGOBILLYMEMFS-16799807
  • published22 May 2026
  • disclosed13 May 2026
  • creditfaran66

Introduced: 13 May 2026

CVE-2026-44740  (opens in a new tab)
CWE-674  (opens in a new tab)
CWE-835  (opens in a new tab)

How to fix?

Upgrade github.com/go-git/go-billy/memfs to version 5.9.0 or higher.

Overview

Affected versions of this package are vulnerable to Infinite loop through insufficient validation and missing safety mechanisms during symlink resolution. An attacker can cause infinite loops and resource exhaustion by providing crafted or malformed input that triggers uncontrolled recursion or excessive resource consumption.

CVSS Base Scores

version 4.0
version 3.1