CVE-2026-42503 Affecting gopls package, versions *


Severity

Recommended
low

Based on Debian security rating.

Threat Intelligence

EPSS
0.21% (12th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN13-GOPLS-17099894
  • published30 May 2026
  • disclosed6 May 2026

Introduced: 6 May 2026

CVE-2026-42503  (opens in a new tab)

How to fix?

There is no fixed version for Debian:13 gopls.

NVD Description

Note: Versions mentioned in the description apply only to the upstream gopls package and not the gopls package as distributed by Debian. See How to fix? for Debian:13 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1