GO-2026-6237
not scored yetDenial of service via malformed IPv4 packet in github.com/insomniacslk/dhcp
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
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | github.com/insomniacslk/dhcp | >= 0.0.0-20190522091526-5dce45b2b680, < 0.0.0-20260719225207-c76316d4aa82 | 0.0.0-20260719225207-c76316d4aa82 |
References
- https://github.com/insomniacslk/dhcp/commit/c76316d4aa825673b208730779843d0711021e81 · FIX
- https://github.com/insomniacslk/dhcp/pull/583 · FIX
History
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 18 Aug 2026)