BreachSpiderVerified, not vibes

CVE-2024-45063 in Freebsd

High 8.8

The function ctl_write_buffer incorrectly set a flag which resulted in a kernel Use-After-Free when a command finished processing. 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 r...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.18.8
EPSS1.0%
EPSS percentile62th
FixSee advisory

Requires local access, low complexity, low privileges required, no user interaction needed, can impact systems beyond the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Freebsd Freebsd 13.3 13.4 14.0 14.1 ≥ 13.0, < 13.3

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

View Vendor Advisory →

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

The function ctl_write_buffer incorrectly set a flag which resulted in a kernel Use-After-Free when a command finished processing. 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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2024-45063
BreachSpider IDBS-2024-GLOBAL-212951-H
CVSS vectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Published2024-09-05
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-416: Use After Free

Software references memory after it has been freed, leading to corruption, crashes, or code execution.

Analysis AI-written, not human-reviewed

A kernel Use-After-Free vulnerability in the ctl_write_buffer function of bhyve can be exploited by malicious software running in a guest VM to achieve code execution on the host in the bhyve userspace process, typically running as root.

Malicious software running in a guest VM that exposes virtio_scsi can exploit the vulnerability to achieve code execution on the host in the bhyve userspace process, which typically runs as root. The vulnerability is due to the incorrect setting of a flag in the ctl_write_buffer function, leading to a Use-After-Free condition when a command finishes processing.

Questions

What is CVE-2024-45063?

A kernel Use-After-Free vulnerability in the ctl_write_buffer function of bhyve can be exploited by malicious software running in a guest VM to achieve code execution on the host in the bhyve userspace process, typically running as root.

What is the CVSS score for CVE-2024-45063?

CVE-2024-45063 has CVSS 8.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H. EPSS: 1.0%.

Is CVE-2024-45063 actively exploited?

No confirmed active exploitation of CVE-2024-45063 as of 2026-09-25.

How do I remediate CVE-2024-45063?

Priority: IMMEDIATE. Advisory: https://security.freebsd.org/advisories/FreeBSD-SA-24:11.ctl.asc PSIRT: [email protected]

What systems are affected by CVE-2024-45063?

CVE-2024-45063 affects Freebsd Freebsd.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Freebsd","product":"Freebsd","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.