Skip to main content

FreeBSD dhclient EUVDEUVD-2026-26357

| CVE-2026-42512 HIGH
Heap-based Buffer Overflow (CWE-122)
2026-04-30 freebsd
8.1
CVSS 3.1 · Vendor: freebsd
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Position on network segment
  2. Delivery
    Send malicious DHCP response
  3. Exploit
    Trigger heap overflow in dhclient
  4. Execution
    Overwrite heap metadata
  5. Persist
    Execute arbitrary code
  6. Impact
    Establish persistence or lateral movement

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Heap buffer bounds checking
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Attacker must control or intercept DHCP traffic to the target FreeBSD system, requiring network position as DHCP server, man-in-the-middle, or on the same broadcast domain. Vulnerable dhclient must be actively requesting or renewing DHCP leases when the malicious packet arrives. No user interaction or authentication required (CVSS PR:N/UI:N), but the high attack complexity (AC:H) reflects the need for network positioning and precise packet crafting. Exploitation is limited to scenarios where dhclient is enabled and actively querying DHCP servers, which excludes systems with static IP configurations. The attacker does not need prior system access but must overcome network segmentation and potentially DHCP server validation mechanisms in enterprise environments.

Impact

Real-world risk is moderate despite the high CVSS score of 8.1. The CVSS vector (AV:N/AC:H/PR:N/UI:N) indicates network-accessible remote exploitation without authentication, but attack complexity is high because the attacker must occupy a network position to deliver malicious DHCP responses (man-in-the-middle or rogue DHCP server). EPSS score of 0.03% (8th percentile) suggests extremely low observed exploitation probability in the wild. SSVC framework marks this as automatable with no current exploitation and partial technical impact, indicating theoretical risk exceeds practical threat level. The CISA KEV does not list this vulnerability, confirming no confirmed active exploitation. However, the potential for remote code execution combined with network attack vector means this warrants prioritization for internet-facing or untrusted network environments where DHCP clients operate. The high complexity likely stems from needing precise heap manipulation to achieve code execution versus denial of service. Organizations with dhclient on secured internal networks face lower immediate risk than those on public or hostile networks.

Exploit ScenarioDerived

An attacker positioned on the network segment (via compromised router, rogue access point, or man-in-the-middle position) sends a specially crafted DHCP response packet to a vulnerable FreeBSD system performing DHCP discovery or renewal. The malicious packet contains carefully structured options that trigger the heap buffer overflow in dhclient's environment array expansion code, potentially allowing the attacker to overwrite heap metadata and achieve arbitrary code execution with dhclient's privileges. While denial of service via crash is straightforward, achieving reliable remote code execution requires heap manipulation expertise and may vary by FreeBSD version and memory allocator behavior.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – May 01, 2026

Heap buffer overflow in FreeBSD dhclient enables potential remote code execution when processing maliciously crafted DHCP packets. Affects FreeBSD 13.5, 14.3, 14.4, and 15.0 branches prior to security patches. EPSS exploitation probability is low (0.03%, 8th percentile) and no active exploitation confirmed, but SSVC classifies this as automatable with partial technical impact. The vulnerability requires network position to send crafted DHCP responses (CVSS AV:N/AC:H), making exploitation complexity high but not requiring authentication.

Earlier versions of this analysis (1)
v1 Apr 30, 2026 - 14:24 CVSS 7.3

Heap buffer overflow in FreeBSD dhclient allows remote code execution via malicious DHCP responses. The vulnerability affects the dhclient-script environment variable expansion logic across FreeBSD 13.5, 14.3, 14.4, and 15.0 branches. Network-positioned attackers on the same broadcast domain can exploit this without authentication (CVSS AV:N/PR:N) by operating a rogue DHCP server. Despite the 7.3 CVSS score and confirmed patch availability from FreeBSD, EPSS indicates only 0.03% exploitation probability (8th percentile), suggesting limited real-world targeting. No CISA KEV listing or public exploit identified at time of analysis.

RemediationAI

Apply FreeBSD security patches immediately by upgrading to patched releases: FreeBSD 14.3-RELEASE-p12 or later, FreeBSD 14.4-RELEASE-p3 or later, FreeBSD 13.5-RELEASE-p13 or later, or FreeBSD 15.0-RELEASE-p7 or later. Follow upgrade procedures at https://security.freebsd.org/advisories/FreeBSD-SA-26:15.dhclient.asc for binary updates via freebsd-update or source-based patching. If immediate patching is impossible, implement network segmentation to isolate dhclient systems from untrusted networks and consider static IP configuration to disable DHCP entirely on critical systems, though this sacrifices dynamic network configuration convenience and may break cloud or enterprise DHCP-dependent infrastructure. For temporary risk reduction, deploy DHCP snooping on network switches to validate DHCP server authenticity and prevent rogue DHCP responses, though this requires managed switch infrastructure and careful configuration to avoid disrupting legitimate DHCP services.

Affected VersionsENISA

FreeBSD 14.3-RELEASE <p12
FreeBSD 14.4-RELEASE <p3
FreeBSD 13.5-RELEASE <p13
FreeBSD 15.0-RELEASE <p7

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The dhclient DHCP client daemon in FreeBSD contains a heap buffer overflow (CWE-122) in its environment variable handling logic. When dhclient receives DHCP packets and prepares to invoke the dhclient-script helper, it builds an array of environment string pointers. The memory reallocation routine miscalculates the required buffer size during array expansion, leading to a heap-based buffer overrun. This affects the ISC DHCP client implementation bundled with FreeBSD across multiple release branches. The vulnerability lies in unsafe memory management during dynamic array resizing, a common class of memory corruption bugs that can compromise control flow if exploitable. The CPE identifier cpe:2.3:a:freebsd:freebsd indicates this is specific to the FreeBSD operating system distribution's dhclient implementation.

Know when Freebsd gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (freebsd) PRIMARY 8.1 HIGH
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Primary rating from Vendor (freebsd) · only source for this CVE.

CVSS VectorVendor: freebsd

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

4
Analysis Updated
May 01, 2026 - 16:28 vuln.today
v2 - CVSS changed
CVSS changed
May 01, 2026 - 16:22 NVD
7.3 (HIGH) 8.1 (HIGH)
CVSS changed
Apr 30, 2026 - 14:22 NVD
7.3 (HIGH)
CVE Published
Apr 30, 2026 - 07:58 nvd
HIGH 8.1

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

A heap buffer overflow in FreeBSD's dhclient (CVE-2026-42512, CVSS 8.1) could enable remote code execution on affected systems when processing malicious DHCP responses, requiring network proximity but no authentication. FreeBSD 13.5, 14.3, 14.4, and 15.0 systems are vulnerable; organizations running these versions should prioritize assessment and mitigation since no vendor patch is currently available.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict DHCP traffic to trusted internal networks only via firewall rules; (2) Use static IP addressing instead of dhclient where operationally feasible; (3) Segment systems running vulnerable FreeBSD versions from untrusted network segments; (4) Monitor FreeBSD security advisory channels for patch release.

Threat Intelligence Overview

EPSS Score
0.0%
Top 92% exploitable
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

40
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +40
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

A heap overflow occurs when a program writes data beyond the bounds of a buffer allocated in the heap memory region.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

CVE-2012-0217 HIGH POC
7.2 Jun 12

The x86-64 kernel system-call functionality in Xen 4.1.2 and earlier, as used in Citrix XenServer 6.0.2 and earlier and

CVE-2025-14558 HIGH POC
7.2 Mar 09

The rtsol(8) and rtsold(8) programs do not validate the domain search list options provided in router advertisement mess

CVE-2020-1967 HIGH POC
7.5 Apr 21

Server or client applications that call the SSL_check_chain() function during or after a TLS 1.3 handshake may crash due

CVE-2013-4854 HIGH POC
7.8 Jul 29

The RFC 5011 implementation in rdata.c in ISC BIND 9.7.x and 9.8.x before 9.8.5-P2, 9.8.6b1, 9.9.x before 9.9.3-P2, and

CVE-2024-6387 HIGH POC
8.1 Jul 01

Remote code execution in OpenSSH's sshd server (regression of CVE-2006-5051) allows unauthenticated remote attackers to

CVE-2019-6111 MEDIUM POC
5.9 Jan 31

An issue was discovered in OpenSSH 7.9. Rated medium severity (CVSS 5.9), this vulnerability is remotely exploitable, no

CVE-2023-48795 MEDIUM POC
5.9 Dec 18

The SSH transport protocol with certain OpenSSH extensions, found in OpenSSH before 9.6 and other products, allows remot

CVE-2013-2171 MEDIUM POC
6.9 Jul 02

The vm_map_lookup function in sys/vm/vm_map.c in the mmap implementation in the kernel in FreeBSD 9.0 through 9.1-RELEAS

CVE-2021-3449 MEDIUM
5.9 Mar 25

An OpenSSL TLS server may crash if sent a maliciously crafted renegotiation ClientHello message from a client. Rated med

CVE-2016-5766 HIGH POC
8.8 Aug 07

Integer overflow in the _gd2GetHeader function in gd_gd2.c in the GD Graphics Library (aka libgd) before 2.2.3, as used

CVE-2016-1879 HIGH POC
7.5 Jan 29

The Stream Control Transmission Protocol (SCTP) module in FreeBSD 9.3 before p33, 10.1 before p26, and 10.2 before p9, w

CVE-2020-7457 HIGH POC
8.1 Jul 09

In FreeBSD 12.1-STABLE before r359565, 12.1-RELEASE before p7, 11.4-STABLE before r362975, 11.4-RELEASE before p1, and 1

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy