Use-after-free in FreeBSD - CVE-2026-127752

 

Use-after-free in FreeBSD - CVE-2026-127752

Published: November 18, 2026


Vulnerability identifier: #VU166864
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-127752
CWE-ID: CWE-416
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to corrupt kernel memory or reprogram the Fibre Channel adapter, potentially gaining full control of the system.

The vulnerability exists due to inadequate privilege enforcement and request validation, including use-after-free, in the ocs_fc(4) driver's ioctl interface when processing management requests. A local user can submit crafted requests with unchecked buffer sizes or PCI configuration space offsets, or cause adapter commands to reference freed memory, to compromise the kernel or reprogram the adapter.


Affected software

FreeBSD

How to mitigate CVE-2026-127752

Install security update from vendor's website.


External References

Related Security Bulletins