Vulnerability · Published May 7, 2026 · Assigned by Go

CVE-2026-39836Panic in Dial and LookupPort when handling NUL byte on Windows in net

High 7.5

In plain English

A high-severity security flaw in net from Go standard library. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 51% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)0.6%top 49.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

The Dial and LookupPort functions panic on Windows when provided with an input containing a NUL (0).

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8delve1.25.2-1.module_el8.10.0+4074+24330916ALSA-2026:22112
AlmaLinux:8go-toolset1.25.10-1.module_el8.10.0+4187+c45165c4ALSA-2026:22112
AlmaLinux:9go-toolset1.26.3-1.el9_8ALSA-2026:22121
AlmaLinux:8golang1.25.10-1.module_el8.10.0+4187+c45165c4ALSA-2026:22112
AlmaLinux:9golang1.26.3-1.el9_8ALSA-2026:22121
AlmaLinux:8golang-bin1.25.10-1.module_el8.10.0+4187+c45165c4ALSA-2026:22112
AlmaLinux:9golang-bin1.26.3-1.el9_8ALSA-2026:22121
AlmaLinux:8golang-docs1.25.10-1.module_el8.10.0+4187+c45165c4ALSA-2026:22112
AlmaLinux:9golang-docs1.26.3-1.el9_8ALSA-2026:22121
AlmaLinux:8golang-misc1.25.10-1.module_el8.10.0+4187+c45165c4ALSA-2026:22112
AlmaLinux:9golang-misc1.26.3-1.el9_8ALSA-2026:22121
AlmaLinux:8golang-race1.25.10-1.module_el8.10.0+4187+c45165c4ALSA-2026:22112
AlmaLinux:9golang-race1.26.3-1.el9_8ALSA-2026:22121
AlmaLinux:8golang-src1.25.10-1.module_el8.10.0+4187+c45165c4ALSA-2026:22112
AlmaLinux:9golang-src1.26.3-1.el9_8ALSA-2026:22121
AlmaLinux:8golang-tests1.25.10-1.module_el8.10.0+4187+c45165c4ALSA-2026:22112
AlmaLinux:9golang-tests1.26.3-1.el9_8ALSA-2026:22121
Alpine:v3.23go1.25.10-r0ALPINE-CVE-2026-39836
Alpine:v3.24go1.26.3-r0ALPINE-CVE-2026-39836
Alpine:v3.24rclone1.74.1-r0ALPINE-CVE-2026-39836
Gostdlib1.25.10, 1.26.3GO-2026-4971
Rocky Linux:8delve0:1.25.2-1.module+el8.10.0+40035+ee0a7047RLSA-2026:22112
Rocky Linux:10golang0:1.26.3-4.el10_2RLSA-2026:22120
Rocky Linux:8golang0:1.25.10-1.module+el8.10.0+40200+0fd0f175RLSA-2026:22112
Rocky Linux:9golang0:1.26.3-1.el9_8RLSA-2026:22121
Ubuntu:22.04:LTSgolang-1.25no fix listedUBUNTU-CVE-2026-39836
Ubuntu:24.04:LTSgolang-1.25no fix listedUBUNTU-CVE-2026-39836

Affected products (as reported)

VendorProductVersions
Go standard library net 0 – before 1.25.101.26.0-0 – before 1.26.3

References