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.

Weaknesses

  • CWE-190 — CWE-190: Integer Overflow or Wraparound

Affected products

VendorProductVersions
FreeBSDFreeBSD15.0-RELEASE to <p10; 14.4-RELEASE to <p6; 14.3-RELEASE to <p15

References

Authoritative sources

This page is a snapshot. For the latest enrichment and updates, view the record on CVE.org or the NVD.

Generated from the official CVE List on 27 Jun 2026 19:17 UTC.