GO-2026-4981

Crash when handling long CNAME response in net

At a glance

Published
Updated
CVE
CVE-2026-33811
Aliases
BIT-golang-2026-33811

Description

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

Affected packages

PackageVersions
Go · stdlibintroduced 0, fixed 1.25.10, introduced 1.26.0-0, fixed 1.26.3

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — Go Vulnerability Database