# CVE-2026-42503: Accidental binding to INADDR\_ANY might lead to RCE in golang.org/x/tools/gopls

- Priority: **Routine**
- Reason: Not severe (CVSS 8.8, adjacent network); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-05-06 · Modified: 2026-05-07
- Aliases: UBUNTU-CVE-2026-42503, DEBIAN-CVE-2026-42503
- Record: https://cvemate.com/vulnerability/CVE-2026-42503 · JSON: https://cvemate.com/vulnerability/CVE-2026-42503/json

## Description

```text
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.
```

## Signals

- CVSS: 8.8 high (v3.1, CVE.org) CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.223%, percentile 13.745%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian gopls (Debian): All versions (No fix recorded) \| \< 2:0.22.0+ds-1
- ubuntu gopls (Ubuntu): All versions (No fix recorded)
- golang gopls: \< 0.22.0
- golang.org/x/tools golang.org/x/tools/gopls: ≥ 0.0.0, \< 0.22.0

## References

- <https://go.dev/issue/79211>
- <https://go.dev/cl/774381>
- <https://ubuntu.com/security/CVE-2026-42503>
- <https://www.cve.org/CVERecord?id=CVE-2026-42503>
- <https://security-tracker.debian.org/tracker/CVE-2026-42503>

---

Data as of 2026-12-05T11:27:52.331Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
