# CVE-2022-23087: Bhyve e82545 device emulation out-of-bounds write

- Severity: High 8.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2024-02-15T05:01:00.770Z
- Modified: 2026-06-17T04:29:28.913Z
- Weaknesses: CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: freebsd

## Description

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.

(As written by CVE List.)

## Affected

- FreeBSD FreeBSD: from 13.1-RC1 before p1; from 13.0-RELEASE before p11; from 12.3-RELEASE before p5; from 13.1-rc1 before p1; from 13.1-release before p11; from 12.3-release before p5; from 12.0 before 12.3; 12.3; 13.0

## Every score

- CISA-ADP: CVSS:3.1 8.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`

## References

- <https://security.freebsd.org/advisories/FreeBSD-SA-22:05.bhyve.asc> (vendor-advisory)
- <https://security.netapp.com/advisory/ntap-20240415-0005/> (third-party-advisory)

## Sources

- CVE List: [CVE-2022-23087](https://www.cve.org/CVERecord?id=CVE-2022-23087), CVE Terms of Use, modified 2025-03-27
- NVD: [CVE-2022-23087](https://nvd.nist.gov/vuln/detail/CVE-2022-23087), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-23087 · Whole record: https://cve.day/CVE-2022-23087.json · Rebuilt by cve.day 2026-11-25T22:58:19.740Z
