CVEvulnerability
CVE-2026-42512
8.1 HIGH
Official page ↗
- Status
- Modified
- Published
- 2026-04-30
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
- 8.1 HIGH — CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-122
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.
Affected configurations
• freebsd freebsd 13.5
• freebsd freebsd 14.3
• freebsd freebsd 14.4
• freebsd freebsd 15.0
Related
Weakness · CWE (1)
- CWE-122 Heap-based Buffer Overflow weakness