CVE-2024-8178: FreeBSD · Use of Uninitialized Resource
Affects FreeBSDSource GCVE Database
Not known to be exploited · CVSS 9.3 Critical.
Data as of 31 Oct 2026, 01:24 UTC
Thin evidence
One scorer or none| CISA-ADP | CVSS 3.1 | 9.3 |
|---|
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 5 Sep 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Freebsdfreebsd/freebsdpkg:deb/freebsd/freebsdOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Until a fix is available, restrict access to virtio_scsi interfaces and iSCSI target hosts to trusted entities only to reduce exposure.
Description
CVE-2024-8178 is a critical vulnerability in FreeBSD where the ctl_write_buffer and ctl_read_buffer functions allocate memory without initializing it. This flaw can be exploited by malicious software running in a guest VM exposing virtio_scsi to execute code on the host's bhyve userspace process, which runs with root privileges but within a Capsicum sandbox. Additionally, a malicious iSCSI initiator could achieve remote code execution on the iSCSI target host. The vulnerability affects FreeBSD versions 13.3-RELEASE, 14.0-RELEASE, and 14.1-RELEASE.