# CVE-2026-49416: Integer overflow in vt(4) CONS_HISTORY ioctl

- Severity: High 7.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.11%, higher than 1% of CVEs (2026-12-01)
- Published: 2026-06-27T09:25:12.443Z
- Modified: 2026-07-01T14:04:11.063Z
- Weaknesses: CWE-190
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: freebsd

## 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.

(As written by CVE List.)

## Affected

- FreeBSD FreeBSD: from 15.0-RELEASE before p10; from 14.4-RELEASE before p6; from 14.3-RELEASE before p15; 14.3; 14.4; 15.0

## References

- <https://security.freebsd.org/advisories/FreeBSD-SA-26:34.vt.asc> (vendor-advisory)

## Sources

- CVE List: [CVE-2026-49416](https://www.cve.org/CVERecord?id=CVE-2026-49416), CVE Terms of Use, modified 2026-06-30
- NVD: [CVE-2026-49416](https://nvd.nist.gov/vuln/detail/CVE-2026-49416), Public domain, modified 2026-07-01

---

Page: https://cve.day/CVE-2026-49416 · Whole record: https://cve.day/CVE-2026-49416.json · Rebuilt by cve.day 2026-11-25T22:59:26.564Z
