Saturday, November 7, 2026

FreeBSD Systems at Risk From DHCP Client RCE Vulnerability

The FreeBSD Project has issued a critical security advisory (FreeBSD-SA-26:12.dhclient) to address a severe Remote Code Execution (RCE) vulnerability in its default IPv4 DHCP client.

Tracked as CVE-2026-42511, this flaw allows local network attackers to execute arbitrary code with root privileges. Discovered by Joshua Rogers of the AISLE Research Team, the vulnerability affects all supported versions of FreeBSD.

Technical Vulnerability Analysis

The security flaw originates in how the dhclient(8) utility handles malicious DHCP lease options. Specifically, the vulnerability is triggered when the BOOTP file field is written to the system’s lease file.

Because the software fails to escape embedded double-quotes during this process properly, threat actors can inject arbitrary directives directly into dhclient.conf file.

The malicious payload remains dormant until the DHCP lease file is re-parsed, which typically occurs during a system restart or network interface initialization.

When re-parsed, the attacker-controlled field is passed directly to the dhclient-script(8) service, which evaluates and executes the injected code.

To successfully exploit CVE-2026-42511, an attacker must be positioned on the same local broadcast domain as the target.

By deploying a rogue DHCP server, the attacker can intercept legitimate DHCP requests and reply with the maliciously crafted BOOTP file field.

If successful, this attack vector results in complete system compromise. The injected code executes with root permissions, allowing the threat actor to install persistence mechanisms, deploy malware, or pivot laterally within the compromised network.

Affected Versions

The vulnerability affects multiple supported FreeBSD branches. Systems running the following versions are at risk if they actively use the dhclient service:

  • FreeBSD 15: 15.0-STABLE, 15.0-RELEASE-p7
  • FreeBSD 14: 14.4-STABLE, 14.4-RELEASE-p3, 14.3-RELEASE-p12
  • FreeBSD 13: 13.5-STABLE, 13.5-RELEASE-p13

Note: Systems that do not utilize dhclient(8) for network configuration are not affected by this vulnerability.

Currently, there is no direct software workaround for systems relying on dhclient. However, administrators can implement network-level defenses.

Configuring DHCP snooping on managed network switches will effectively block rogue DHCP servers from operating, nullifying the attack vector.

The FreeBSD Project strongly urges administrators to apply the latest security patches immediately. Depending on your system configuration, use one of the following methods:

1. Binary Updates

For standard releases, fetch and install the binary patches using the built-in update tool:

# freebsd-update fetch

# freebsd-update install

2. Package Updates

For environments utilizing base system packages, upgrade via the package manager:

# pkg upgrade -r FreeBSD-base

Following the update, administrators must reboot the system or restart the applicable networking daemons to ensure the patch is applied and any previously poisoned lease files are neutralized.

Follow us on Google News, LinkedIn, and X to Get Instant Updates and Set GBH as a Preferred Source in Google.

Divya
Divya
Divya is a Senior Journalist at GBhackers covering Cyber Attacks, Threats, Breaches, Vulnerabilities and other happenings in the cyber world.

Hot this week

How To Access Dark Web Anonymously and know its Secretive and Mysterious Activities

What is Deep Web The deep web, invisible web, or...

How to Build and Run a Security Operations Center (SOC Guide) – 2023

Today’s Cyber security operations center (CSOC) should have everything...

Russian Hackers Bypass EDR to Deliver a Weaponized TeamViewer Component

TeamViewer's popularity and remote access capabilities make it an...

Web Server Penetration Testing Checklist – 2026

Web server pentesting is performed under three significant categories: identity,...

ATM Penetration Testing – Advanced Testing Methods to Find The Vulnerabilities

ATM Penetration testing, Hackers have found different approaches to...

Hackers Exploit WordPress Core RCE Vulnerability in Over 240,000 Attack Attempts

Attackers have launched more than 240,000 exploit attempts against...

Hackers Use Fake GitHub Security Tools to Spread Malware, Infecting Over 2,000 Computers

Threat actors are distributing malware through GitHub repositories masquerading...

Insignary Releases Free Insignary-Chk Tool to Detect PHP2Shell and Node2Shell Exposure

Toronto, Canada, November 6th, 2026, CyberNewswire Free, read-only scanner helps...

Dark Project Ransomware Gang Claims 38 Victims Across 8 Countries, Targeting Healthcare and Manufacturing

Dark Project, an emerging financially motivated ransomware operation, has...

Hackers Use Fake Streaming Apps to Spread Mirax Android Malware and Steal Bank Accounts

Hackers are using streaming app lures to distribute Mirax....

Related Articles

Recent News