CVE-2024-41928 bhyve(8) privileged guest escape via TPM device passthrough

High 8.4 Published Updated

A buffer overflow in bhyve's TPM passthrough allows guest VMs to execute code on the host, potentially escalating privileges despite sandboxing.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-41928?

CVE-2024-41928 is a high-severity memory corruption vulnerability in FreeBSD, published on 5 Sep 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Malicious software running in a guest VM can exploit the buffer overflow 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.

Weakness: CWE-787, CWE-1285, CWE-125

Which versions are affected by CVE-2024-41928?

How do I fix CVE-2024-41928?

No fix has been published for CVE-2024-41928 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2024-41928 being exploited?

There is no known exploitation of CVE-2024-41928 in the wild and no public exploit code.

Sources

Also known as GHSA-c77x-v69r-5vpg.

Is CVE-2024-41928 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free