# CVE-2023-3019: Qemu: e1000e: heap use-after-free in e1000e_write_packet_to_guest()

> A privileged guest user can crash the QEMU host process via a use-after-free in e1000e NIC emulation, causing denial of service.

- **Severity:** Medium 6.0 (`CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H`)
- **Exploited in the wild:** Not known
- **Login needed:** An administrator
- **Attackable:** Local or same network only
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 24 Jul 2023
- **Updated:** 12 May 2026
- **Also known as:** AZL-35595, BELL-CVE-2023-3019, DEBIAN-CVE-2023-3019, GHSA-786x-44fx-qqh8, OESA-2024-1336, OESA-2024-1337, RHSA-2024:0135, RLSA-2024:0135, UBUNTU-CVE-2023-3019

## What is CVE-2023-3019?

CVE-2023-3019 is a medium-severity use after free vulnerability in Qemu Qemu, published on 24 Jul 2023. It can only be exploited from the same machine or local network, with no action from the victim.

### Official description

A DMA reentrancy issue leading to a use-after-free error was found in the e1000e NIC emulation code in QEMU. This issue could allow a privileged guest user to crash the QEMU process on the host, resulting in a denial of service.

Weakness: CWE-416 (Use After Free)

## Which versions are affected by CVE-2023-3019?

It affects 2 products.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `SLOF` | Red Hat:enterprise_linux:8::appstream | All versions | 0:20210217-1.module+el8.9.0+20735+c763a519.1 |
| `hivex` | Red Hat:enterprise_linux:8::appstream | All versions | 0:1.3.18-23.module+el8.9.0+18724+20190c23 |
| `hivex-debuginfo` | Red Hat:enterprise_linux:8::appstream | All versions | 0:1.3.18-23.module+el8.9.0+18724+20190c23 |
| `hivex-debugsource` | Red Hat:enterprise_linux:8::appstream | All versions | 0:1.3.18-23.module+el8.9.0+18724+20190c23 |
| `hivex-devel` | Red Hat:enterprise_linux:8::appstream | All versions | 0:1.3.18-23.module+el8.9.0+18724+20190c23 |
| `libguestfs` | Red Hat:enterprise_linux:8::appstream | All versions | 1:1.44.0-9.module+el8.9.0+18724+20190c23 |
| `libguestfs-appliance` | Red Hat:enterprise_linux:8::appstream | All versions | 1:1.44.0-9.module+el8.9.0+18724+20190c23 |
| `libguestfs-bash-completion` | Red Hat:enterprise_linux:8::appstream | All versions | 1:1.44.0-9.module+el8.9.0+18724+20190c23 |
| `libguestfs-debuginfo` | Red Hat:enterprise_linux:8::appstream | All versions | 1:1.44.0-9.module+el8.9.0+18724+20190c23 |
| `libguestfs-debugsource` | Red Hat:enterprise_linux:8::appstream | All versions | 1:1.44.0-9.module+el8.9.0+18724+20190c23 |
| `libguestfs-devel` | Red Hat:enterprise_linux:8::appstream | All versions | 1:1.44.0-9.module+el8.9.0+18724+20190c23 |
| `libguestfs-gfs2` | Red Hat:enterprise_linux:8::appstream | All versions | 1:1.44.0-9.module+el8.9.0+18724+20190c23 |
| `libguestfs-gobject` | Red Hat:enterprise_linux:8::appstream | All versions | 1:1.44.0-9.module+el8.9.0+18724+20190c23 |
| `libguestfs-gobject-debuginfo` | Red Hat:enterprise_linux:8::appstream | All versions | 1:1.44.0-9.module+el8.9.0+18724+20190c23 |
| `libguestfs-gobject-devel` | Red Hat:enterprise_linux:8::appstream | All versions | 1:1.44.0-9.module+el8.9.0+18724+20190c23 |
| `libguestfs-inspect-icons` | Red Hat:enterprise_linux:8::appstream | All versions | 1:1.44.0-9.module+el8.9.0+18724+20190c23 |
| `libguestfs-java` | Red Hat:enterprise_linux:8::appstream | All versions | 1:1.44.0-9.module+el8.9.0+18724+20190c23 |
| `libguestfs-java-debuginfo` | Red Hat:enterprise_linux:8::appstream | All versions | 1:1.44.0-9.module+el8.9.0+18724+20190c23 |
| `libguestfs-java-devel` | Red Hat:enterprise_linux:8::appstream | All versions | 1:1.44.0-9.module+el8.9.0+18724+20190c23 |
| `libguestfs-javadoc` | Red Hat:enterprise_linux:8::appstream | All versions | 1:1.44.0-9.module+el8.9.0+18724+20190c23 |
| `libguestfs-man-pages-ja` | Red Hat:enterprise_linux:8::appstream | All versions | 1:1.44.0-9.module+el8.9.0+18724+20190c23 |
| `libguestfs-man-pages-uk` | Red Hat:enterprise_linux:8::appstream | All versions | 1:1.44.0-9.module+el8.9.0+18724+20190c23 |
| `libguestfs-rescue` | Red Hat:enterprise_linux:8::appstream | All versions | 1:1.44.0-9.module+el8.9.0+18724+20190c23 |
| `libguestfs-rsync` | Red Hat:enterprise_linux:8::appstream | All versions | 1:1.44.0-9.module+el8.9.0+18724+20190c23 |
| `libguestfs-tools` | Red Hat:enterprise_linux:8::appstream | All versions | 1:1.44.0-9.module+el8.9.0+18724+20190c23 |
| `libguestfs-tools-c` | Red Hat:enterprise_linux:8::appstream | All versions | 1:1.44.0-9.module+el8.9.0+18724+20190c23 |
| `libguestfs-tools-c-debuginfo` | Red Hat:enterprise_linux:8::appstream | All versions | 1:1.44.0-9.module+el8.9.0+18724+20190c23 |
| `libguestfs-winsupport` | Red Hat:enterprise_linux:8::appstream | All versions | 0:8.9-1.module+el8.9.0+19846+58c50e4e |
| `libguestfs-xfs` | Red Hat:enterprise_linux:8::appstream | All versions | 1:1.44.0-9.module+el8.9.0+18724+20190c23 |
| `libiscsi` | Red Hat:enterprise_linux:8::appstream | All versions | 0:1.18.0-8.module+el8.9.0+18724+20190c23 |
| `libiscsi-debuginfo` | Red Hat:enterprise_linux:8::appstream | All versions | 0:1.18.0-8.module+el8.9.0+18724+20190c23 |
| `libiscsi-debugsource` | Red Hat:enterprise_linux:8::appstream | All versions | 0:1.18.0-8.module+el8.9.0+18724+20190c23 |
| `libiscsi-devel` | Red Hat:enterprise_linux:8::appstream | All versions | 0:1.18.0-8.module+el8.9.0+18724+20190c23 |
| `libiscsi-utils` | Red Hat:enterprise_linux:8::appstream | All versions | 0:1.18.0-8.module+el8.9.0+18724+20190c23 |
| `libiscsi-utils-debuginfo` | Red Hat:enterprise_linux:8::appstream | All versions | 0:1.18.0-8.module+el8.9.0+18724+20190c23 |
| `libnbd` | Red Hat:enterprise_linux:8::appstream | All versions | 0:1.6.0-5.module+el8.9.0+18724+20190c23 |
| `libnbd-bash-completion` | Red Hat:enterprise_linux:8::appstream | All versions | 0:1.6.0-5.module+el8.9.0+18724+20190c23 |
| `libnbd-debuginfo` | Red Hat:enterprise_linux:8::appstream | All versions | 0:1.6.0-5.module+el8.9.0+18724+20190c23 |
| `libnbd-debugsource` | Red Hat:enterprise_linux:8::appstream | All versions | 0:1.6.0-5.module+el8.9.0+18724+20190c23 |
| `libnbd-devel` | Red Hat:enterprise_linux:8::appstream | All versions | 0:1.6.0-5.module+el8.9.0+18724+20190c23 |

Products: Qemu Qemu, Redhat Enterprise Linux.

## How do I fix CVE-2023-3019?

Apply the vendor's patch.

## Is CVE-2023-3019 being exploited?

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

## Other vulnerabilities in Qemu Qemu

- [CVE-2022-36648](https://insights.sbomify.com/CVE-2022-36648/): Null dereference in n/a (critical 10.0)
- [CVE-2015-8556](https://insights.sbomify.com/CVE-2015-8556/): Race condition in n/a (critical 10.0)
- [CVE-2009-3616](https://insights.sbomify.com/CVE-2009-3616/): Use after free in n/a (critical 9.9)
- [CVE-2019-12928](https://insights.sbomify.com/CVE-2019-12928/): Command injection in n/a (critical 9.8)
- [CVE-2019-12929](https://insights.sbomify.com/CVE-2019-12929/): Command injection in n/a (critical 9.8)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2023-3019 and fix it if it is affected.

What it is: CVE-2023-3019 is a medium-severity use after free vulnerability in Qemu Qemu, published on 24 Jul 2023. It can only be exploited from the same machine or local network, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2023-3019 in the wild and no public exploit code.

Affected product: Qemu Qemu. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2023-3019/ (Markdown: https://insights.sbomify.com/CVE-2023-3019/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2023-3019
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2023-3019
- OSV: https://osv.dev/vulnerability/CVE-2023-3019

---
From sbomify Insights: https://insights.sbomify.com/CVE-2023-3019/
Summaries are generated and may contain mistakes; the official description above is the record.
