← Vulnerability feed

Vulnerability record · CVE-2011-0997 · published 8 April 2011

CVE-2011-0997: ISC DHCP dhclient command injection via DHCP hostname

Isc · Dhcp

dhclient in ISC DHCP 3.0.x through 4.2.x (before 4.2.1-P1), 3.1-ESV before 3.1-ESV-R1, and 4.1-ESV before 4.1-ESV-R2 fails to validate the hostname option in DHCP messages before passing it to dhclient-script. Shell metacharacters in that hostname are executed as commands, so a rogue or compromised DHCP server can run arbitrary code on the client as it obtains a lease.

7.5 CVSS 2.0 High EPSS 84% · top 0.3% CWE-20 · Improper input validation
7.5CVSS 2.0 base score
84%EPSS exploitation probability, 30 days
NoNot in CISA KEV
3Affected product versions listed by NVD
70References
16 Jun 2026Last modified by NVD

Description

dhclient in ISC DHCP 3.0.x through 4.2.x before 4.2.1-P1, 3.1-ESV before 3.1-ESV-R1, and 4.1-ESV before 4.1-ESV-R2 allows remote attackers to execute arbitrary commands via shell metacharacters in a hostname obtained from a DHCP message, as demonstrated by a hostname that is provided to dhclient-script.

AV:N/AC:L/Au:N/C:P/I:P/A:P

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 18 September 2026. Confidence: high.

high priorityRemote, unauthenticated command execution with a very high EPSS score, though no confirmed in-the-wild exploitation or KEV listing is recorded.

What it is

dhclient in ISC DHCP 3.0.x through 4.2.x (before 4.2.1-P1), 3.1-ESV before 3.1-ESV-R1, and 4.1-ESV before 4.1-ESV-R2 fails to validate the hostname option in DHCP messages before passing it to dhclient-script. Shell metacharacters in that hostname are executed as commands, so a rogue or compromised DHCP server can run arbitrary code on the client as it obtains a lease.

Impact

An attacker controlling DHCP responses gains arbitrary command execution on the requesting host, typically with the privileges dhclient-script runs under (often root), allowing full system compromise.

Attack surface

Reached over the network via a crafted DHCP message; the CVSS vector AV:N/AC:L/Au:N indicates no authentication is required. The victim must accept a lease from the malicious server, which happens automatically on many clients, so no deliberate user interaction is needed.

Exploitation

Not listed in CISA KEV and no ransomware associations are recorded, but EPSS is very high (0.84292, 99.68th percentile), indicating strong predicted exploitation activity; reference tags are advisory and vendor errata only, with no public exploit tag supplied.

What to do

  • Upgrade ISC DHCP to 4.2.1-P1, 3.1-ESV-R1, 4.1-ESV-R2 or later, or apply the vendor patch from your distribution (Debian DSA-2216/2217, Ubuntu USN-1108-1, Red Hat RHSA-2011-0428/0840).
  • If patching is delayed, restrict dhclient to trusted DHCP servers or use static addressing on sensitive hosts.
  • Segment untrusted networks so rogue DHCP servers cannot reach clients, and enable DHCP snooping on managed switches.
  • Audit dhclient-script and any local customizations for unsafe handling of hostname and other DHCP-supplied values.
  • Monitor for unexpected DHCP server addresses or lease parameters on client subnets.

Detection

  • Search dhclient-script logs and shell history for command fragments or metacharacters originating from DHCP hostname values.
  • Alert on DHCP ACK/OFFER packets whose hostname option contains shell metacharacters (;, |, $, backticks, newlines).
  • Monitor for unexpected child processes or outbound connections spawned by dhclient or dhclient-script.
  • Track rogue DHCP servers via switch DHCP snooping logs and compare offered server identifiers against the authorized list.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

3 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10761 Third Party Advisory
http://lists.fedoraproject.org/pipermail/package-announce/2011-April/057888.html Mailing ListThird Party Advisory
http://lists.fedoraproject.org/pipermail/package-announce/2011-April/058279.html Mailing ListThird Party Advisory
http://marc.info/?l=bugtraq&m=133226187115472&w=2 Mailing ListThird Party Advisory
http://secunia.com/advisories/44037 Third Party Advisory
http://secunia.com/advisories/44048 Third Party Advisory
http://secunia.com/advisories/44089 Third Party Advisory
http://secunia.com/advisories/44090 Third Party Advisory
http://secunia.com/advisories/44103 Third Party Advisory
http://secunia.com/advisories/44127 Third Party Advisory
http://secunia.com/advisories/44180 Third Party Advisory
http://security.gentoo.org/glsa/glsa-201301-06.xml Third Party Advisory
http://securitytracker.com/id?1025300 Third Party AdvisoryVDB Entry
http://slackware.com/security/viewer.php?l=slackware-security&y=2011&m=slackware-security.593345 Third Party Advisory
http://www.debian.org/security/2011/dsa-2216 Third Party Advisory
http://www.debian.org/security/2011/dsa-2217 Third Party Advisory
http://www.kb.cert.org/vuls/id/107886 Third Party AdvisoryUS Government Resource
http://www.mandriva.com/security/advisories?name=MDVSA-2011:073 Third Party Advisory
http://www.osvdb.org/71493 Broken Link
http://www.redhat.com/support/errata/RHSA-2011-0428.html Third Party Advisory
http://www.redhat.com/support/errata/RHSA-2011-0840.html Third Party Advisory
http://www.securityfocus.com/bid/47176 Third Party AdvisoryVDB Entry
http://www.ubuntu.com/usn/USN-1108-1 Third Party Advisory
http://www.vupen.com/english/advisories/2011/0879 Permissions Required
http://www.vupen.com/english/advisories/2011/0886 Permissions Required
http://www.vupen.com/english/advisories/2011/0909 Permissions Required
http://www.vupen.com/english/advisories/2011/0915 Permissions Required
http://www.vupen.com/english/advisories/2011/0926 Permissions Required
http://www.vupen.com/english/advisories/2011/0965 Permissions Required
http://www.vupen.com/english/advisories/2011/1000 Permissions Required
https://bugzilla.redhat.com/show_bug.cgi?id=689832 Issue TrackingPatchThird Party Advisory
https://exchange.xforce.ibmcloud.com/vulnerabilities/66580 Third Party AdvisoryVDB Entry
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A12812 Third Party Advisory
https://www.exploit-db.com/exploits/37623/ Third Party AdvisoryVDB Entry
https://www.isc.org/software/dhcp/advisories/cve-2011-0997 PatchVendor Advisory
http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10761 Third Party Advisory
http://lists.fedoraproject.org/pipermail/package-announce/2011-April/057888.html Mailing ListThird Party Advisory
http://lists.fedoraproject.org/pipermail/package-announce/2011-April/058279.html Mailing ListThird Party Advisory
http://marc.info/?l=bugtraq&m=133226187115472&w=2 Mailing ListThird Party Advisory
http://secunia.com/advisories/44037 Third Party Advisory

Track CVE-2011-0997 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2025-32433Erlang/OTP SSH server missing authentication allows remote code executionErlang/OTP SSH servers before OTP-27.3.3, OTP-26.2.5.11 and OTP-25.3.2.20 mishandle SSH protocol messages, letting an unauthenticated attacker execut…KEVEPSS 99%analysed10.0CVE-2025-24201Apple WebKit out-of-bounds write allows sandbox escapeCVE-2025-24201 is an out-of-bounds write in Apple's WebKit that was addressed with improved checks. Maliciously crafted web content may break out of …KEVEPSS 3.8%analysed10.0CVE-2021-44228Apache Log4j2 JNDI lookup remote code executionApache Log4j2 versions 2.0-beta9 through 2.15.0 (excluding 2.12.2, 2.12.3, and 2.3.1) do not protect against attacker-controlled LDAP and other JNDI …KEVEPSS 100%analysed9.8CVE-2026-24061GNU Inetutils telnetd argument injection allows remote auth bypasstelnetd in GNU Inetutils through 2.7 fails to sanitize the USER environment variable, so a value such as "-f root" is passed as an argument to login …KEVEPSS 99%analysed9.8CVE-2025-39682Linux kernel TLS zero-length record handling flaw on rx_listThe Linux kernel TLS receive path mishandles zero-length records that arrive from the rx_list, breaking the assumption that a record type change cann…KEVEPSS 2.9%analysed9.8CVE-2025-24813Apache Tomcat Default Servlet path equivalence enables RCE and file disclosureApache Tomcat mishandles path equivalence for names containing an internal dot, letting a remote unauthenticated attacker write files through the Def…KEVEPSS 100%analysed9.8CVE-2024-9680Mozilla Firefox and Thunderbird use-after-free in Animation timelinesA use-after-free flaw in Animation timelines allows an attacker to execute code in the content process of Firefox and Thunderbird. Mozilla reports ex…KEVEPSS 23%analysed9.8CVE-2023-46604Apache ActiveMQ OpenWire deserialization remote code executionThe Java OpenWire protocol marshaller in Apache ActiveMQ deserializes untrusted data, letting an attacker manipulate serialized class types so the br…KEVEPSS 100%analysed

Source: NIST National Vulnerability Database (record CVE-2011-0997), CISA KEV, FIRST EPSS (scores of 2026-09-24). This page is refreshed as NVD updates the record.