CVE-2026-114095: Dulwich · Infinite Loop Denial of Service (DoS) in Packfile Object Resolution
Affects poetrySource GCVE Database
Mentioned vulnerabilities
CVSS 6.5 Medium : upgrade to 2.4.2 when convenient.
Data as of 30 Oct 2026, 07:30 UTC
- Patch
- Available – fixed in 2.4.2
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:HWhat to do
Upgrade poetry to 2.4.2.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewpoetrypkg:brew/poetryOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available that adds an explicit check in Pack.resolve_object to reject delta_offset values of zero, preventing infinite recursion. Additionally, implementing a recursion depth limit can mitigate long delta chains. Users should upgrade dulwich to a fixed version >=2.4.2 or apply the patch provided by the vendor. No other mitigation is required once patched.
Description
A denial of service (DoS) vulnerability exists in the dulwich library's Pack.resolve_object method. When resolving an OFS_DELTA object with a delta_offset of zero, the method enters an infinite recursive loop due to self-referential offset calculation. This causes CPU exhaustion and process crashes in applications using dulwich for Git packfile operations. The vulnerability affects dulwich versions >=1.2.0 and <2.4.2. A patch is available to explicitly reject delta_offset == 0 and prevent infinite recursion.