CVE-2026-49416

Integer overflow in vt(4) CONS_HISTORY ioctl

State
Published
Severity
7.8 High
Published
Jun 27, 2026
Updated
Jun 30, 2026
Reserved
May 29, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HCISA-ADP

Weaknesses

  • CWE-190 Integer Overflow or Wraparound

Affected Products

ProductVersions
FreeBSDFreeBSD
  • 15.0-RELEASE to before p10Affected
  • 14.4-RELEASE to before p6Affected
  • 14.3-RELEASE to before p15Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.