Double Free Affecting std/net package, versions <1.25.10>=1.26.0-0 <1.26.3


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.02% (5th 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 Learn

Learn about Double Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-STDNET-16535159
  • published8 May 2026
  • disclosed7 May 2026
  • credithamayanhamayan

Introduced: 7 May 2026

NewCVE-2026-33811  (opens in a new tab)
CWE-415  (opens in a new tab)

How to fix?

Upgrade std/net to version 1.25.10, 1.26.3 or higher.

Overview

std/net is a Go standard library package std/net

Affected versions of this package are vulnerable to Double Free.

Go Vulnerability Report:

When using LookupCNAME with the cgo DNS resolver, a very long CNAME response can trigger a double-free of C memory and a crash.

CVSS Base Scores

version 4.0
version 3.1