UBUNTU-CVE-2026-42503

Source
https://ubuntu.com/security/CVE-2026-42503
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-42503.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-42503
Upstream
  • CVE-2026-42503
Published
2026-05-06T17:16:00Z
Modified
2026-05-20T16:25:43Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

gopls by default communicates via pipe. However, -port and -listen flags are supported as means of debugging. If -listen is given a value without an explicit host (e.g. :8080), or -port is used, gopls will listen on 0.0.0.0. As a result, users might inadvertently cause gopls to bind 0.0.0.0. This can allow a malicious party on the same network to execute code arbitrarily via gopls.

References

Affected packages

Ubuntu:25.10 / gopls

Package

Name
gopls
Purl
pkg:deb/ubuntu/gopls?arch=source&distro=questing

Affected ranges

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

Affected versions

2:0.*
2:0.16.1+ds-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "gopls",
            "binary_version": "2:0.16.1+ds-1"
        }
    ]
}

Database specific

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

Ubuntu:26.04:LTS / gopls

Package

Name
gopls
Purl
pkg:deb/ubuntu/gopls?arch=source&distro=resolute

Affected ranges

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

Affected versions

2:0.*
2:0.16.1+ds-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "gopls",
            "binary_version": "2:0.16.1+ds-1"
        }
    ]
}

Database specific

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