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: 2026-06-27
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability lies in the vt(4) CONS_HISTORY ioctl handler, where an insufficiently checked request size produces an integer overflow during the calculation of the buffer size. This leads to a heap allocation that is smaller than intended, and when the buffer is initialized, data is written beyond the allocated memory. The result is an out‑of‑bounds write in kernel space, which an unprivileged local user can exploit through access to a vt(4) device, potentially gaining elevated privileges. The weakness is an integer overflow, classified as CWE‑190.

Affected Systems

The product affected is FreeBSD. Specific product versions are not listed in the advisory, so the flaw may exist in all releases of FreeBSD that expose the vt(4) interface. No version information is provided in this input, so administrators should check the latest FreeBSD security releases.

Risk and Exploitability

The attack vector is local, requiring an authenticated or unauthenticated user on the same system who has access to a vt(4) device. Because the flaw enabled an out‑of‑bounds write in kernel memory, the potential impact is a privilege escalation to root or arbitrary kernel code execution. No EPSS score is available, but the absence of remote access requirements suggests a moderate to high exploitation likelihood in environments where local access is trivial to obtain. The advisory does not list this vulnerability in the CISA KEV catalog, but its local privilege escalation characteristic warrants prompt patching.

Generated by OpenCVE AI on June 27, 2026 at 11:20 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the newer FreeBSD release that includes the vt(4) patch as documented in the FreeBSD security advisory.
  • If the update is delayed, limit local user permissions to vt(4) devices by setting stricter udev rules or changing device permissions to root‑only.
  • Continuously monitor system logs for anomalous kernel activity or attempts to write to vt(4) devices.

Generated by OpenCVE AI on June 27, 2026 at 11:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 27 Jun 2026 10:00:00 +0000

Type Values Removed Values Added
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.
Title Integer overflow in vt(4) CONS_HISTORY ioctl
Weaknesses CWE-190
References

Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: freebsd

Published:

Updated: 2026-06-27T09:25:12.443Z

Reserved: 2026-05-29T20:24:28.615Z

Link: CVE-2026-49416

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-27T11:30:15Z

Weaknesses
  • CWE-190

    Integer Overflow or Wraparound