Description
The CONS_HISTORY ioctl handler did not adequately validate the requested history size. A large value caused an integer overflow in the buffer size calculation, resulting in a heap allocation smaller than expected. Subsequent initialization of the buffer wrote beyond the end of the allocation.
An unprivileged local user with access to a vt(4) device can trigger an out-of-bounds write in the kernel, potentially escalating privileges.
Metrics
CVSS 3.1 7.8/10
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| FreeBSD | FreeBSD | >= 15.0-RELEASE, < p10; >= 14.4-RELEASE, < p6; >= 14.3-RELEASE, < p15 |
References
Timeline
- Published
- Jun 27, 2026
- Last modified
- Jul 1, 2026
- NVD status
- Analyzed