UBUNTU-CVE-2026-27145

Source
https://ubuntu.com/security/CVE-2026-27145
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-27145.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-27145
Upstream
  • CVE-2026-27145
Published
2026-06-02T23:16:00Z
Modified
2026-06-12T09:04:05.888860110Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

(*x509.Certificate).VerifyHostname previously called matchHostnames in a loop over all DNS Subject Alternative Name (SAN) entries. This caused strings.Split(host, ".") to execute repeatedly on the same input hostname. With a large DNS SAN list, verification costs scaled quadratically based on the number of SAN entries multiplied by the hostname's label count. Because x509.Verify validates hostnames before building the certificate chain, this overhead occurred even for untrusted certificates.

References

Affected packages

Ubuntu:22.04:LTS
golang-1.24

Package

Name
golang-1.24
Purl
pkg:deb/ubuntu/golang-1.24?arch=source&distro=jammy

Affected ranges

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

Affected versions

1.*
1.24.4-1ubuntu1~22.04.1
1.24.4-1ubuntu1~22.04.2

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "golang-1.24",
            "binary_version": "1.24.4-1ubuntu1~22.04.2"
        },
        {
            "binary_name": "golang-1.24-go",
            "binary_version": "1.24.4-1ubuntu1~22.04.2"
        },
        {
            "binary_name": "golang-1.24-src",
            "binary_version": "1.24.4-1ubuntu1~22.04.2"
        }
    ]
}

Database specific

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

Package

Name
golang-1.24
Purl
pkg:deb/ubuntu/golang-1.24?arch=source&distro=noble

Affected ranges

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

Affected versions

1.*
1.24.4-1ubuntu1~24.04.1
1.24.4-1ubuntu1~24.04.2

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "golang-1.24",
            "binary_version": "1.24.4-1ubuntu1~24.04.2"
        },
        {
            "binary_name": "golang-1.24-go",
            "binary_version": "1.24.4-1ubuntu1~24.04.2"
        },
        {
            "binary_name": "golang-1.24-src",
            "binary_version": "1.24.4-1ubuntu1~24.04.2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-27145.json"
Ubuntu:25.10
golang-1.24

Package

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

Affected ranges

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

Affected versions

1.*
1.24.2-1
1.24.2-2
1.24.4-1
1.24.4-1ubuntu1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "golang-1.24",
            "binary_version": "1.24.4-1ubuntu1"
        },
        {
            "binary_name": "golang-1.24-go",
            "binary_version": "1.24.4-1ubuntu1"
        },
        {
            "binary_name": "golang-1.24-src",
            "binary_version": "1.24.4-1ubuntu1"
        }
    ]
}

Database specific

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

Package

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

Affected ranges

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

Affected versions

1.*
1.25.0-0ubuntu1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "golang-1.25",
            "binary_version": "1.25.0-0ubuntu1"
        },
        {
            "binary_name": "golang-1.25-go",
            "binary_version": "1.25.0-0ubuntu1"
        },
        {
            "binary_name": "golang-1.25-src",
            "binary_version": "1.25.0-0ubuntu1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-27145.json"
Ubuntu:26.04:LTS
golang-1.24

Package

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

Affected ranges

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

Affected versions

1.*
1.24.4-1ubuntu1
1.24.9-1
1.24.13-2

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "golang-1.24",
            "binary_version": "1.24.13-2"
        },
        {
            "binary_name": "golang-1.24-go",
            "binary_version": "1.24.13-2"
        },
        {
            "binary_name": "golang-1.24-src",
            "binary_version": "1.24.13-2"
        }
    ]
}

Database specific

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

Package

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

Affected ranges

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

Affected versions

1.*
1.25.0-0ubuntu1
1.25.7-2

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "golang-1.25",
            "binary_version": "1.25.7-2"
        },
        {
            "binary_name": "golang-1.25-go",
            "binary_version": "1.25.7-2"
        },
        {
            "binary_name": "golang-1.25-src",
            "binary_version": "1.25.7-2"
        }
    ]
}

Database specific

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

Package

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

Affected ranges

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

Affected versions

1.*
1.26~rc3-2
1.26.0-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "golang-1.26",
            "binary_version": "1.26.0-1"
        },
        {
            "binary_name": "golang-1.26-go",
            "binary_version": "1.26.0-1"
        },
        {
            "binary_name": "golang-1.26-src",
            "binary_version": "1.26.0-1"
        }
    ]
}

Database specific

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