Cyber Resilience

CVE-2026-34165

Memory Safety in Go-Git Project Go-Git 5.0.0 – 5.17.1

Published
31 March 2026
Modified
24 July 2026
Patch / advisory
CVSS Score v3.1 5.0
Click a component to see what it means
Raw vectorCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H
EPSS Score 0.0015 4th percentile
Risk Priority 35 floored blend · peak EPSS

Summary

CVE-2026-34165 is a medium-severity Wrap or Wraparound (CWE-191) vulnerability in Go-Git Project Go-Git. Its CVSS base score is 5.0 (Medium).

Operationally, exploitation aligns with the MITRE ATT&CK technique Application or System Exploitation (T1499.004); ranked at the 4th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to AC-3 (Access Enforcement) and AC-6 (Least Privilege) — see the control section below for these in your framework.

EU & UK References

Vulnerability Data

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…

more

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.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise TechniquesAI

T1499.004 Application or System Exploitation Impact
Adversaries may exploit software vulnerabilities that can cause an application or system to crash and deny availability to users.
Why these techniques?

Vulnerability enables local DoS via resource exhaustion on crafted .idx file (CWE-770), directly mapping to application exploitation for endpoint DoS.

Confidence: MEDIUM · MITRE ATT&CK Enterprise v19.0

CVEs Like This One

CVE-2026-33762Same product: Go-Git Project Go-Git
CVE-2025-21614Same product: Go-Git Project Go-Git
CVE-2026-45571Same product: Go-Git Project Go-Git
CVE-2023-49569Same product: Go-Git Project Go-Git
CVE-2026-45022Same product: Go-Git Project Go-Git
CVE-2026-45570Same product: Go-Git Project Go-Git
CVE-2025-21613Same product: Go-Git Project Go-Git
CVE-2026-41506Same product: Go-Git Project Go-Git
CVE-2026-25934Same product: Go-Git Project Go-Git
CVE-2023-49568Same product: Go-Git Project Go-Git

Affected Assets

go-git project
go-git
5.0.0 — 5.17.1

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)
  • AC-6 Least Privilege
  • AC-3 Access Enforcement
  • SI-10 Information Input Validation
Detect
Catch it (NIST detect / respond)

Harden
Shrink the surface (DISA STIG)
  • 5 hardening rules · 3 OS baselines
Validate
Prove the fix (OWASP ASVS)
  • V15.4.4

Mitigating Controls (NIST 800-53 r5) AI

prevent

Enforces least privilege so that only authorized processes can obtain write access to the repository .git directory, directly blocking the required step to plant a malicious .idx file.

prevent

Access-enforcement mechanisms can deny write operations on .git/objects/pack/*.idx files, preventing the attacker from introducing the crafted index that triggers unbounded memory allocation.

prevent

Requires validation of .idx file contents and structure before they are parsed, mitigating the integer-underflow and unbounded-allocation weaknesses that lead to memory exhaustion.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.PS-06 full match
prevents

Secure SDLC practices directly prevent integer underflow defects via input validation, bounds checking, and static analysis.

PR.IR-04 mostly match
degrades

Monitoring capacity and taking action to maintain availability directly reduces unchecked resource allocation.

ID.RA-01 partial match
prevents

Vulnerability scanning and code analysis can surface underflow flaws after they are introduced.

PR.PS-02 partial match
prevents

Routine patching can remediate known underflow bugs once they are discovered in deployed software.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

detects

Baseline comparison of CPU, memory and bandwidth usage helps surface uncontrolled resource allocations before they cause service degradation.

detects

Security testing in development catches integer underflow defects before release.

prevents

Capacity projections and elasticity measures ensure that allocation requests are bounded and can be throttled, reducing the window in which an attacker can force unbounded resource reservations.

mitigates

Defining retention periods and deletion schedules for backup copies prevents indefinite accumulation of data on storage media without corresponding resource-management controls.

mitigates

Architectural redundancy and automatic failover limit the impact of an attacker who forces excessive allocations, because spare capacity can absorb the load until the primary instance recovers.

prevents

Secure development lifecycle mandates input validation and arithmetic checks that prevent integer underflow.

References