nday
GHSA-jp3c-6v3g-mpxv

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

Patched on the day of disclosure. Patched: fixed in github.com/insomniacslk/dhcp 0.0.0-20260719225207-c76316d4aa82. None of the four PoC sources lists it. Not in CISA KEV.

why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

adjacent network
AV:A in 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 (CVSS 4.0) from GitHub advisory GHSA-jp3c-6v3g-mpxv
no authentication required
PR:N in 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 (CVSS 4.0) from GitHub advisory GHSA-jp3c-6v3g-mpxv
no user interaction
UI:N in 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 (CVSS 4.0) from GitHub advisory GHSA-jp3c-6v3g-mpxv
Go
GHSA-jp3c-6v3g-mpxv: go packages github.com/insomniacslk/dhcp
stage
PAT
disclosed
disclosure → patch
T+0d
cvss
7.1 HIGH v4.0

Lifecycle

x axis UTC; dot = exact minute, wide bar = date only, hollow = unknown or inferred.
time unknown
DISdisclosed
11-24T21:13Z
PATpatch
11-24T22:02Z
ANAanalysis
no record yet
POCPoC
no record yet
ITWexploited
no record yet
KEVKEV
no record yet

Summary

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.

Original text of GitHub advisory GHSA-jp3c-6v3g-mpxv, shown as published.

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:A
Adjacent: only from a nearby network, such as the same LAN segment or Bluetooth range
Attack complexity AC:L
Low: no target-specific security measures to get around
Attack requirements AT:N
None: success does not depend on how the target is deployed or running
Privileges required PR:N
None: no account or authorization needed
User interaction UI:N
None: no action by anyone other than the attacker

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

CVSS 4.0 vector from GitHub advisory GHSA-jp3c-6v3g-mpxv.

Event log

+DISdisclosed

ghsa reported a disclosure.

src ghsa · nday , observed live · raw
{
  "id": 546542,
  "type": "disclosed",
  "source": "ghsa",
  "url": "https://github.com/advisories/GHSA-jp3c-6v3g-mpxv",
  "occurred_at": "2026-11-24T21:13:37Z",
  "observed_at": "2026-11-24T22:02:41.440596Z",
  "is_backfill": false,
  "dedupe_key": "GHSA-jp3c-6v3g-mpxv",
  "detail": {
    "state": "PUBLISHED",
    "ghsa_id": "GHSA-jp3c-6v3g-mpxv",
    "withdrawn_at": null
  }
}
no source time; observed live by nday
+PATpatch released

The advisory gives fixed version github.com/insomniacslk/dhcp 0.0.0-20260719225207-c76316d4aa82. Fix commits are linked. Advisory published ; the patch's own release time is not recorded.

src ghsa · nday , observed live · raw
{
  "id": 546543,
  "type": "patch_released",
  "source": "ghsa",
  "url": "https://github.com/advisories/GHSA-jp3c-6v3g-mpxv",
  "occurred_at": null,
  "observed_at": "2026-11-24T22:02:41.440596Z",
  "is_backfill": false,
  "dedupe_key": "GHSA-jp3c-6v3g-mpxv",
  "detail": {
    "cvss": {
      "cvss_v3": {
        "score": 0.0,
        "vector_string": null
      },
      "cvss_v4": {
        "score": 7.1,
        "vector_string": "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"
      }
    },
    "cwes": [
      {
        "name": "Improper Validation of Specified Quantity in Input",
        "cwe_id": "CWE-1284"
      }
    ],
    "ghsa_id": "GHSA-jp3c-6v3g-mpxv",
    "packages": [
      {
        "name": "github.com/insomniacslk/dhcp",
        "ecosystem": "go",
        "first_patched_version": "0.0.0-20260719225207-c76316d4aa82",
        "vulnerable_version_range": ">= 0.0.0-20190522091526-5dce45b2b680, < 0.0.0-20260719225207-c76316d4aa82"
      }
    ],
    "severity": "high",
    "references": [
      "https://github.com/insomniacslk/dhcp/pull/583",
      "https://github.com/insomniacslk/dhcp/commit/c76316d4aa825673b208730779843d0711021e81",
      "https://pkg.go.dev/vuln/GO-2026-6237",
      "https://github.com/advisories/GHSA-jp3c-6v3g-mpxv"
    ],
    "fix_commit_urls": [
      "https://github.com/insomniacslk/dhcp/pull/583",
      "https://github.com/insomniacslk/dhcp/commit/c76316d4aa825673b208730779843d0711021e81"
    ],
    "github_reviewed_at": "2026-11-24T21:13:37Z",
    "advisory_updated_at": "2026-11-24T21:13:37Z",
    "source_code_location": "https://github.com/insomniacslk/dhcp",
    "advisory_published_at": "2026-11-24T21:13:37Z"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Discussion

0 comments

No comments yet.