patchminder
No public exploit found CVE-2024-8178

Remote code executionin FreeBSD.

Published 5 Sep 2024 · Updated 4 Nov 2025 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

No public exploit found; not on exploited lists.

Severity
Critical 9.3
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1 · CISAThe US cyber defence agency. Its list names every hole it has seen used in real attacks. assessment · no login needed
Attack likelihood
Low
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 0.6% chance in 30 days · 4 Dec 2026
Fix
Available
Fixed in 13.3_p6, 14.0_p10, 14.1_p4
In plain words

The ctl_write_buffer and ctl_read_buffer functions allocated memory to be returned to userspace, without initializing it. Malicious software running in a guest VM that exposes virtio_scsi can exploit the vulnerabilities to achieve code execution on the host in the bhyve userspace process, which typically runs as root. Note that bhyve runs in a Capsicum sandbox, so malicious code is constrained by the capabilities available to the bhyve process. A malicious iSCSI initiator could achieve remote code execution on the iSCSI target host.

What to do now
  • Upgrade freebsd to 13.3_p6, 14.0_p10, 14.1_p4 or later, whichever matches your release line.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
FreeBSD
Not confirmed
Not confirmed
CVE record
freebsd
14.1 to before 14.1_p4
14.1_p4
CISA
freebsd
14.0 to before 14.0_p10
14.0_p10
CISA
freebsd
13.3 to before 13.3_p6
13.3_p6
CISA

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 26 Aug 2024
    CVE ID reserved by freebsd.
  2. 5 Sep 2024
    Published in the CVE List.
  3. 4 Nov 2025
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: No public exploit found. CISA assessment (SSVC): exploitation none.

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
None known

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other FreeBSD vulnerabilities

Same weakness: Use of uninitialized resource

All CWE-908 vulnerabilities

References
Cite this page

Patchminder. CVE-2024-8178: Remote code execution in FreeBSD. https://patchminder.com/cve/cve-2024-8178/ (accessed 5 December 2026).