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

Not scored Published

A remote attacker can cause a denial of service in applications using the insomniacslk/dhcp library by sending a malformed IPv4 packet.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is GO-2026-6237?

GO-2026-6237 is a denial of service vulnerability in github.com/insomniacslk/dhcp, published on 18 Aug 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

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

Which versions are affected by GO-2026-6237?

1 open source package ship an affected version, including github.com/insomniacslk/dhcp.

PackageAffectedFixed in
github.com/insomniacslk/dhcp GoAll versions0.0.0-20260719225207-c76316d4aa82

How do I fix GO-2026-6237?

Upgrade github.com/insomniacslk/dhcp to 0.0.0-20260719225207-c76316d4aa82 or later.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is GO-2026-6237 being exploited?

There is no known exploitation of GO-2026-6237 in the wild and no public exploit code.

Sources

Is GO-2026-6237 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free