What’s Vulnerable › Vulnerabilities
GHSA-jp3c-6v3g-mpxv: github.com/insomniacslk/dhcp permits denial of service through a malformed IPv4 payload length
- Severity: high (CVSS 7.5)
- Exploited in the wild: not listed in CISA KEV
- Public exploit or detection template: none known
- Published: 2026-11-24 · updated 2026-11-24
- Weakness: CWE-1284
Description
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 products
- Go Github.Com/Insomniacslk/Dhcp: from 0.0.0-20190522091526-5dce45b2b680 before 0.0.0-20260719225207-c76316d4aa82 — fixed in 0.0.0-20260719225207-c76316d4aa82
How to fix
Upgrade to a fixed version: Go Github.Com/Insomniacslk/Dhcp 0.0.0-20260719225207-c76316d4aa82. Check the vendor advisory for mitigations.
References
- https://github.com/insomniacslk/dhcp/pull/583
- https://github.com/insomniacslk/dhcp/commit/c76316d4aa825673b208730779843d0711021e81
- https://github.com/insomniacslk/dhcp
- https://pkg.go.dev/vuln/GO-2026-6237
Get alerted when GHSA-jp3c-6v3g-mpxv or the next vulnerability affects your stack