Advisory

GO-2026-6237

Also known as: None

Summary

Denial of service via malformed IPv4 packet in github.com/insomniacslk/dhcp

Details

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.

Severity

Not rated by the source.

Dates

Published
2026-08-18 16:38 UTC
Modified
2026-08-19 15:41 UTC

Affected packages and fixes

github.com/insomniacslk/dhcp

Go · All systems

Affected

  • introduced 0, fixed 0.0.0-20260719225207-c76316d4aa82 (semver)

Fixed versions

0.0.0-20260719225207-c76316d4aa82

Fix

  • Fixed version 0.0.0-20260719225207-c76316d4aa82
    go get github.com/insomniacslk/[email protected]

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Go Vulnerability Database · CC BY 4.0

Sources & licences