cve.bz

CVE-2026-47734 jelmer dulwich: Uncontrolled Resource Consumption

5.7 mediumEPSS 0.2%Fix available

Medium (5.7) in jelmer dulwich. EPSS 0.2% estimated probability of exploitation activity in the next 30 days. Fixed in dulwich 1.2.5.

On this page
Dulwich is a pure-Python implementation of the Git file formats and protocols. Starting in version 0.1.0 and prior to version 1.2.5, a client with push access could push a tiny crafted thin pack (~174 bytes) whose delta header declares a huge dest_size. When dulwich ingested it via add_thin_pack / apply_delta, it would allocate hundreds of MB of memory based on that attacker-controlled size, with no relationship to the actual bytes received. Operators running a Dulwich-based Git server that exposes git-receive-pack (i.e. accepts pushes) - for example via dulwich.server functionality, the HTTP smart server, or anything built on ReceivePackHandler - are impacted. The issue is patched in 1.2.5. add_thin_pack now accepts a max_input_size keyword (bytes; 0/None = unlimited, matching git's semantics), and ReceivePackHandler reads receive.maxInputSize from the repository config and passes it through. Wire reads are counted and a PackInputTooLarge exception is raised once the cap is exceeded - equivalent to git index-pack --max-input-size. Users should upgrade to Dulwich 1.2.5 or later and set receive.maxInputSize in their server's repository config to a sane bound for their environment. On unpatched versions, receive.maxInputSize has no effect, so it cannot be used as a workaround. Until upgrading, operators should restrict dulwich-receive-pack (push) access to trusted, authenticated clients only, or disable it entirely on servers that only need to serve fetches and/or run the server under an OS-level memory limit (e.g. ulimit, cgroups/MemoryMax, or a container memory limit) so a malicious push is killed rather than taking down the host.

Severity

CVSS 3.1

5.7 medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H
EPSS
0.2% (unchanged from 0.2% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 8th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-06-11. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-400 Uncontrolled Resource Consumption
CWE-789 Memory Allocation with Excessive Size Value
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-47734 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-47734?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-47734?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-47734 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
jelmer dulwich>= 0.1.0, < 1.2.5

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-xrvj-v92f-53gjPyPIdulwich>=0.1.0 <1.2.51.2.5
PYSEC-2026-2466PyPIdulwich>=0.1.0 <1.2.51.2.5

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13dulwichno fix listedDEBIAN-CVE-2026-47734
Debian14dulwich1.2.5-1DEBIAN-CVE-2026-47734
Ubuntu16.04:LTS, 18.04:LTS, 20.04:LTS and 5 moredulwichno fix listedUBUNTU-CVE-2026-47734
SUSELinux Enterprise Module for Basesystem 15 SP7python3-dulwich0.20.24-150400.8.1SUSE-SU-2026:2984-1
SUSELinux Enterprise Module for Public Cloud 12python-dulwich0.18.5-4.6.1SUSE-SU-2026:3117-1
Azure Linux3python-dulwichno fix listedAZL-90077

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This Moderate impact denial of service flaw in Dulwich affects Red Hat products utilizing Dulwich-based Git server functionalities. An authenticated attacker with push access could send a crafted Git thin pack, causing excessive memory allocation and disrupting service availability. The vulnerability requires prior authentication, but its exploitation can lead to a system crash.

Red Hat's mitigation

This flaw is fixed in Dulwich 1.2.5, which adds a max_input_size limit to add_thin_pack and makes ReceivePackHandler honor the receive.maxInputSize repository configuration setting (equivalent to git index-pack --max-input-size). Upgrade to Dulwich 1.2.5 or later and set receive.maxInputSize in the Git server's repository configuration to a sensible bound for the environment. On unpatched versions, receive.maxInputSize has no effect and cannot be used as a workaround. Until the fixed version is deployed, operators of Dulwich-based Git servers that accept pushes can restrict git-receive-pack (push) access to trusted, authenticated clients only, or disable push access entirely on servers that only need to serve fetches. Running the server under an OS-level memory limit (for example ulimit, cgroups MemoryMax, or a container memory limit) can additionally ensure that a malicious push is killed rather than taking down the host.

ProductPackageStateAdvisory
Red Hat Ansible Automation Platform 2ansible-automation-platform-26/controller-rhel9Fix deferred
Red Hat Ansible Automation Platform 2ansible-automation-platform-26/eda-controller-rhel9Fix deferred
Red Hat Ansible Automation Platform 2ansible-automation-platform-26/lightspeed-chatbot-rhel9Fix deferred
Red Hat Ansible Automation Platform 2ansible-automation-platform-27/controller-rhel9Fix deferred
Red Hat Ansible Automation Platform 2ansible-automation-platform-27/eda-controller-rhel9Fix deferred
Red Hat Enterprise Linux 7resource-agentsFix deferred
Red Hat Enterprise Linux 8resource-agentsFix deferred
Red Hat OpenShift AI (RHOAI)rhoai/odh-kserve-agent-rhel9Fix deferred
Red Hat OpenShift AI (RHOAI)rhoai/odh-kserve-autogluon-server-rhel9Fix deferred
Red Hat OpenShift AI (RHOAI)rhoai/odh-kserve-controller-rhel9Fix deferred
Red Hat OpenShift AI (RHOAI)rhoai/odh-kserve-router-rhel9Fix deferred
Red Hat OpenShift AI (RHOAI)rhoai/odh-kserve-storage-initializer-rhel9Fix deferred
Red Hat OpenShift Container Platform 4python-dulwichFix deferred
Red Hat Satellite 6python-dulwichFix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-47734.

Attack patterns (CAPEC)

  • CAPEC-147 XML Ping of the Death Likelihood: Low · Severity: Medium
  • CAPEC-227 Sustained Client Engagement
  • CAPEC-492 Regular Expression Exponential Blowup

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON