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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| go-git | go-git | < 5.16.5 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | golang-github-go-git-go-git | 5.17.0-1 | — |
| Debian 13 | golang-github-go-git-go-git | No fix yet | — |
| Debian 12 | golang-github-go-git-go-git | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | golang-github-go-git-go-git | No fix yet | — |
| Ubuntu 25.10 | golang-github-go-git-go-git | No fix yet | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 26.04 LTS | golang-github-go-git-go-git | No fix yet | — |
| Ubuntu Pro 24.04 LTS | golang-github-go-git-go-git | 5.4.2-4ubuntu0.24.04.3+esm2 | USN-8088-1 |
| Ubuntu Pro 22.04 LTS | golang-github-go-git-go-git | 5.4.2-3ubuntu0.1~esm1 | USN-8088-1 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP7 | alloy | 1.16.1-150700.15.20.1 | SUSE-SU-2026:2438-1 |
| SLES 15 SP7 | amazon-ssm-agent | 3.3.4624.0-150000.5.37.1 | SUSE-SU-2026:2467-1 |
| SLES 15 SP6 | amazon-ssm-agent | 3.3.4624.0-150000.5.37.1 | SUSE-SU-2026:2467-1 |
| SLES 15 SP5 | amazon-ssm-agent | 3.3.4624.0-150000.5.37.1 | SUSE-SU-2026:2467-1 |
| SLES 15 SP5 | terraform-provider-aws | 3.11.0-150200.6.18.1 | SUSE-SU-2026:3056-1 |
| SLES 15 SP5 | terraform-provider-azurerm | 2.32.0-150200.6.12.1 | SUSE-SU-2026:3056-1 |
| SLES 15 SP5 | terraform-provider-external | 2.0.0-150200.6.12.1 | SUSE-SU-2026:3056-1 |
| SLES 15 SP5 | terraform-provider-google | 3.43.0-150200.6.12.1 | SUSE-SU-2026:3056-1 |
| SLES 15 SP5 | terraform-provider-helm | 2.9.0-150200.6.23.1 | SUSE-SU-2026:3056-1 |
| SLES 15 SP5 | terraform-provider-kubernetes | 1.13.2-150200.6.12.1 | SUSE-SU-2026:3056-1 |
| SLES 15 SP5 | terraform-provider-local | 2.0.0-150200.6.8.1 | SUSE-SU-2026:3056-1, SUSE-SU-2026:1411-1 |
| SLES 15 SP5 | terraform-provider-null | 3.0.0-150200.6.12.1 | SUSE-SU-2026:3056-1, SUSE-SU-2026:1411-1 |
| SLES 15 SP5 | terraform-provider-random | 3.0.0-150200.6.6.2 | SUSE-SU-2026:3056-1, SUSE-SU-2026:1411-1 |
| SLES 15 SP5 | terraform-provider-tls | 3.0.0-150200.5.6.2 | SUSE-SU-2026:3056-1, SUSE-SU-2026:1411-1 |
| SLES 15 SP4 | amazon-ssm-agent | 3.3.4624.0-150000.5.37.1 | SUSE-SU-2026:2467-1 |
| SLES 15 SP4 | terraform-provider-aws | 3.11.0-150200.6.18.1 | SUSE-SU-2026:3056-1 |
| SLES 15 SP4 | terraform-provider-azurerm | 2.32.0-150200.6.12.1 | SUSE-SU-2026:3056-1 |
| SLES 15 SP4 | terraform-provider-external | 2.0.0-150200.6.12.1 | SUSE-SU-2026:3056-1 |
| SLES 15 SP4 | terraform-provider-google | 3.43.0-150200.6.12.1 | SUSE-SU-2026:3056-1 |
| SLES 15 SP4 | terraform-provider-helm | 2.9.0-150200.6.23.1 | SUSE-SU-2026:3056-1 |
| SLES 15 SP4 | terraform-provider-kubernetes | 1.13.2-150200.6.12.1 | SUSE-SU-2026:3056-1 |
| SLES 15 SP4 | terraform-provider-local | 2.0.0-150200.6.8.1 | SUSE-SU-2026:3056-1, SUSE-SU-2026:1411-1 |
| SLES 15 SP4 | terraform-provider-null | 3.0.0-150200.6.12.1 | SUSE-SU-2026:3056-1, SUSE-SU-2026:1411-1 |
| SLES 15 SP4 | terraform-provider-random | 3.0.0-150200.6.6.2 | SUSE-SU-2026:3056-1, SUSE-SU-2026:1411-1 |
| SLES 15 SP4 | terraform-provider-tls | 3.0.0-150200.5.6.2 | SUSE-SU-2026:3056-1, SUSE-SU-2026:1411-1 |
| SLES 12 | amazon-ssm-agent | 3.3.4624.0-4.49.1 | SUSE-SU-2026:2468-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 16.0 | amazon-ssm-agent | 3.3.4624.0-160000.1.1 | SUSE-SU-2026:22157-1 |
| SLES 16.0 | amazon-ssm-agent | 3.3.4624.0-160000.1.1 | SUSE-SU-2026:22157-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | alloy | 1.15.1-1.1 | openSUSE-SU-2026:10618-1 |
| openSUSE Tumbleweed | amazon-ssm-agent | 3.3.5226.0-1.1 | openSUSE-SU-2026:11694-1 |
| openSUSE Tumbleweed | trivy | 0.70.0-1.1 | openSUSE-SU-2026:10651-1 |
| openSUSE Leap 16.0 | amazon-ssm-agent | 3.3.4624.0-160000.1.1 | openSUSE-SU-2026:21079-1 |
| openSUSE Leap 16.0 | govulncheck-vulndb | 0.0.20260723T184607-160000.1.1 | openSUSE-SU-2026:21483-1 |
| openSUSE Leap 15.6 | govulncheck-vulndb | 0.0.20260226T182644-150000.1.149.1 | SUSE-SU-2026:0757-1 |
| openSUSE Leap 15.6 | terraform-provider-local | 2.0.0-150200.6.8.1 | SUSE-SU-2026:1411-1 |
| openSUSE Leap 15.6 | terraform-provider-null | 3.0.0-150200.6.12.1 | SUSE-SU-2026:1411-1 |
| openSUSE Leap 15.6 | terraform-provider-random | 3.0.0-150200.6.6.2 | SUSE-SU-2026:1411-1 |
| openSUSE Leap 15.6 | terraform-provider-tls | 3.0.0-150200.5.6.2 | SUSE-SU-2026:1411-1 |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | apko | 1.1.6-r1 | — |
| Wolfi rolling | argo-cd-3.2 +1 | 3.2.6-r3 | — |
| Wolfi rolling | argo-events | 1.9.10-r3 | — |
| Wolfi rolling | argo-workflows-3.7 +1 | 3.7.10-r0 | — |
| Wolfi rolling | argocd-image-updater | 1.1.0-r1 | — |
| Wolfi rolling | bom | 0.7.1-r6 | — |
| Wolfi rolling | cerbos +1 | 0.51.0-r2 | — |
| Wolfi rolling | chezmoi | 2.69.3-r2 | — |
| Wolfi rolling | dagger | 0.19.11-r1 | — |
| Wolfi rolling | external-secrets-operator-1.1 | No fix yet | — |
| Wolfi rolling | flux-2.7 | 2.7.5-r6 | — |
| Wolfi rolling | flux-image-automation-controller | 1.0.4-r6 | — |
| Wolfi rolling | flux-kustomize-controller | 1.7.3-r6 | — |
| Wolfi rolling | flux-source-controller | 1.7.4-r8 | — |
| Wolfi rolling | gitaly-18.6 | 18.6.6-r1 | — |
| Wolfi rolling | gitaly-18.7 | 18.7.4-r1 | — |
| Wolfi rolling | gitaly-18.8 | 18.8.4-r1 | — |
| Wolfi rolling | gitea | 1.25.4-r2 | — |
| Wolfi rolling | gitlab-runner-18.6 +1 | 18.6.6-r2 | — |
| Wolfi rolling | gitlab-runner-18.7 +1 | 18.7.2-r3 | — |
| Wolfi rolling | gitlab-runner-18.8 +1 | 18.8.0-r1 | — |
| Wolfi rolling | gitsign | 0.14.0-r3 | — |
| Wolfi rolling | gomplate | 5.0.0-r3 | — |
| Wolfi rolling | goreleaser | 2.14.0-r0 | — |
| Wolfi rolling | gptscript | 0.9.8-r4 | — |
| Wolfi rolling | grafana-alloy | 1.13.1-r0 | — |
| Wolfi rolling | grype | 0.108.0-r0 | — |
| Wolfi rolling | guac +2 | 1.0.1-r6 | — |
| Wolfi rolling | k9s | 0.50.18-r3 | — |
| Wolfi rolling | kargo | 1.9.3-r1 | — |
| Wolfi rolling | kots | 1.129.3-r2 | — |
| Wolfi rolling | kubescape | 4.0.0-r1 | — |
| Wolfi rolling | kubevela-vela-cli +1 | 1.10.6-r3 | — |
| Wolfi rolling | melange | 0.41.1-r1 | — |
| Wolfi rolling | nfpm | 2.45.0-r2 | — |
| Wolfi rolling | nuclei | 3.7.0-r2 | — |
| Wolfi rolling | osv-scanner | 2.3.2-r4 | — |
| Wolfi rolling | pulumi +2 | 3.220.0-r0 | — |
| Wolfi rolling | pulumi-kubernetes-operator | 1.16.0-r26 | — |
| Wolfi rolling | pulumi-language-dotnet | 3.101.0-r0 | — |
| Wolfi rolling | pulumi-language-go | 3.219.0-r1 | — |
| Wolfi rolling | pulumi-language-java | 1.21.0-r2 | — |
| Wolfi rolling | rancher-fleet-cli +1 | 0.14.2-r3 | — |
| Wolfi rolling | scorecard | 5.4.0-r6 | — |
| Wolfi rolling | skaffold | 2.17.1-r6 | — |
| Wolfi rolling | snyk-cli | 1.1302.1-r3 | — |
| Wolfi rolling | src-fingerprint | 0.19.0-r39 | — |
| Wolfi rolling | steampipe | 2.3.5-r1 | — |
| Wolfi rolling | syft | 1.42.0-r0 | — |
| Wolfi rolling | teleport-18.6 | 18.6.8-r4 | — |
| Wolfi rolling | tfsec | 1.28.14-r12 | — |
| Wolfi rolling | timoni | 0.25.2-r6 | — |
| Wolfi rolling | trivy | 0.69.1-r1 | — |
| Wolfi rolling | trivy-operator | 0.29.0-r10 | — |
| Wolfi rolling | trufflehog | 3.93.2-r1 | — |
| Wolfi rolling | witness | 0.10.2-r6 | — |
| Wolfi rolling | wolfictl | 0.39.0-r3 | — |
| Wolfi rolling | xeol | 0.10.8-r23 | — |
| Wolfi rolling | zarf | 0.71.1-r1 | — |
| Wolfi rolling | zot | 2.1.14-r3 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | github.com/go-git/go-git | all versions | — | GO-2026-4473 |
| Go | github.com/go-git/go-git/v4 | all versions | — | GO-2026-4473 |
| Go | github.com/go-git/go-git/v5 | < 5.16.5 | 5.16.5 | GHSA-37cx-329c-33x3 |
Advisories 13
- openSUSE-SU-2026:11694-1 amazon-ssm-agent-3.3.5226.0-1.1 on GA media SUSE / openSUSE Security Updates · Sep 8, 2026
- openSUSE-SU-2026:21483-1 Security update for govulncheck-vulndb SUSE / openSUSE Security Updates · Jul 31, 2026
- SUSE-SU-2026:3056-1 Security update for terraform-provider-aws, terraform-provider-azurerm, terraform-provider-external, terraform-provider-google, terraform-provider-helm, terraform-provider-kubernetes, terraform-provider-local, terraform-provider-null, terraform-provider-random, terraform-provider-tls SUSE / openSUSE Security Updates · Jul 16, 2026
- openSUSE-SU-2026:21079-1 Security update for amazon-ssm-agent SUSE / openSUSE Security Updates · Jun 30, 2026
- SUSE-SU-2026:22157-1 Security update for amazon-ssm-agent SUSE / openSUSE Security Updates · Jun 24, 2026
- SUSE-SU-2026:2468-1 Security update for amazon-ssm-agent SUSE / openSUSE Security Updates · Jun 20, 2026
- SUSE-SU-2026:2467-1 Security update for amazon-ssm-agent SUSE / openSUSE Security Updates · Jun 20, 2026
- SUSE-SU-2026:2438-1 Security update for alloy SUSE / openSUSE Security Updates · Jun 18, 2026
- openSUSE-SU-2026:10651-1 trivy-0.70.0-1.1 on GA media SUSE / openSUSE Security Updates · Apr 29, 2026
- USN-8088-1 golang-github-go-git-go-git vulnerabilities Ubuntu Security Notices (USN) · Apr 27, 2026
- openSUSE-SU-2026:10618-1 alloy-1.15.1-1.1 on GA media SUSE / openSUSE Security Updates · Apr 27, 2026
- SUSE-SU-2026:1411-1 Security update for terraform-provider-local, terraform-provider-random, terraform-provider-tls SUSE / openSUSE Security Updates · Apr 17, 2026
- SUSE-SU-2026:0757-1 Security update for govulncheck-vulndb SUSE / openSUSE Security Updates · Mar 4, 2026