{"id":"GHSA-jp3c-6v3g-mpxv","aliases":["GHSA-jp3c-6v3g-mpxv"],"related":[],"kind":"vulnerability","state":"published","title":"github.com/insomniacslk/dhcp permits denial of service through a malformed IPv4 payload length","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":"ghsa","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":"ghsa"}],"published":"2026-11-24T21:13:37.000Z","modified":"2026-11-24T21:45:04.275Z","severity":{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","rating":"HIGH"}],"cwes":["CWE-1284"],"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":"ghsa"}],"references":[{"url":"https://github.com/insomniacslk/dhcp/pull/583","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/insomniacslk/dhcp/commit/c76316d4aa825673b208730779843d0711021e81","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/insomniacslk/dhcp","tags":["package"],"sources":["ghsa"]},{"url":"https://pkg.go.dev/vuln/GO-2026-6237","tags":["web"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-jp3c-6v3g-mpxv","url":"https://github.com/advisories/GHSA-jp3c-6v3g-mpxv","licence":"CC-BY-4.0","modified":"2026-11-24T21:45:04.275Z"}],"updatedAt":"2026-11-25T22:56:21.812Z"}