{"id":"UBUNTU-CVE-2026-42503","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.","modified":"2026-05-20T16:25:43.604031134Z","published":"2026-05-06T17:16:00Z","upstream":["CVE-2026-42503"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-42503"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-42503"}],"affected":[{"package":{"name":"gopls","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/gopls?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["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"}},{"package":{"name":"gopls","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/gopls?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2:0.16.1+ds-1"],"ecosystem_specific":{"binaries":[{"binary_version":"2:0.16.1+ds-1","binary_name":"gopls"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-42503.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}