{"id":"CVE-2026-42511","aliases":["CVE-2026-42511"],"related":[],"kind":"vulnerability","state":"published","title":"Remote code execution via malicious DHCP options","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"El campo de archivo BOOTP se escribe en el archivo de concesión sin escapar las comillas dobles incrustadas, permitiendo la inyección de directivas dhclient.conf arbitrarias. Cuando el archivo de concesión es posteriormente re-analizado por dhclient, por ejemplo, después de un reinicio del sistema, un campo controlado por el atacante de la concesión se pasa a dhclient-script(8), que lo evalúa.\n\nUn servidor DHCP malicioso podría ejecutar código arbitrario como root en un sistema que ejecuta dhclient.","source":"nvd"}],"published":"2026-04-30T06:56:36.929Z","modified":"2026-11-11T21:10:00.200Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"rating":"HIGH"}],"cwes":["CWE-149"],"affected":[{"ranges":[{"type":"release","introduced":"15.0-RELEASE","fixed":"p7","status":"affected"},{"type":"release","introduced":"14.4-RELEASE","fixed":"p3","status":"affected"},{"type":"release","introduced":"14.3-RELEASE","fixed":"p12","status":"affected"},{"type":"release","introduced":"13.5-RELEASE","fixed":"p13","status":"affected"}],"vendor":"FreeBSD","product":"FreeBSD","source":"cvelist"},{"ranges":[{"status":"affected","version":"13.5"},{"status":"affected","version":"13.5"},{"status":"affected","version":"13.5"},{"status":"affected","version":"13.5"},{"status":"affected","version":"13.5"},{"status":"affected","version":"13.5"},{"status":"affected","version":"13.5"},{"status":"affected","version":"13.5"},{"status":"affected","version":"13.5"},{"status":"affected","version":"13.5"},{"status":"affected","version":"13.5"},{"status":"affected","version":"13.5"},{"status":"affected","version":"13.5"},{"status":"affected","version":"13.5"},{"status":"affected","version":"14.3"},{"status":"affected","version":"14.3"},{"status":"affected","version":"14.3"},{"status":"affected","version":"14.3"},{"status":"affected","version":"14.3"},{"status":"affected","version":"14.3"},{"status":"affected","version":"14.3"},{"status":"affected","version":"14.3"},{"status":"affected","version":"14.3"},{"status":"affected","version":"14.3"},{"status":"affected","version":"14.3"},{"status":"affected","version":"14.3"},{"status":"affected","version":"14.4"},{"status":"affected","version":"14.4"},{"status":"affected","version":"14.4"},{"status":"affected","version":"14.4"},{"status":"affected","version":"15.0"},{"status":"affected","version":"15.0"},{"status":"affected","version":"15.0"},{"status":"affected","version":"15.0"},{"status":"affected","version":"15.0"},{"status":"affected","version":"15.0"},{"status":"affected","version":"15.0"}],"vendor":"freebsd","product":"freebsd","cpe":"cpe:2.3:o:freebsd:freebsd:13.5:-:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://security.freebsd.org/advisories/FreeBSD-SA-26:12.dhclient.asc","tags":["vendor-advisory"],"sources":["cvelist","nvd"]}],"credits":["Joshua Rogers of AISLE Research Team"],"assigner":"freebsd","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-05-01T03:55:55.336Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-42511","url":"https://www.cve.org/CVERecord?id=CVE-2026-42511","licence":"CVE Terms of Use","modified":"2026-05-01T15:25:37.800Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-42511","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42511","licence":"Public domain","modified":"2026-11-11T21:10:00.200Z"}],"updatedAt":"2026-11-25T22:59:20.262Z","epss":{"score":0.00438,"percentile":0.39833,"date":"2026-12-01T12:00:22.000Z"}}