Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/insomniacslk/dhcp
  4. ›
  5. GHSA-jp3c-6v3g-mpxv

GHSA-jp3c-6v3g-mpxv: github.com/insomniacslk/dhcp permits denial of service through a malformed IPv4 payload length

November 24, 2026

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

  • github.com/advisories/GHSA-jp3c-6v3g-mpxv
  • github.com/insomniacslk/dhcp/commit/c76316d4aa825673b208730779843d0711021e81
  • github.com/insomniacslk/dhcp/pull/583
  • pkg.go.dev/vuln/GO-2026-6237

Code Behaviors & Features

Detect and mitigate GHSA-jp3c-6v3g-mpxv with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 0.0.0-20190522091526-5dce45b2b680 before 0.0.0-20260719225207-c76316d4aa82

Fixed versions

  • 0.0.0-20260719225207-c76316d4aa82

Solution

Upgrade to version 0.0.0-20260719225207-c76316d4aa82 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-1284: Improper Validation of Specified Quantity in Input

Source file

go/github.com/insomniacslk/dhcp/GHSA-jp3c-6v3g-mpxv.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 25 Nov 2026 12:18:02 +0000.