Go Vulnerability Database
GO-2026-5942
Parsing an invalid SVCB or HTTPS RR can panic in golang.org/x/net/dns/dnsmessage
Details
Parsing an invalid SVCB or HTTPS RR can panic when the size of a parameter value overflows the message buffer.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | stdlib | From 1.26.0-0 before 1.26.6 (fixed in 1.26.6) From 1.27.0-0 before 1.27.0-rc.3 (fixed in 1.27.0-rc.3) |
| Go | golang.org/x/net | All versions before 0.56.0 (fixed in 0.56.0) |