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

High 7.8 Published Updated

An unprivileged local user can trigger an integer overflow in the FreeBSD kernel vt(4) driver to perform an out-of-bounds write and escalate privileges.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-49416?

CVE-2026-49416 is a high-severity vulnerability in Freebsd Freebsd, published on 27 Jun 2026. It can only be exploited from the same machine or local network, with no action from the victim.

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

Weakness: CWE-190

Which versions are affected by CVE-2026-49416?

It affects 1 product.

Products include Freebsd Freebsd.

How do I fix CVE-2026-49416?

No fix has been published for CVE-2026-49416 yet. Limit exposure of the affected software until one is available.

Is CVE-2026-49416 being exploited?

There is no known exploitation of CVE-2026-49416 in the wild and no public exploit code.

All Freebsd Freebsd vulnerabilities

Sources

Also known as GHSA-f3p8-j3ww-gvq7.

Is CVE-2026-49416 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free