{"id":"GO-2026-6237","aliases":["GO-2026-6237"],"related":[],"kind":"vulnerability","state":"published","title":"Denial of service via malformed IPv4 packet in github.com/insomniacslk/dhcp","summary":"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.","summaryFormat":"markdown","summarySource":"go","descriptions":[{"lang":"en","text":"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.","format":"markdown","source":"go"}],"published":"2026-08-18T16:38:10.000Z","modified":"2026-11-23T20:30:10.397Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"semver","introduced":"0.0.0-20190522091526-5dce45b2b680","status":"affected","fixed":"0.0.0-20260719225207-c76316d4aa82"}],"ecosystem":"Go","package":"github.com/insomniacslk/dhcp","purl":"pkg:golang/github.com/insomniacslk/dhcp","source":"go"}],"references":[{"url":"https://github.com/insomniacslk/dhcp/commit/c76316d4aa825673b208730779843d0711021e81","tags":["fix"],"sources":["go"]},{"url":"https://github.com/insomniacslk/dhcp/pull/583","tags":["fix"],"sources":["go"]}],"credits":["Hsiu-Chi Tsai (@thc1006)"],"sources":[{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-6237","url":"https://pkg.go.dev/vuln/GO-2026-6237","licence":"CC-BY-4.0","modified":"2026-11-23T20:30:10.397Z"}],"updatedAt":"2026-11-25T22:56:25.280Z"}