CVE-2026-25934

Source
https://cve.org/CVERecord?id=CVE-2026-25934
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-25934.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-25934
Aliases
Downstream
Related
Published
2026-02-09T22:13:41.974Z
Modified
2026-02-12T02:37:20.927978Z
Severity
  • 4.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N CVSS Calculator
Summary
go-git improperly verifies data integrity values for .idx and .pack files
Details

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.

Database specific
{
    "cwe_ids": [
        "CWE-354"
    ],
    "cna_assigner": "GitHub_M",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/25xxx/CVE-2026-25934.json"
}
References

Affected packages

Git / github.com/go-git/go-git

Affected ranges

Type
GIT
Repo
https://github.com/go-git/go-git
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

v1.*
v1.0.0
v2.*
v2.0.0
v2.1.0
v2.1.1
v2.1.2
v2.1.3
v2.2.0
v3.*
v3.0.0
v3.0.1
v3.0.2
v3.0.3
v3.0.4
v3.1.0
v3.1.1
v4.*
v4.0.0
v4.0.0-rc1
v4.0.0-rc10
v4.0.0-rc11
v4.0.0-rc12
v4.0.0-rc13
v4.0.0-rc14
v4.0.0-rc15
v4.0.0-rc2
v4.0.0-rc3
v4.0.0-rc4
v4.0.0-rc5
v4.0.0-rc6
v4.0.0-rc7
v4.0.0-rc8
v4.0.0-rc9
v4.1.0
v4.1.1
v4.10.0
v4.11.0
v4.12.0
v4.13.0
v4.13.1
v4.2.0
v4.2.1
v4.3.0
v4.3.1
v4.4.0
v4.4.1
v4.5.0
v4.6.0
v4.7.0
v4.7.1
v4.8.0
v4.8.1
v4.9.0
v4.9.1
v5.*
v5.0.0
v5.1.0
v5.10.0
v5.10.1
v5.11.0
v5.12.0
v5.13.0
v5.13.1
v5.13.2
v5.14.0
v5.15.0
v5.16.0
v5.16.1
v5.16.2
v5.16.3
v5.16.4
v5.2.0
v5.3.0
v5.4.0
v5.4.1
v5.4.2
v5.5.0
v5.5.1
v5.5.2
v5.6.0
v5.6.1
v5.7.0
v5.8.0
v5.8.1
v5.9.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-25934.json"