{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-42511","id":"CVE-2026-42511","title":"Remote code execution via malicious DHCP options","description":"The BOOTP file field is written to the lease file without escaping embedded double-quotes, allowing injection of arbitrary dhclient.conf directives.  When the lease file is subsequently re-parsed by dhclient, e.g., after a system restart, an attacker-controlled field from the lease is passed to dhclient-script(8), which evaluates it.\n\nA rogue DHCP server may be able to execute arbirary code as roo","descriptionLong":"The BOOTP file field is written to the lease file without escaping embedded double-quotes, allowing injection of arbitrary dhclient.conf directives.  When the lease file is subsequently re-parsed by dhclient, e.g., after a system restart, an attacker-controlled field from the lease is passed to dhclient-script(8), which evaluates it.\n\nA rogue DHCP server may be able to execute arbirary code as root on a system running dhclient.","published":"2026-04-30T06:56:36.929Z","updated":"2026-11-11T21:10:00.200Z","reserved":"2026-04-28T05:31:44.956Z","status":"Modified","rejected":false,"assigner":"freebsd","metric":{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"CISA-ADP"},"metrics":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"CISA-ADP"}],"rating":"high","products":["FreeBSD"],"affectedProducts":[{"vendor":"FreeBSD","product":"FreeBSD","defaultStatus":"unknown","versions":[{"status":"affected","versionType":"release","version":"15.0-RELEASE","lessThan":"p7"},{"status":"affected","versionType":"release","version":"14.4-RELEASE","lessThan":"p3"},{"status":"affected","versionType":"release","version":"14.3-RELEASE","lessThan":"p12"},{"status":"affected","versionType":"release","version":"13.5-RELEASE","lessThan":"p13"}],"platforms":[]}],"packages":[],"cwes":["CWE-149"],"aliases":[],"references":[{"url":"https://security.freebsd.org/advisories/FreeBSD-SA-26:12.dhclient.asc","tags":["vendor-advisory","Vendor Advisory"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00431,"epssPercentile":0.3792,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-42511","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42511","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-42511","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-42511","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}