CVE-2025-21614Go-git Project Go-git
High 7.5 No auth needed
Follow: this CVE · Go-git Project · Go-git Project Go-git We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 1.0% probability of exploitation in 30 days · percentile 62
- Auth required
- No
- Published
- Jan 6, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-400
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
go-git is a highly extensible git implementation library written in pure Go. A denial of service (DoS) vulnerability was discovered in go-git versions prior to v5.13. This vulnerability allows an attacker to perform denial of service attacks by providing specially crafted responses from a Git server which triggers resource exhaustion in go-git clients. Users running versions of go-git from v4 and above are recommended to upgrade to v5.13 in order to mitigate this vulnerability.
What to do
- Apply the vendor's security update for Go-git.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/go-git/go-git |
≥ 4.0.0 ≤ 4.13.1 |
no fixed version | — |
| Go | github.com/go-git/go-git/v4 |
≥ 4.0.0 |
no fixed version | — |
| Go | github.com/go-git/go-git/v5 |
< 5.13.0 |
5.13.0 |
go get github.com/go-git/go-git/v5@v5.13.0 |
| Go | github.com/go-git/go-git/v5 |
< 5.13.0 |
5.13.0 |
go get github.com/go-git/go-git/v5@v5.13.0 |
| Go | gopkg.in/src-d/go-git.v4 |
≥ 4.0.0 ≤ 4.13.1 |
no fixed version | — |
| Go | gopkg.in/src-d/go-git.v4 |
≥ 4.0.0 |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-r9px-m959-cxf4, GO-2025-3367). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| go-git_project | go-git | < 5.13.0 |
Official advisories
- Security update for cheat · SUSE · openSUSE-SU-2025:20177-1 · Dec 18, 2025 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Vendor Advisory