CVE-2026-42503
Accidental binding to INADDR_ANY might lead to RCE in golang.org/x/tools/gopls
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.
Attack profile
How easy it is to exploit
- Attack vector
- Adjacent network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
8.8
Accidental binding to INADDR_ANY might lead to RCE in golang.org/x/tools/gopls
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.
- Record
CVE-2026-42503- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-1327
- Updated
- 2026-11-02
EUVDEUVD-2026-27872
8.8
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.
- Record
EUVD-2026-27872- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-9344-f92h-vr44
8.8
gopls by default communicates via pipe. However, -port and -listen flags are supported as means...
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.
- Record
GHSA-9344-f92h-vr44- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-1327
- Updated
- 2026-11-02
NVD
8.8
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.
- Record
CVE-2026-42503- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-1327
- Updated
- 2026-11-02
OSVDEBIAN-CVE-2026-42503
8.8
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.
- Record
DEBIAN-CVE-2026-42503- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVRHSA-2026:7385
8.8
Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update
- Record
RHSA-2026:7385- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVRHSA-2026:8291
8.8
Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update
- Record
RHSA-2026:8291- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2026-42503
8.8
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.
- Record
UBUNTU-CVE-2026-42503- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
goplsDebian:13 |
All versions, plus listed versions 2:0.16.1+ds-12:0.21.1+ds-12:0.21.1+ds-22:0.22.0+ds-12:0.22.0+ds-22:0.24.0+ds-1 |
None known |
goplsDebian:14 |
before 2:0.22.0+ds-1, plus listed versions 2:0.16.1+ds-12:0.21.1+ds-12:0.21.1+ds-2 |
2:0.22.0+ds-1 |
golang1.25Red Hat:hummingbird:1 From an advisory covering 38 CVEs |
before 0:1.25.9-1.hum1 | 0:1.25.9-1.hum1 |
golang1.25-binRed Hat:hummingbird:1 From an advisory covering 38 CVEs |
before 0:1.25.9-1.hum1 | 0:1.25.9-1.hum1 |
golang1.25-docsRed Hat:hummingbird:1 From an advisory covering 38 CVEs |
before 0:1.25.9-1.hum1 | 0:1.25.9-1.hum1 |
golang1.25-miscRed Hat:hummingbird:1 From an advisory covering 38 CVEs |
before 0:1.25.9-1.hum1 | 0:1.25.9-1.hum1 |
golang1.25-sharedRed Hat:hummingbird:1 From an advisory covering 38 CVEs |
before 0:1.25.9-1.hum1 | 0:1.25.9-1.hum1 |
golang1.25-srcRed Hat:hummingbird:1 From an advisory covering 38 CVEs |
before 0:1.25.9-1.hum1 | 0:1.25.9-1.hum1 |
golang1.25-testsRed Hat:hummingbird:1 From an advisory covering 38 CVEs |
before 0:1.25.9-1.hum1 | 0:1.25.9-1.hum1 |
golang1.26Red Hat:hummingbird:1 From an advisory covering 3 CVEs |
before 0:1.26.2-1.1.hum1 | 0:1.26.2-1.1.hum1 |
Show 9 moreShow less
| Package | Affected | Fixed |
|---|---|---|
golang1.26-binRed Hat:hummingbird:1 From an advisory covering 3 CVEs |
before 0:1.26.2-1.1.hum1 | 0:1.26.2-1.1.hum1 |
golang1.26-docsRed Hat:hummingbird:1 From an advisory covering 3 CVEs |
before 0:1.26.2-1.1.hum1 | 0:1.26.2-1.1.hum1 |
golang1.26-miscRed Hat:hummingbird:1 From an advisory covering 3 CVEs |
before 0:1.26.2-1.1.hum1 | 0:1.26.2-1.1.hum1 |
golang1.26-sharedRed Hat:hummingbird:1 From an advisory covering 3 CVEs |
before 0:1.26.2-1.1.hum1 | 0:1.26.2-1.1.hum1 |
golang1.26-srcRed Hat:hummingbird:1 From an advisory covering 3 CVEs |
before 0:1.26.2-1.1.hum1 | 0:1.26.2-1.1.hum1 |
golang1.26-testsRed Hat:hummingbird:1 From an advisory covering 3 CVEs |
before 0:1.26.2-1.1.hum1 | 0:1.26.2-1.1.hum1 |
goplsUbuntu:25.10 |
All versions, plus listed versions 2:0.16.1+ds-1 |
None known |
goplsUbuntu:26.10 |
All versions, plus listed versions 2:0.16.1+ds-12:0.21.1+ds-22:0.22.0+ds-2 |
None known |
goplsUbuntu:26.04:LTS |
All versions, plus listed versions 2:0.16.1+ds-1 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2026-42503 is a high vulnerability (CVSS 8.8) in Golang Gopls, published May 6, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.21%, the 11th percentile. Fixed in gopls 2:0.22.0+ds-1.
References
go.dev/issue/79211
go.dev/cl/774381
nvd.nist.gov/vuln/detail/CVE-2026-42503
github.com/advisories/GHSA-9344-f92h-vr44
security-tracker.debian.org/tracker/CVE-2026-42503
access.redhat.com/errata/RHSA-2026:7385
Show 194 moreShow less
images.redhat.com
access.redhat.com/security/cve/CVE-2026-27141
access.redhat.com/security/updates/classification
access.redhat.com/security/cve/CVE-2025-58190
access.redhat.com/security/cve/CVE-2025-47911
access.redhat.com/security/cve/CVE-2025-22873
access.redhat.com/security/cve/CVE-2025-68119
access.redhat.com/security/cve/CVE-2025-61732
access.redhat.com/security/cve/CVE-2025-61731
access.redhat.com/security/cve/CVE-2025-61725
access.redhat.com/security/cve/CVE-2025-61724
access.redhat.com/security/cve/CVE-2025-61723
access.redhat.com/security/cve/CVE-2025-58186
access.redhat.com/security/cve/CVE-2025-58185
access.redhat.com/security/cve/CVE-2025-58181
access.redhat.com/security/cve/CVE-2025-47914
access.redhat.com/security/cve/CVE-2025-47912
access.redhat.com/security/cve/CVE-2025-47910
access.redhat.com/security/cve/CVE-2025-68121
access.redhat.com/security/cve/CVE-2025-61730
access.redhat.com/security/cve/CVE-2025-61729
access.redhat.com/security/cve/CVE-2025-58189
access.redhat.com/security/cve/CVE-2025-58187
access.redhat.com/security/cve/CVE-2025-58188
access.redhat.com/security/cve/CVE-2025-58183
access.redhat.com/security/cve/CVE-2025-61728
access.redhat.com/security/cve/CVE-2025-61726
access.redhat.com/security/cve/CVE-2026-33809
access.redhat.com/security/cve/CVE-2026-32289
access.redhat.com/security/cve/CVE-2026-32288
security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_7385.json
bugzilla.redhat.com/show_bug.cgi?id=2436992
cve.org/CVERecord?id=CVE-2025-22873
nvd.nist.gov/vuln/detail/CVE-2025-22873
openwall.com/lists/oss-security/2025/05/06/2
go.dev/cl/670036
go.dev/issue/73555
groups.google.com/g/golang-announce/c/UZoIkUT367A/m/5WDxKizJAQAJ
pkg.go.dev/vuln/GO-2026-4403
bugzilla.redhat.com/show_bug.cgi?id=2397528
cve.org/CVERecord?id=CVE-2025-47910
nvd.nist.gov/vuln/detail/CVE-2025-47910
go.dev/cl/699275
go.dev/issue/75054
groups.google.com/g/golang-announce/c/PtW9VW21NPs/m/DJhMQ-m5AQAJ
pkg.go.dev/vuln/GO-2025-3955
bugzilla.redhat.com/show_bug.cgi?id=2437109
cve.org/CVERecord?id=CVE-2025-47911
nvd.nist.gov/vuln/detail/CVE-2025-47911
github.com/golang/vulndb/issues/4440
go.dev/cl/709876
groups.google.com/g/golang-announce/c/jnQcOYpiR2c
pkg.go.dev/vuln/GO-2026-4440
bugzilla.redhat.com/show_bug.cgi?id=2407247
cve.org/CVERecord?id=CVE-2025-47912
nvd.nist.gov/vuln/detail/CVE-2025-47912
go.dev/cl/709857
go.dev/issue/75678
groups.google.com/g/golang-announce/c/4Emdl2iQ_bI
pkg.go.dev/vuln/GO-2025-4010
bugzilla.redhat.com/show_bug.cgi?id=2416000
cve.org/CVERecord?id=CVE-2025-47914
nvd.nist.gov/vuln/detail/CVE-2025-47914
go.dev/cl/721960
go.dev/issue/76364
groups.google.com/g/golang-announce/c/w-oX3UxNcZA
pkg.go.dev/vuln/GO-2025-4135
bugzilla.redhat.com/show_bug.cgi?id=2415997
cve.org/CVERecord?id=CVE-2025-58181
nvd.nist.gov/vuln/detail/CVE-2025-58181
go.dev/cl/721961
go.dev/issue/76363
pkg.go.dev/vuln/GO-2025-4134
bugzilla.redhat.com/show_bug.cgi?id=2407258
cve.org/CVERecord?id=CVE-2025-58183
nvd.nist.gov/vuln/detail/CVE-2025-58183
go.dev/cl/709861
go.dev/issue/75677
pkg.go.dev/vuln/GO-2025-4014
bugzilla.redhat.com/show_bug.cgi?id=2407251
cve.org/CVERecord?id=CVE-2025-58185
nvd.nist.gov/vuln/detail/CVE-2025-58185
github.com/golang/go/commit/8709a41d5ef7321f486a1857f189c3fee20e8edd
go.dev/cl/709856
go.dev/issue/75671
pkg.go.dev/vuln/GO-2025-4011
bugzilla.redhat.com/show_bug.cgi?id=2407250
cve.org/CVERecord?id=CVE-2025-58186
nvd.nist.gov/vuln/detail/CVE-2025-58186
go.dev/cl/709855
go.dev/issue/75672
pkg.go.dev/vuln/GO-2025-4012
bugzilla.redhat.com/show_bug.cgi?id=2407259
cve.org/CVERecord?id=CVE-2025-58187
nvd.nist.gov/vuln/detail/CVE-2025-58187
github.com/golang/go/commit/3fc4c79fdbb17b9b29ea9f8c29dd780df075d4c4
go.dev/cl/709854
go.dev/issue/75681
pkg.go.dev/vuln/GO-2025-4007
bugzilla.redhat.com/show_bug.cgi?id=2407255
cve.org/CVERecord?id=CVE-2025-58188
nvd.nist.gov/vuln/detail/CVE-2025-58188
bugzilla.redhat.com/show_bug.cgi?id=2407260
cve.org/CVERecord?id=CVE-2025-58189
nvd.nist.gov/vuln/detail/CVE-2025-58189
go.dev/cl/707776
go.dev/issue/75652
pkg.go.dev/vuln/GO-2025-4008
bugzilla.redhat.com/show_bug.cgi?id=2437110
cve.org/CVERecord?id=CVE-2025-58190
nvd.nist.gov/vuln/detail/CVE-2025-58190
github.com/golang/vulndb/issues/4441
go.dev/cl/709875
pkg.go.dev/vuln/GO-2026-4441
bugzilla.redhat.com/show_bug.cgi?id=2407252
cve.org/CVERecord?id=CVE-2025-61723
nvd.nist.gov/vuln/detail/CVE-2025-61723
github.com/golang/go/commit/5ce8cd16f3859ec5ac4106ad8ec15d6236f4501b
go.dev/cl/709858
go.dev/issue/75676
pkg.go.dev/vuln/GO-2025-4009
bugzilla.redhat.com/show_bug.cgi?id=2407257
cve.org/CVERecord?id=CVE-2025-61724
nvd.nist.gov/vuln/detail/CVE-2025-61724
go.dev/cl/709859
go.dev/issue/75716
pkg.go.dev/vuln/GO-2025-4015
bugzilla.redhat.com/show_bug.cgi?id=2407249
cve.org/CVERecord?id=CVE-2025-61725
nvd.nist.gov/vuln/detail/CVE-2025-61725
go.dev/cl/709860
go.dev/issue/75680
pkg.go.dev/vuln/GO-2025-4006
bugzilla.redhat.com/show_bug.cgi?id=2434432
cve.org/CVERecord?id=CVE-2025-61726
nvd.nist.gov/vuln/detail/CVE-2025-61726
groups.google.com/g/golang-announce/c/Vd2tYVM8eUc
pkg.go.dev/vuln/GO-2026-4341
bugzilla.redhat.com/show_bug.cgi?id=2418677
cve.org/CVERecord?id=CVE-2025-61727
nvd.nist.gov/vuln/detail/CVE-2025-61727
groups.google.com/g/golang-announce/c/8FJoBkPddm4
pkg.go.dev/vuln/GO-2025-4175
bugzilla.redhat.com/show_bug.cgi?id=2434431
cve.org/CVERecord?id=CVE-2025-61728
nvd.nist.gov/vuln/detail/CVE-2025-61728
pkg.go.dev/vuln/GO-2026-4342
bugzilla.redhat.com/show_bug.cgi?id=2418462
cve.org/CVERecord?id=CVE-2025-61729
nvd.nist.gov/vuln/detail/CVE-2025-61729
pkg.go.dev/vuln/GO-2025-4155
bugzilla.redhat.com/show_bug.cgi?id=2434430
cve.org/CVERecord?id=CVE-2025-61730
nvd.nist.gov/vuln/detail/CVE-2025-61730
bugzilla.redhat.com/show_bug.cgi?id=2434433
cve.org/CVERecord?id=CVE-2025-61731
nvd.nist.gov/vuln/detail/CVE-2025-61731
pkg.go.dev/vuln/GO-2026-4339
bugzilla.redhat.com/show_bug.cgi?id=2437016
cve.org/CVERecord?id=CVE-2025-61732
nvd.nist.gov/vuln/detail/CVE-2025-61732
groups.google.com/g/golang-announce/c/K09ubi9FQFk
pkg.go.dev/vuln/GO-2026-4433
bugzilla.redhat.com/show_bug.cgi?id=2434438
cve.org/CVERecord?id=CVE-2025-68119
nvd.nist.gov/vuln/detail/CVE-2025-68119
pkg.go.dev/vuln/GO-2026-4338
bugzilla.redhat.com/show_bug.cgi?id=2437111
cve.org/CVERecord?id=CVE-2025-68121
nvd.nist.gov/vuln/detail/CVE-2025-68121
pkg.go.dev/vuln/GO-2026-4337
bugzilla.redhat.com/show_bug.cgi?id=2445356
cve.org/CVERecord?id=CVE-2026-25679
nvd.nist.gov/vuln/detail/CVE-2026-25679
groups.google.com/g/golang-announce/c/EdhZqrQ98hk
pkg.go.dev/vuln/GO-2026-4601
bugzilla.redhat.com/show_bug.cgi?id=2445335
cve.org/CVERecord?id=CVE-2026-27139
nvd.nist.gov/vuln/detail/CVE-2026-27139
pkg.go.dev/vuln/GO-2026-4602
bugzilla.redhat.com/show_bug.cgi?id=2443104
cve.org/CVERecord?id=CVE-2026-27141
nvd.nist.gov/vuln/detail/CVE-2026-27141
pkg.go.dev/vuln/GO-2026-4559
bugzilla.redhat.com/show_bug.cgi?id=2456342
cve.org/CVERecord?id=CVE-2026-27143
nvd.nist.gov/vuln/detail/CVE-2026-27143
groups.google.com/g/golang-announce/c/0uYbvbPZRWU
pkg.go.dev/vuln/GO-2026-4868
bugzilla.redhat.com/show_bug.cgi?id=2456340
pkg.go.dev/vuln/GO-2026-4867
pkg.go.dev/vuln/GO-2026-4946
security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_8291.json
ubuntu.com/security/CVE-2026-42503
Left out here: 83 references. The JSON record has them.