{"id":"UBUNTU-CVE-2026-25934","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.","modified":"2026-03-13T18:06:42.127032Z","published":"2026-02-09T23:16:00Z","related":["USN-8088-1"],"upstream":["CVE-2026-25934"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-25934"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-25934"},{"type":"REPORT","url":"https://github.com/go-git/go-git/releases/tag/v5.16.5"},{"type":"REPORT","url":"https://github.com/go-git/go-git/security/advisories/GHSA-37cx-329c-33x3"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-8088-1"}],"affected":[{"package":{"name":"golang-github-go-git-go-git","ecosystem":"Ubuntu:Pro:22.04:LTS","purl":"pkg:deb/ubuntu/golang-github-go-git-go-git@5.4.2-3ubuntu0.1~esm1?arch=source&distro=esm-apps/jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.4.2-3ubuntu0.1~esm1"}]}],"versions":["5.4.2-3"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_name":"go-git","binary_version":"5.4.2-3ubuntu0.1~esm1"},{"binary_name":"golang-github-go-git-go-git-dev","binary_version":"5.4.2-3ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-25934.json"}},{"package":{"name":"golang-github-go-git-go-git","ecosystem":"Ubuntu:Pro:24.04:LTS","purl":"pkg:deb/ubuntu/golang-github-go-git-go-git@5.4.2-4ubuntu0.24.04.3+esm2?arch=source&distro=esm-apps/noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.4.2-4ubuntu0.24.04.3+esm2"}]}],"versions":["5.4.2-3build1","5.4.2-4","5.4.2-4ubuntu0.24.04.1","5.4.2-4ubuntu0.24.04.2","5.4.2-4ubuntu0.24.04.2+esm1","5.4.2-4ubuntu0.24.04.3","5.4.2-4ubuntu0.24.04.3+esm1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_name":"go-git","binary_version":"5.4.2-4ubuntu0.24.04.3+esm2"},{"binary_name":"golang-github-go-git-go-git-dev","binary_version":"5.4.2-4ubuntu0.24.04.3+esm2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-25934.json"}},{"package":{"name":"golang-github-go-git-go-git","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/golang-github-go-git-go-git@5.14.0-1?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.14.0-1"],"ecosystem_specific":{"binaries":[{"binary_name":"go-git","binary_version":"5.14.0-1"},{"binary_name":"golang-github-go-git-go-git-dev","binary_version":"5.14.0-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-25934.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N"},{"type":"Ubuntu","score":"medium"}]}