CVE-2022-23087

published 15 Feb 2024 · updated 27 Mar 2025

Bhyve e82545 device emulation out-of-bounds write

8.8HighCVSS 8.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in p5, p11 and p1.

The e1000 network adapters permit a variety of modifications to an Ethernet packet when it is being transmitted. These include the insertion of IP and TCP checksums, insertion of an Ethernet VLAN header, and TCP segmentation offload ("TSO"). The e1000 device model uses an on-stack buffer to generate the modified packet header when simulating these modifications on transmitted packets. When checksum offload is requested for a transmitted packet, the e1000 device model used a guest-provided value to specify the checksum offset in the on-stack buffer. The offset was not validated for certain packet types. A misbehaving bhyve guest could overwrite memory in the bhyve process on the host, possibly leading to code execution in the host context. The bhyve process runs in a Capsicum sandbox, which (depending on the FreeBSD version and bhyve configuration) limits the impact of exploiting this issue.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
FreeBSD>=12.3-RELEASE <p5, >=13.0-RELEASE <p11, >=13.1-RC1 <p1p5, p11, p1

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-23087 severity on Zeptric[![CVE-2022-23087](https://zeptric.io/badge/cve/CVE-2022-23087.svg)](https://zeptric.io/cve/CVE-2022-23087)