# GO-2026-6237: Denial of service via malformed IPv4 packet in github.com/insomniacslk/dhcp

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2026-08-18T16:38:10.000Z
- Modified: 2026-11-23T20:30:10.397Z

## 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.

(As written by Go Vulnerability Database.)

## Affected

- github.com/insomniacslk/dhcp (Go): from 0.0.0-20190522091526-5dce45b2b680 before 0.0.0-20260719225207-c76316d4aa82

## References

- <https://github.com/insomniacslk/dhcp/commit/c76316d4aa825673b208730779843d0711021e81> (fix)
- <https://github.com/insomniacslk/dhcp/pull/583> (fix)

## Sources

- Go Vulnerability Database: [GO-2026-6237](https://pkg.go.dev/vuln/GO-2026-6237), CC-BY-4.0, modified 2026-11-23

---

Page: https://cve.day/GO-2026-6237 · Whole record: https://cve.day/GO-2026-6237.json · Rebuilt by cve.day 2026-11-25T22:56:25.280Z
