CVE Explorer
CVE-2026-42512
As dhclient is building an environment to pass to dhclient-script, it may need to resize the array of string pointers. The code which expands the array incorrectly calculates its new size when requesting memory, resulting in a heap buffer overrun.
A specially crafted packet can cause dhclient to overrun its buffer of environment entries. This can result in a crash, but it may be possible to leverage this bug to achieve remote code execution.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"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"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:19303fc45c2d52a6fa6c57c183186bc69f0e29f6e211222e91b6290a019c5823 · sha256:fca0a97a939e7297… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.1,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:19303fc45c2d52a6fa6c57c183186bc69f0e29f6e211222e91b6290a019c5823 · sha256:fca0a97a939e7297… · /containers/adp/0/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-122","description":"CWE-122: Heap-based Buffer Overflow","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:19303fc45c2d52a6fa6c57c183186bc69f0e29f6e211222e91b6290a019c5823 · sha256:fca0a97a939e7297… · /containers/cna/problemTypes/0/descriptions/0
Source references
1 source assertion{"tags":["vendor-advisory"],"url":"https://security.freebsd.org/advisories/FreeBSD-SA-26:15.dhclient.asc"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:19303fc45c2d52a6fa6c57c183186bc69f0e29f6e211222e91b6290a019c5823 · sha256:fca0a97a939e7297… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.