
CVE catalog
CVE-2026-25934
go-git vulnerabilities
- Severity
- Medium · CVSS 4.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.16% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | golang-github-go-git-go-git | sid | 5.19.2-2 | fixed |
| Debian | golang-github-go-git-go-git | forky | 5.19.2-2 | fixed |
| Debian | golang-github-go-git-go-git | trixie | 5.14.0-1 | vulnerable |
| Debian | golang-github-go-git-go-git | bookworm | 5.4.2-3 | vulnerable |
| Ubuntu | golang-github-go-git-go-git | noble | Not reported | vulnerable |
| Go | github.com/go-git/go-git | Not reported | Not reported | unknown |
| Go | github.com/go-git/go-git/v4 | Not reported | Not reported | unknown |
| Go | github.com/go-git/go-git/v5 | Not reported | 5.16.5 | fixed |
| Ubuntu | golang-github-go-git-go-git | noble | 5.4.2-4ubuntu0.24.04.3+esm2 | fixed |
| Ubuntu | go-git | noble | 5.4.2-4ubuntu0.24.04.3+esm2 | fixed |
| Ubuntu | golang-github-go-git-go-git-dev | noble | 5.4.2-4ubuntu0.24.04.3+esm2 | fixed |
| Suse | alloy | linux enterprise module for basesystem 15 sp7 | 1.16.1-150700.15.20.1 | fixed |
| Opensuse | alloy | tumbleweed | 1.15.1-1.1 | fixed |
| Suse | terraform-provider-local | linux enterprise module for public cloud 15 sp4 | 2.0.0-150200.6.8.1 | fixed |
| Suse | terraform-provider-null | linux enterprise module for public cloud 15 sp4 | 3.0.0-150200.6.12.1 | fixed |
| Suse | terraform-provider-random | linux enterprise module for public cloud 15 sp4 | 3.0.0-150200.6.6.2 | fixed |
| Suse | terraform-provider-tls | linux enterprise module for public cloud 15 sp4 | 3.0.0-150200.5.6.2 | fixed |
| Suse | terraform-provider-local | linux enterprise module for public cloud 15 sp5 | 2.0.0-150200.6.8.1 | fixed |
| Suse | terraform-provider-null | linux enterprise module for public cloud 15 sp5 | 3.0.0-150200.6.12.1 | fixed |
| Suse | terraform-provider-random | linux enterprise module for public cloud 15 sp5 | 3.0.0-150200.6.6.2 | fixed |
| Suse | terraform-provider-tls | linux enterprise module for public cloud 15 sp5 | 3.0.0-150200.5.6.2 | fixed |
| Opensuse | terraform-provider-local | leap 15.6 | 2.0.0-150200.6.8.1 | fixed |
| Opensuse | terraform-provider-null | leap 15.6 | 3.0.0-150200.6.12.1 | fixed |
| Opensuse | terraform-provider-random | leap 15.6 | 3.0.0-150200.6.6.2 | fixed |
| Opensuse | terraform-provider-tls | leap 15.6 | 3.0.0-150200.5.6.2 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | golang-github-go-git-go-git | source | sid | 5.17.0-1 | not yet assigned | Not reported | [1127844] |
| Debian | golang-github-go-git-go-git | source | forky | 5.17.0-1 | not yet assigned | Not reported | [1127844] |
| Debian | golang-github-go-git-go-git | source | trixie | (unfixed) | not yet assigned | Not reported | [1127844] |
| Debian | golang-github-go-git-go-git | source | bookworm | (unfixed) | not yet assigned | Not reported | [1127844] |
| Go | github.com/go-git/go-git/v5 | Go | Not reported | 5.16.5 | Not reported | Not reported | Not reported |
| Ubuntu | golang-github-go-git-go-git | deb | noble | 5.4.2-4ubuntu0.24.04.3+esm2 | Not reported | Not reported | Not reported |
| Ubuntu | go-git | deb | noble | 5.4.2-4ubuntu0.24.04.3+esm2 | Not reported | Not reported | Not reported |
| Ubuntu | golang-github-go-git-go-git-dev | deb | noble | 5.4.2-4ubuntu0.24.04.3+esm2 | Not reported | Not reported | Not reported |
| Suse | alloy | rpm | linux enterprise module for basesystem 15 sp7 | 1.16.1-150700.15.20.1 | Not reported | SUSE-SU-2026:2438-1 | Not reported |
| Opensuse | alloy | rpm | tumbleweed | 1.15.1-1.1 | Not reported | OPENSUSE-SU-2026:10618-1 | Not reported |
| Suse | terraform-provider-local | rpm | linux enterprise module for public cloud 15 sp4 | 2.0.0-150200.6.8.1 | Not reported | SUSE-SU-2026:1411-1 | Not reported |
| Suse | terraform-provider-null | rpm | linux enterprise module for public cloud 15 sp4 | 3.0.0-150200.6.12.1 | Not reported | SUSE-SU-2026:1411-1 | Not reported |
| Suse | terraform-provider-random | rpm | linux enterprise module for public cloud 15 sp4 | 3.0.0-150200.6.6.2 | Not reported | SUSE-SU-2026:1411-1 | Not reported |
| Suse | terraform-provider-tls | rpm | linux enterprise module for public cloud 15 sp4 | 3.0.0-150200.5.6.2 | Not reported | SUSE-SU-2026:1411-1 | Not reported |
| Suse | terraform-provider-local | rpm | linux enterprise module for public cloud 15 sp5 | 2.0.0-150200.6.8.1 | Not reported | SUSE-SU-2026:1411-1 | Not reported |
| Suse | terraform-provider-null | rpm | linux enterprise module for public cloud 15 sp5 | 3.0.0-150200.6.12.1 | Not reported | SUSE-SU-2026:1411-1 | Not reported |
| Suse | terraform-provider-random | rpm | linux enterprise module for public cloud 15 sp5 | 3.0.0-150200.6.6.2 | Not reported | SUSE-SU-2026:1411-1 | Not reported |
| Suse | terraform-provider-tls | rpm | linux enterprise module for public cloud 15 sp5 | 3.0.0-150200.5.6.2 | Not reported | SUSE-SU-2026:1411-1 | Not reported |
| Opensuse | terraform-provider-local | rpm | leap 15.6 | 2.0.0-150200.6.8.1 | Not reported | SUSE-SU-2026:1411-1 | Not reported |
| Opensuse | terraform-provider-null | rpm | leap 15.6 | 3.0.0-150200.6.12.1 | Not reported | SUSE-SU-2026:1411-1 | Not reported |
| Opensuse | terraform-provider-random | rpm | leap 15.6 | 3.0.0-150200.6.6.2 | Not reported | SUSE-SU-2026:1411-1 | Not reported |
| Opensuse | terraform-provider-tls | rpm | leap 15.6 | 3.0.0-150200.5.6.2 | Not reported | SUSE-SU-2026:1411-1 | Not reported |
Notes
[trixie] golang-github-go-git-go-git: Minor issue [bookworm] golang-github-go-git-go-git: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [go-git]Affected
Source package: [golang-github-go-git-go-git]
Details (2)
5.4.2-3+b7· amd64 · bookwormAffected
usn · golang-github-go-git-go-git · debian · bookworm; usn · golang-github-go-git-go-git · debian · 12
5.4.2-3+b7· arm64 · bookwormAffected
usn · golang-github-go-git-go-git · debian · bookworm; usn · golang-github-go-git-go-git · debian · 12
- [golang-github-go-git-go-git-dev]Affected
Source package: [golang-github-go-git-go-git]
Details (2)
5.4.2-3· all · bookwormAffected
usn · golang-github-go-git-go-git · debian · bookworm; usn · golang-github-go-git-go-git · debian · 12
5.4.2-3· all · bookwormAffected
usn · golang-github-go-git-go-git · debian · bookworm; usn · golang-github-go-git-go-git · debian · 12
[Debian 13 (Trixie)]
- [go-git]Affected
Source package: [golang-github-go-git-go-git]
Details (2)
5.14.0-1+b3· amd64 · trixieAffected
usn · golang-github-go-git-go-git · debian · 13
5.14.0-1+b3· arm64 · trixieAffected
usn · golang-github-go-git-go-git · debian · 13
- [golang-github-go-git-go-git-dev]Affected
Source package: [golang-github-go-git-go-git]
Details (2)
5.14.0-1· all · trixieAffected
usn · golang-github-go-git-go-git · debian · 13
5.14.0-1· all · trixieAffected
usn · golang-github-go-git-go-git · debian · 13
[openSUSE Tumbleweed]
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2026_3056-1.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-25934]
- [https://osv.dev/vulnerability/SUSE-SU-2026:1411-1]
- [https://osv.dev/vulnerability/SUSE-SU-2026:2438-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2026:10618-1]
- [https://pkg.go.dev/vuln/GO-2026-4473]
- [https://security-tracker.debian.org/tracker/CVE-2026-25934]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-25934.json]
- [https://ubuntu.com/security/notices/USN-8088-1]
[Debian Security Tracker] · [FIRST EPSS] · [Go Vulnerability Database] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX] · [Ubuntu Security Notices (USN)]