Home

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.

PUBLISHED Reserved 2026-05-29 | Published 2026-06-27 | Updated 2026-06-27 | Assigner freebsd

Problem types

CWE-190: Integer Overflow or Wraparound

Product status

Default status
unknown

15.0-RELEASE (release) before p10
affected

14.4-RELEASE (release) before p6
affected

14.3-RELEASE (release) before p15
affected

Credits

Ed Maste finder

References

security.freebsd.org/advisories/FreeBSD-SA-26:34.vt.asc vendor-advisory

cve.org (CVE-2026-49416)

nvd.nist.gov (CVE-2026-49416)

Download JSON