# CVE-2025-21614: go-git clients vulnerable to DoS via maliciously crafted Git server replies

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.71%, higher than 54% of CVEs (2026-12-01)
- Published: 2025-01-06T16:20:16.140Z
- Modified: 2026-09-10T03:50:22.178Z
- Also known as: GHSA-r9px-m959-cxf4, GO-2025-3367
- Related: CGA-rxrq-jmmh-wchr, RHSA-2025:0401, RHSA-2025:0662
- Weaknesses: CWE-20, CWE-400, CWE-770
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- go-git go-git: >= 4.0.0, < 5.13.0
- gopkg.in/src-d/go-git.v4 (Go): from 4.0.0 up to 4.13.1; from 4.0.0
- github.com/go-git/go-git/v5 (Go): before 5.13.0
- github.com/go-git/go-git (Go): from 4.0.0 up to 4.13.1
- github.com/go-git/go-git/v4 (Go): from 4.0.0
- go-git_project go-git: before 5.13.0

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- CISA-ADP: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/go-git/go-git/security/advisories/GHSA-r9px-m959-cxf4> (advisory, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-21614> (advisory)
- <https://github.com/go-git/go-git> (package)

## Sources

- CVE List: [CVE-2025-21614](https://www.cve.org/CVERecord?id=CVE-2025-21614), CVE Terms of Use, modified 2025-08-26
- GitHub Advisory Database: [GHSA-r9px-m959-cxf4](https://github.com/advisories/GHSA-r9px-m959-cxf4), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2025-3367](https://pkg.go.dev/vuln/GO-2025-3367), CC-BY-4.0, modified 2026-02-04
- NVD: [CVE-2025-21614](https://nvd.nist.gov/vuln/detail/CVE-2025-21614), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-21614 · Whole record: https://cve.day/CVE-2025-21614.json · Rebuilt by cve.day 2026-11-25T22:58:53.127Z
