CVE-2026-49416 Details
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.
An integer overflow vulnerability has been identified in the CONS_HISTORY ioctl handler of FreeBSD's vt(4) console driver, which is used to manage virtual terminals. This vulnerability affects all supported versions of FreeBSD. The issue arises because the ioctl handler does not properly validate the requested history size. When a large value is provided, it causes an integer overflow in the buffer size calculation, leading to a heap allocation that is smaller than expected. As a result, when the buffer is initialized, it writes beyond the allocated memory. This out-of-bounds write can be exploited by an unprivileged local user with access to a vt(4) device, potentially allowing them to escalate privileges.
Users can upgrade to a supported FreeBSD stable or release/security branch dated after the correction date and reboot the system. Instructions for updating via the pkg utility, freebsd-update utility, or by applying a source code patch are available in the FreeBSD Security Advisory.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jun 29, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://security.freebsd.org/advisories/FreeBSD-SA-26:34.vt.asc | [email protected] | Vendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-190 | Integer Overflow or Wraparound | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| freebsd freebsd | 14.3 - 14.3 p1 14.3 p10 14.3 p11 14.3 p12 14.3 p13 14.3 p14 14.3 p2 14.3 p3 14.3 p4 14.3 p5 14.3 p6 14.3 p7 14.3 p8 14.3 p9 14.4 - 14.4 p1 14.4 p2 14.4 p3 14.4 p4 14.4 p5 15.0 - 15.0 p1 15.0 p2 15.0 p3 15.0 p4 15.0 p5 15.0 p6 15.0 p7 15.0 p8 15.0 p9 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 1, 2026 | Initial Analysis | [email protected] |
| Jun 30, 2026 | CVE Modified | CISA-ADP |
| Jun 29, 2026 | CVE Modified | CISA-ADP |
| Jun 27, 2026 | New CVE Received | [email protected] |