CVE-2024-32668: bhyve(8) privileged guest escape via USB controller

Published Sep 5, 2024
·
Updated

An insufficient boundary validation in the USB code could lead to an out-of-bounds write on the heap, with data controlled by the caller.

A malicious, privileged software running in a guest VM can exploit the vulnerability 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.

Affected Software

25 affected components
FreeBSD FreeBSD>=13.0<13.3
FreeBSD FreeBSD=13.3
FreeBSD FreeBSD=13.3-p1
FreeBSD FreeBSD=13.3-p2
FreeBSD FreeBSD=13.3-p3
FreeBSD FreeBSD=13.3-p4
FreeBSD FreeBSD=13.3-p5
FreeBSD FreeBSD=13.4-beta3
FreeBSD FreeBSD=14.0
FreeBSD FreeBSD=14.0-beta5
FreeBSD FreeBSD=14.0-p1
FreeBSD FreeBSD=14.0-p2
FreeBSD FreeBSD=14.0-p3
FreeBSD FreeBSD=14.0-p4
FreeBSD FreeBSD=14.0-p5
FreeBSD FreeBSD=14.0-p6
FreeBSD FreeBSD=14.0-p7
FreeBSD FreeBSD=14.0-p8
FreeBSD FreeBSD=14.0-p9
FreeBSD FreeBSD=14.0-rc3
FreeBSD FreeBSD=14.0-rc4-p1
FreeBSD FreeBSD=14.1
FreeBSD FreeBSD=14.1-p1
FreeBSD FreeBSD=14.1-p2
FreeBSD FreeBSD=14.1-p3

Event History

Sep 5, 2024
CVE Published
via MITRE·04:42 AM
Data Sourced
via MITRE·04:42 AM
DescriptionWeakness
Data Sourced
via NVD·05:15 AM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-32668?

The severity of CVE-2024-32668 is critical as it allows for code execution on the host via an out-of-bounds write.

2

How do I fix CVE-2024-32668?

To fix CVE-2024-32668, it is recommended to apply the latest security patches provided by FreeBSD.

3

Which software versions are affected by CVE-2024-32668?

CVE-2024-32668 affects FreeBSD versions from 13.0 to 14.1, including certain point releases and betas.

4

Who can exploit CVE-2024-32668?

A privileged software running in a guest VM can exploit CVE-2024-32668 to execute code on the host.

5

What is the attack vector for CVE-2024-32668?

The attack vector for CVE-2024-32668 involves insufficient boundary validation in the USB code.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203