{"schema_version":"1.9.2","id":"GO-2026-6237","published":"2026-08-18T16:38:10Z","modified":"2026-11-23T20:30:10.397427006Z","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.","affected":[{"package":{"name":"github.com/insomniacslk/dhcp","ecosystem":"Go","purl":"pkg:golang/github.com/insomniacslk/dhcp"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-20190522091526-5dce45b2b680"},{"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"}}],"references":[{"type":"FIX","url":"https://github.com/insomniacslk/dhcp/commit/c76316d4aa825673b208730779843d0711021e81"},{"type":"FIX","url":"https://github.com/insomniacslk/dhcp/pull/583"}],"database_specific":{"review_status":"REVIEWED","url":"https://pkg.go.dev/vuln/GO-2026-6237"},"credits":[{"name":"Hsiu-Chi Tsai (@thc1006)"}]}