UBUNTU-CVE-2026-45022

Source
https://ubuntu.com/security/CVE-2026-45022
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-45022.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2026-45022
Upstream
Published
2026-05-27T15:16:00Z
Modified
2026-06-08T09:45:12.782213135Z
Severity
  • 7.0 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:H/SA:N CVSS Calculator
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

go-git is an extensible git implementation library written in pure Go. Prior to 5.19.0 and 6.0.0-alpha.3, go-git may parse malformed Git objects in a way that differs from upstream Git. When commit or tag objects contain ambiguous or malformed headers, go-git’s decoded representation may expose values differently from how Git itself would interpret or reject the same object. Additionally, go-git’s commit signing and verification logic operates over commit data reconstructed from go-git’s parsed representation rather than the original raw object bytes. As a result, go-git may sign or verify a commit payload that is not byte-for-byte equivalent to the object stored in the repository. This can cause a signature to appear valid for a commit whose displayed or effective metadata differs from the object that was intended to be signed. This vulnerability is fixed in 5.19.0 and 6.0.0-alpha.3.

References

Affected packages

Ubuntu:25.10
golang-github-go-git-go-git

Package

Name
golang-github-go-git-go-git
Purl
pkg:deb/ubuntu/golang-github-go-git-go-git?arch=source&distro=questing

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

5.*
5.14.0-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "5.14.0-1",
            "binary_name": "go-git"
        },
        {
            "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-45022.json"
Ubuntu:26.04:LTS
golang-github-go-git-go-git

Package

Name
golang-github-go-git-go-git
Purl
pkg:deb/ubuntu/golang-github-go-git-go-git?arch=source&distro=resolute

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

5.*
5.14.0-1
5.16.2-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "go-git",
            "binary_version": "5.16.2-1"
        },
        {
            "binary_name": "golang-github-go-git-go-git-dev",
            "binary_version": "5.16.2-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-45022.json"
Ubuntu:Pro:22.04:LTS
golang-github-go-git-go-git

Package

Name
golang-github-go-git-go-git
Purl
pkg:deb/ubuntu/golang-github-go-git-go-git?arch=source&distro=esm-apps%2Fjammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

5.*
5.4.2-3
5.4.2-3ubuntu0.1~esm1
5.4.2-3ubuntu0.1~esm2

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "go-git",
            "binary_version": "5.4.2-3ubuntu0.1~esm2"
        },
        {
            "binary_name": "golang-github-go-git-go-git-dev",
            "binary_version": "5.4.2-3ubuntu0.1~esm2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-45022.json"
Ubuntu:Pro:24.04:LTS
golang-github-go-git-go-git

Package

Name
golang-github-go-git-go-git
Purl
pkg:deb/ubuntu/golang-github-go-git-go-git?arch=source&distro=esm-apps%2Fnoble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

5.*
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
5.4.2-4ubuntu0.24.04.3+esm2
5.4.2-4ubuntu0.24.04.3+esm3

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "go-git",
            "binary_version": "5.4.2-4ubuntu0.24.04.3+esm3"
        },
        {
            "binary_version": "5.4.2-4ubuntu0.24.04.3+esm3",
            "binary_name": "golang-github-go-git-go-git-dev"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-45022.json"