CVE-2026-25934: Golang github go git go git: Prior to 5.16.5, a vulnerability was discovered in go-git whereby data
Affects golang-github-go-git-go-gitSource GCVE Database
Not known to be exploited · CVSS 4.3 Medium · fixed in 5.4.2-3ubuntu0.1~esm1 : update golang-github-go-git-go-git when convenient.
Data as of 24 Nov 2026, 21:15 UTC
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 4% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 5.4.2-3ubuntu0.1~esm1, 5.4.2-4ubuntu0.24.04.3+esm2
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 9 Feb 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.
What to do
Upgrade the Ubuntu golang-github-go-git-go-git to 5.4.2-3ubuntu0.1~esm1 (package) or 5.4.2-4ubuntu0.24.04.3+esm2 (package).
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10golang-github-go-git-go-gitpkg:deb/ubuntu/golang-github-go-git-go-git?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu Pro 26.04 LTSgolang-github-go-git-go-gitpkg:deb/ubuntu/golang-github-go-git-go-git?arch=source&distro=esm-apps/resoluteOther threats | Affected
| Fixed in– |
Ubuntu 25.10golang-github-go-git-go-gitpkg:deb/ubuntu/golang-github-go-git-go-git?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Ubuntu Pro 24.04 LTSgolang-github-go-git-go-gitpkg:deb/ubuntu/golang-github-go-git-go-git?arch=source&distro=esm-apps/nobleOther threats | Affected
| Fixed in
|
Ubuntu Pro 22.04 LTSgolang-github-go-git-go-gitpkg:deb/ubuntu/golang-github-go-git-go-git?arch=source&distro=esm-apps/jammyOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
go-git is a highly extensible git implementation library written in pure Go. Prior to 5.16.5, a vulnerability was discovered in go-git whereby data integrity values for .pack and .idx files were not properly verified. This resulted in go-git potentially consuming corrupted files, which would likely result in unexpected errors such as object not found. For context, clients fetch packfiles from upstream Git servers. Those files contain a checksum of their contents, so that clients can perform integrity checks before consuming it. The pack indexes (.idx) are generated locally by go-git, or the git cli, when new .pack files are received and processed. The integrity checks for both files were not being verified correctly. This vulnerability is fixed in 5.16.5.
References
- ubuntu.com/security/CVE-2026-25934 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-25934 (opens in a new tab)
- github.com/go-git/go-git/releases/tag/v5.16.5 (opens in a new tab)
- github.com/go-git/go-git/security/advisories/GHSA-37cx-329c-33x3 (opens in a new tab)
- ubuntu.com/security/notices/USN-8088-1 (opens in a new tab)