Skip to content

net: double-free of cgo pointer when handling long CNAME response #78803

Description

@neild

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

Thanks to hamayanhamayan for reporting this issue.

This is CVE-2026-33811 and Go issue https://go.dev/issue/78803.


This was a PUBLIC track issue, tracked in http://b/495821212.

Metadata

Metadata

Assignees

No one assigned

    Labels

    NeedsFixThe path to resolution is known, but the work has not been done.Security

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions