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
| Package | Versions |
|---|---|
| Go · stdlib | introduced 0, fixed 1.25.10, introduced 1.26.0-0, fixed 1.26.3 |
References
- https://go.dev/issue/78803 REPORT
- https://go.dev/cl/767860 FIX
- https://groups.google.com/g/golang-announce/c/qcCIEXso47M WEB
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — Go Vulnerability Database |