# CVE-2021-3839: A flaw was found in the vhost library in DPDK.

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/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): 1.80%, higher than 79% of CVEs (2026-12-01)
- Published: 2022-08-23T15:52:42.000Z
- Modified: 2026-06-17T04:05:52.290Z
- Weaknesses: CWE-125, CWE-787
- Assigned by: redhat

## Description

A flaw was found in the vhost library in DPDK. Function vhost_user_set_inflight_fd() does not validate `msg->payload.inflight.num_queues`, possibly causing out-of-bounds memory read/write. Any software using DPDK vhost library may crash as a result of this vulnerability.

(As written by CVE List.)

## Affected

- dpdk: Fixed in dpdk v22.03
- dpdk data_plane_development_kit: before 22.03; 22.03
- fedoraproject fedora: 35
- redhat enterprise_linux: 7.0; 8.0; 9.0
- redhat enterprise_linux_fast_datapath: 7.0; 8.0

## References

- <https://bugzilla.redhat.com/show_bug.cgi?id=2025882> (issue-tracking, patch, third-party-advisory)
- <https://access.redhat.com/security/cve/CVE-2021-3839> (third-party-advisory)
- <https://github.com/DPDK/dpdk/commit/6442c329b9d2ded0f44b27d2016aaba8ba5844c5> (patch, third-party-advisory)

## Sources

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

---

Page: https://cve.day/CVE-2021-3839 · Whole record: https://cve.day/CVE-2021-3839.json · Rebuilt by cve.day 2026-11-25T22:58:07.774Z
