GO-2026-6237

Source
https://pkg.go.dev/vuln/GO-2026-6237
Import Source
https://vuln.go.dev/ID/GO-2026-6237.json
JSON Data
https://api.osv.dev/v1/vulns/GO-2026-6237
Downstream
Related
Published
2026-08-18T16:38:10Z
Modified
2026-08-19T15:41:56Z
Summary
Denial of service via malformed IPv4 packet in github.com/insomniacslk/dhcp
Details

In github.com/insomniacslk/dhcp/dhcpv4/nclient4, BroadcastRawUDPConn.ReadFrom does not validate that the IPv4 payload length is sufficient to hold a UDP header before calculating the DHCP payload length. A frame with an IPv4 total-length field specifying fewer than eight payload bytes results in a negative DHCP length, causing a panic in buf.Consume due to a negative slice bound.

Database specific
{
    "review_status": "REVIEWED",
    "url": "https://pkg.go.dev/vuln/GO-2026-6237"
}
References

Affected packages

Go / github.com/insomniacslk/dhcp

Package

Name
github.com/insomniacslk/dhcp
View open source insights on deps.dev
Purl
pkg:golang/github.com/insomniacslk/dhcp

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
0.0.0-20260719225207-c76316d4aa82

Ecosystem specific

{
    "imports": [
        {
            "path": "github.com/insomniacslk/dhcp/dhcpv4/nclient4",
            "symbols": [
                "BroadcastRawUDPConn.ReadFrom"
            ]
        }
    ]
}

Database specific

source
"https://vuln.go.dev/ID/GO-2026-6237.json"