FreeBSD dhclient Heap Buffer Overrun Vulnerability Allowing Remote Code Execution

Vulnerability

A heap buffer overrun vulnerability has been identified in the dhclient utility, which is the default IPv4 DHCP client on FreeBSD. This vulnerability affects all supported versions of FreeBSD. The issue arises when dhclient resizes the array of string pointers to pass parameters to dhclient-script. The code incorrectly calculates the new size, leading to a buffer overrun. A specially crafted packet can exploit this flaw, causing a crash and potentially allowing remote code execution.

Impact

Exploitation of this vulnerability can lead to a heap buffer overrun, causing a crash and potentially allowing remote code execution.

Remediation

Users can upgrade to a supported FreeBSD stable or release branch dated after the correction date. Instructions for updating via the pkg utility, freebsd-update utility, or by applying a source code patch are available in the FreeBSD Security Advisory.

Added: Apr 30, 2026, 9:19 AM
Updated: Apr 30, 2026, 9:19 AM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
7.5
exploitability
4.3
remediation
0.0
relevance
7.1
threat
0.0
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.