GHSA-jp3c-6v3g-mpxv
HIGHgithub.com/insomniacslk/dhcp permits denial of service through a malformed IPv4 payload length
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.
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | 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 |
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/pull/583 · WEB
- https://github.com/insomniacslk/dhcp/commit/c76316d4aa825673b208730779843d0711021e81 · WEB
- https://github.com/insomniacslk/dhcp · PACKAGE
- https://pkg.go.dev/vuln/GO-2026-6237 · WEB
History
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 24 Nov 2026)