CVE-2026-5165 Virtio-win: virtio-win: memory corruption via use-after-free in virtio blk device reset

Medium 6.7 Published Updated

A local attacker can trigger a use-after-free in the VirtIO Block device reset, causing system memory corruption and instability.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-5165?

CVE-2026-5165 is a medium-severity use after free vulnerability in Redhat Enterprise Linux, published on 30 Mar 2026. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A flaw was found in virtio-win, specifically within the VirtIO Block (BLK) device. When the device undergoes a reset, it fails to properly manage memory, resulting in a use-after-free vulnerability. This issue could allow a local attacker to corrupt system memory, potentially leading to system instability or unexpected behavior.

Weakness: CWE-825

Which versions are affected by CVE-2026-5165?

It affects 2 products.

Products include Redhat Enterprise Linux, Redhat Virtio-Win.

How do I fix CVE-2026-5165?

No fix has been published for CVE-2026-5165 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2026-5165 being exploited?

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

All Redhat Enterprise Linux vulnerabilities

Sources

Also known as GHSA-6fw6-rqjg-9v3j.

Is CVE-2026-5165 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free