{"api_version":"1","generated_at":"2026-04-30T12:38:00+00:00","cve":"CVE-2026-42511","urls":{"html":"https://cve.report/CVE-2026-42511","api":"https://cve.report/api/cve/CVE-2026-42511.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-42511","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-42511"},"summary":{"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 root on a system running dhclient.","state":"PUBLISHED","assigner":"freebsd","published_at":"2026-04-30 07:16:37","updated_at":"2026-04-30 07:16:37"},"problem_types":["CWE-149","CWE-149 CWE-149: Improper Neutralization of Quoting Syntax"],"metrics":[],"references":[{"url":"https://security.freebsd.org/advisories/FreeBSD-SA-26:12.dhclient.asc","name":"https://security.freebsd.org/advisories/FreeBSD-SA-26:12.dhclient.asc","refsource":"secteam@freebsd.org","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-42511","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42511","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"FreeBSD","product":"FreeBSD","version":"affected 15.0-RELEASE p7 release","platforms":[]},{"source":"CNA","vendor":"FreeBSD","product":"FreeBSD","version":"affected 14.4-RELEASE p3 release","platforms":[]},{"source":"CNA","vendor":"FreeBSD","product":"FreeBSD","version":"affected 14.3-RELEASE p12 release","platforms":[]},{"source":"CNA","vendor":"FreeBSD","product":"FreeBSD","version":"affected 13.5-RELEASE p13 release","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[{"source":"CNA","value":"Joshua Rogers of AISLE Research Team","lang":"en"}],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unknown","modules":["dhclient"],"product":"FreeBSD","vendor":"FreeBSD","versions":[{"lessThan":"p7","status":"affected","version":"15.0-RELEASE","versionType":"release"},{"lessThan":"p3","status":"affected","version":"14.4-RELEASE","versionType":"release"},{"lessThan":"p12","status":"affected","version":"14.3-RELEASE","versionType":"release"},{"lessThan":"p13","status":"affected","version":"13.5-RELEASE","versionType":"release"}]}],"credits":[{"lang":"en","type":"finder","value":"Joshua Rogers of AISLE Research Team"}],"datePublic":"2026-04-29T19:00:00.000Z","descriptions":[{"lang":"en","value":"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."}],"problemTypes":[{"descriptions":[{"cweId":"CWE-149","description":"CWE-149: Improper Neutralization of Quoting Syntax","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-04-30T06:56:36.929Z","orgId":"63664ac6-956c-4cba-a5d0-f46076e16109","shortName":"freebsd"},"references":[{"tags":["vendor-advisory"],"url":"https://security.freebsd.org/advisories/FreeBSD-SA-26:12.dhclient.asc"}],"title":"Remote code execution via malicious DHCP options","x_generator":{"engine":"cvelib 1.8.0"}}},"cveMetadata":{"assignerOrgId":"63664ac6-956c-4cba-a5d0-f46076e16109","assignerShortName":"freebsd","cveId":"CVE-2026-42511","datePublished":"2026-04-30T06:56:36.929Z","dateReserved":"2026-04-28T05:31:44.956Z","dateUpdated":"2026-04-30T06:56:36.929Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-04-30 07:16:37","lastModifiedDate":"2026-04-30 07:16:37","problem_types":["CWE-149","CWE-149 CWE-149: Improper Neutralization of Quoting Syntax"],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"42511","Ordinal":"1","Title":"Remote code execution via malicious DHCP options","CVE":"CVE-2026-42511","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"42511","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"Remote code execution via malicious DHCP options"}]}}}