Infinite loop Affecting dulwich package, versions [,1.2.9)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept

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-PYTHON-DULWICH-20416729
  • published4 Oct 2026
  • disclosed2 Oct 2026
  • creditLukeBanto

Introduced: 2 Oct 2026

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

How to fix?

Upgrade dulwich to version 1.2.9 or higher.

Overview

Affected versions of this package are vulnerable to Infinite loop via unpack_object in dulwich/pack.py when parsing a pack file containing an OFS_DELTA entry whose delta_base_offset is zero. Such an entry references itself, causing Pack.resolve_object to loop forever, growing its delta stack until the process exhausts all available memory.

CVSS Base Scores

version 4.0
version 3.1