Heap-based buffer overflow in FreeBSD - CVE-2026-127747

 

Heap-based buffer overflow in FreeBSD - CVE-2026-127747

Published: November 18, 2026


Vulnerability identifier: #VU166863
CSH Severity: Low
CVSS v4: 8.5 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-127747
CWE-ID: CWE-122
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to potentially escalate privileges and gain full control of the affected system.

The vulnerability exists due to a heap-based buffer overflow in the FreeBSD netlink _nlmsg_refill_buffer() function when growing a reply buffer without accounting for message data already written. A local user can submit netlink requests that trigger this buffer growth to overwrite kernel heap memory and potentially escalate privileges.

Exploitation is possible from within a jail.


Affected software

FreeBSD

How to mitigate CVE-2026-127747

Install security update from vendor's website.


External References

Related Security Bulletins