Skip to main content
VulnerabilityPublished

github.com/insomniacslk/dhcp permits denial of service through a malformed IPv4 payload length

Affects github.com/insomniacslk/dhcpSource GCVE Database

0

CVSS 7.1 High : upgrade to 0.0.0-20260719225207-c76316d4aa82 soon.

Data as of 24 Nov 2026, 22:10 UTC

CVSS 4.0 base score
7.1High
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 0.0.0-20260719225207-c76316d4aa82
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

What to do

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

Affected software

ProductAffectedFixed in
Gogithub.com/insomniacslk/dhcpAffected
  • >=0.0.0-20190522091526-5dce45b2b680 <0.0.0-20260719225207-c76316d4aa82
Fixed in
  • 0.0.0-20260719225207-c76316d4aa82

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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.

References

Community reviews

Loading reviews…