CVE-2026-42512
published high CVSS 3.1 · 8.1Remotely triggerable out-of-bounds heap write in dhclient
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| FreeBSD | — | FreeBSD15.0-RELEASE to < p7 · 14.4-RELEASE to < p3 · 14.3-RELEASE to < p12 · 13.5-RELEASE to < p13 · Other versions: unknown | Affected | Not stated | freebsd |
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. 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.1 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| FreeBSD | FreeBSD | 15.0-RELEASE to < p7 (affected · release)14.4-RELEASE to < p3 (affected · release)14.3-RELEASE to < p12 (affected · release)13.5-RELEASE to < p13 (affected · release)Default: unknown | freebsd · cna |
Weaknesses
1- CWE-122 CWE-122: Heap-based Buffer Overflow
References
1Provider assertions
2freebsd · cna
Remotely triggerable out-of-bounds heap write in dhclient
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- d744d45e0e4670d3311d6bdaf26f29028e7b058eb50c4fa8dbbda8a7946d95b3
- Ingested
- 23 Sep 2026, 09:14:19 UTC
- Source record
- Official CVE record