cve.bz

CVE-2026-34165 go-git project go-git: Integer Underflow (Wrap or Wraparound)

5.0 mediumEPSS 0.2%Fix available

Medium (5.0) in go-git project go-git. EPSS 0.2% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/go-git/go-git/v5 5.17.1.

On this page
go-git is an extensible git implementation library written in pure Go. From version 5.0.0 to before version 5.17.1, a vulnerability has been identified in which a maliciously crafted .idx file can cause asymmetric memory consumption, potentially exhausting available memory and resulting in a denial-of-service (DoS) condition. Exploitation requires write access to the local repository's .git directory, it order to create or alter existing .idx files. This issue has been patched in version 5.17.1.

Severity

CVSS 3.1

5.0 medium
CVSS:3.1/AV:L/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.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 5th 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-04-02. 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-191 Integer Underflow (Wrap or Wraparound)
CWE-770 Allocation of Resources Without Limits or Throttling
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-34165 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-34165?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-34165?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-34165 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 NVD's CPE matches.

ProductAffected
go-git_project:go-gitfrom 5.0.0 before 5.17.1

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-jhf3-xxhw-2wppGogithub.com/go-git/go-git/v5>=5.0.0 <5.17.15.17.1
GO-2026-4910Gogithub.com/go-git/go-gitall versionsno fix published
GO-2026-4910Gogithub.com/go-git/go-git/v4all versionsno fix published
GO-2026-4910Gogithub.com/go-git/go-git/v5>=5.0.0 <5.17.15.17.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13golang-github-go-git-go-gitno fix listedDEBIAN-CVE-2026-34165
Debian14golang-github-go-git-go-git5.17.1-1DEBIAN-CVE-2026-34165
Ubuntu25.10, 26.10, Pro:22.04:LTS and 2 moregolang-github-go-git-go-gitno fix listedUBUNTU-CVE-2026-34165
openSUSELeap 16.0govulncheck-vulndb0.0.20260723T184607-160000.1.1openSUSE-SU-2026:21483-1
openSUSETumbleweedsteampipe2.4.1-1.1openSUSE-SU-2026:10509-1
openSUSETumbleweedteleport17.7.23-1.1openSUSE-SU-2026:10684-1

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. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Assisted Installer for Red Hat OpenShift Container Platform 2assisted/agent-preinstall-image-builder-rhel9Fix deferred
Builds for Red Hat OpenShiftopenshift-builds/openshift-builds-controller-rhel9Fix deferred
Builds for Red Hat OpenShiftopenshift-builds/openshift-builds-git-cloner-rhel9Fix deferred
Builds for Red Hat OpenShiftopenshift-builds/openshift-builds-image-bundler-rhel9Fix deferred
Builds for Red Hat OpenShiftopenshift-builds/openshift-builds-image-processing-rhel9Fix deferred
Builds for Red Hat OpenShiftopenshift-builds/openshift-builds-waiters-rhel9Fix deferred
Builds for Red Hat OpenShiftopenshift-builds/openshift-builds-webhook-rhel9Fix deferred
Confidential Compute Attestationopenshift-sandboxed-containers/osc-must-gather-rhel9Fix deferred
External Secrets Operator for Red Hat OpenShiftexternal-secrets-operator/bitwarden-sdk-server-rhel9Fix deferred
External Secrets Operator for Red Hat OpenShiftexternal-secrets-operator/external-secrets-operator-bundleFix deferred
External Secrets Operator for Red Hat OpenShiftexternal-secrets-operator/external-secrets-operator-rhel9Fix deferred
External Secrets Operator for Red Hat OpenShiftexternal-secrets-operator/external-secrets-rhel9Fix deferred
Kernel Module Management Operator for Red Hat Openshiftkmm/kernel-module-management-must-gather-rhel9Fix deferred
Logging Subsystem for Red Hat OpenShiftopenshift-logging/cluster-logging-rhel9-operatorFix deferred
Logical Volume Manager Storagelvms4/lvms-must-gather-rhel9Fix deferred
Machine Deletion Remediation Operatorworkload-availability/machine-deletion-remediation-operator-bundleFix deferred
Machine Deletion Remediation Operatorworkload-availability/machine-deletion-remediation-rhel9-operatorFix deferred
Migration Toolkit for Containersrhmtc/openshift-migration-log-reader-rhel8Fix deferred
Migration Toolkit for Containersrhmtc/openshift-migration-must-gather-rhel8Fix deferred
Migration Toolkit for Virtualizationmigration-toolkit-virtualization/mtv-must-gather-rhel8Fix deferred
153 more in the JSON and on Red Hat's page.

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-34165.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-770 (20).

References

Check your stackJSON