CVE-2026-42512HIGH 8.1EPSS p69.4%

CVE-2026-42512CVE-2026-42512

Description

As dhclient is building an environment to pass to dhclient-script, it may need to resize the array of string pointers. The code which expands the array incorrectly calculates its new size when requesting memory, resulting in a heap buffer overrun. A specially crafted packet can cause dhclient to overrun its buffer of environment entries. This can result in a crash, but it may be possible to leverage this bug to achieve remote code execution.

Scoring

CVSS 3.18.1 (HIGH)
VectorCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS1.42% probability of exploitation · percentile 69.4% · 2026-06-18T12:00:27Z
Published2026-04-30
Last modified2026-05-01

Underlying weaknesses· 1

CWE-122

References

  1. https://security.freebsd.org/advisories/FreeBSD-SA-26:15.dhclient.asc

1

TypeTargetConfidenceTier
WeaknessHeap-based Buffer Overflowcwe-1220%live

Related by meaning· 6

Nearest entities by semantic similarity across the cs-graph corpus.

CVE
CVE-2026-4892
CVE
CVE-2026-42511
CVE
CVE-2026-44815
CVE
CVE-2026-29004
CVE
CVE-2026-24028
CVE
CVE-2026-42992
Sourced from NVD + FIRST.org EPSS. Curated for EU compliance use cases by Adam Lundqvist, Founder at SQUR.