CVE-2026-42512
Severity CVSS v4.0:
Pending analysis
Type:
CWE-122
Heap-based Buffer Overflow
Publication date:
30/04/2026
Last modified:
01/05/2026
Description
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.<br />
<br />
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.
Impact
Base Score 3.x
8.10
Severity 3.x
HIGH
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:o:freebsd:freebsd:13.5:-:*:*:*:*:*:* | ||
| cpe:2.3:o:freebsd:freebsd:13.5:beta3:*:*:*:*:*:* | ||
| cpe:2.3:o:freebsd:freebsd:13.5:p1:*:*:*:*:*:* | ||
| cpe:2.3:o:freebsd:freebsd:13.5:p10:*:*:*:*:*:* | ||
| cpe:2.3:o:freebsd:freebsd:13.5:p11:*:*:*:*:*:* | ||
| cpe:2.3:o:freebsd:freebsd:13.5:p12:*:*:*:*:*:* | ||
| cpe:2.3:o:freebsd:freebsd:13.5:p2:*:*:*:*:*:* | ||
| cpe:2.3:o:freebsd:freebsd:13.5:p3:*:*:*:*:*:* | ||
| cpe:2.3:o:freebsd:freebsd:13.5:p4:*:*:*:*:*:* | ||
| cpe:2.3:o:freebsd:freebsd:13.5:p5:*:*:*:*:*:* | ||
| cpe:2.3:o:freebsd:freebsd:13.5:p6:*:*:*:*:*:* | ||
| cpe:2.3:o:freebsd:freebsd:13.5:p7:*:*:*:*:*:* | ||
| cpe:2.3:o:freebsd:freebsd:13.5:p8:*:*:*:*:*:* | ||
| cpe:2.3:o:freebsd:freebsd:13.5:p9:*:*:*:*:*:* | ||
| cpe:2.3:o:freebsd:freebsd:14.3:-:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page



