Skip to content
Memory corruption Advisory Advanced CVE-2026-11183

Out of bounds read in GWP-ASan (CVE-2026-11183)

The GWP-ASan crash analyser uses the wrong maximum length when parsing Lightweight UAF Detector stack traces, so a crafted crash dump can make it read past a 90-byte buffer. On iOS, a compromised app extension could supply such a dump and later read leaked browser-process heap memory from the shared minidump directory.

Google Chrome

Originally disclosed on Chrome VRP

  • Fix shipped in 49 days

Project Fortify, an experimental security project, has identified the following potential security issue. If you're a feature owner CC-ed on this bug, please do your best to review these reports without the Chrome Security team. Please see go/chrome-ai-generated-security-bugs-faq for more information.

Overview: The GWP-ASan CrashAnalyzer uses an incorrect bounds limit when parsing Lightweight UAF Detector crashes, allowing an attacker to read past the end of the metadata buffer. On iOS, a compromised app extension can provide a crafted intermediate crash dump to trigger this out-of-bounds read in the highly-privileged browser process. The leaked heap memory is encoded and written back to the shared minidump directory, allowing the extension to reconstruct the sensitive data.

Affected files:

  • components/gwp_asan/crash_handler/crash_analyzer.cc
  • components/gwp_asan/common/lightweight_detector_state.h
  • components/gwp_asan/common/allocator_state.h

Estimated timestamp from git blame: 2026-03-17

Background

On iOS, Crashpad operates in-process and writes intermediate crash dumps to a directory shared between the main Chrome browser process and its app extensions (such as the Share or Credential Provider extensions) via an App Group container. When the main browser process starts, it reads these intermediate dumps to generate full minidumps.

The Vulnerability

There is a bounds checking mismatch in CrashAnalyzer::ReadAllocationInfo (components/gwp_asan/crash_handler/crash_analyzer.cc) when it processes GWP-ASan stack traces. The function is shared between the classic allocator and the Lightweight UAF Detector mode.

When verifying the slot_info.trace_len before calling Unpack(), the code checks against AllocatorState::kMaxPackedTraceLength (which is 400 bytes):

C++
if (slot_info.trace_len > AllocatorState::kMaxPackedTraceLength ||
    stack_trace_offset + slot_info.trace_len >
        AllocatorState::kMaxPackedTraceLength) {
  return;
}

However, when analyzing a Lightweight UAF Detector crash, the source buffer is LightweightDetectorState::SlotMetadata::deallocation_stack_trace, which has a maximum size of LightweightDetectorState::kMaxPackedTraceLength (90 bytes).

If a compromised app extension sets trace_len to 400 in a crafted intermediate dump, the check passes. Unpack() will then read 400 bytes starting from the 90-byte buffer.

Potential Exploitation Steps (Theoretical)

Our tooling agent suggests the following steps an attacker might take to exploit this vulnerability. Note that these are potential steps, as we do not yet have a working proof of concept that has been successfully run.

  1. Craft the Dump: A compromised app extension creates a fake ProcessSnapshotIOSIntermediateDump in the shared App Group Crashpad directory (Crashpad/pending-serialized-ios-dump/).
  2. Fake State: The dump annotations designate a Lightweight UAF Detector crash. The dump provides a fake LightweightDetectorState with num_metadata set to 1.
  3. Fake Metadata Array: The dump provides a 136-byte payload representing a single LightweightDetectorState::SlotMetadata object (size on 64-bit iOS). Inside this object, dealloc.trace_len is set to 400, and id is set to 0x41414141.
  4. Exception Address Triggers Analysis: The dump's ARM64 CPU context specifies an exception address of 0xEFED414141418000, which the analyzer decodes to match the metadata id of 0x41414141, triggering stack trace extraction.
  5. Trigger OOB Read: The browser process allocates a 136-byte heap buffer for the SlotMetadata array (std::make_unique<LightweightDetectorState::SlotMetadata[]>(1)) and copies the attacker's payload into it. ReadAllocationInfo validates the 400-byte length against the incorrect 400-byte maximum and calls Unpack().
  6. Memory Exfiltration: Unpack() reads 400 bytes starting at the 90-byte deallocation_stack_trace field. It reads the 90 bytes of the array, the remaining 30 bytes of the SlotMetadata struct, and 280 bytes of out-of-bounds heap memory adjacent to the SlotMetadata allocation.
  7. Data Reconstruction: Unpack successfully decodes the OOB bytes (assuming they don't violate VarInt formatting rules, which is likely for random heap data) and writes them to the gwp_asan::Crash protobuf. The browser serializes the protobuf into the final minidump stored in the shared App Group directory.
  8. The app extension reads the new minidump and perfectly reverses the mathematical VarInt and ZigZag encoding applied by Unpack(), reconstructing the raw 280 bytes of browser process heap memory.

Suggested Fix

ReadAllocationInfo should be modified to accept the correct maximum buffer size as an argument, or infer it based on the current mode, rather than hardcoding AllocatorState::kMaxPackedTraceLength.

C++
void CrashAnalyzer::ReadAllocationInfo(
    const uint8_t* stack_trace,
    size_t stack_trace_offset,
    const AllocationInfo& slot_info,
    gwp_asan::Crash_AllocationInfo* proto_info,
    size_t max_trace_length) { // Pass the correct limit

Evaluated with Chrome root at commit: 661452647ddb2827305122ff3273bd5dea403f09


Results so far have been promising, but there can be wrong deductions. If this proves to be a false positive, please close as WAI; data from false positives will be used to improve accuracy over time. And please feel free to reach out to me directly if you have concerns or feedback on the project.

The original report as published on the Chromium issue tracker. 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, `ReadAllocationInfo` validates `trace_len` against `AllocatorState::kMaxPackedTraceLength` (400) even when the source buffer is a `LightweightDetectorState::SlotMetadata::deallocation_stack_trace` of only 90 bytes.

Impact

A compromised iOS app extension could read up to 280 bytes of adjacent browser-process heap memory from the shared minidump directory; the report notes the steps are theoretical and no working proof of concept has been run.

What the attacker needed

Compromised iOS app extension; shared App Group Crashpad directory; crafted intermediate crash dump

The fix

`ReadAllocationInfo` should take the correct maximum buffer size as an argument, or infer it from the current mode, instead of hardcoding `AllocatorState::kMaxPackedTraceLength`.

How it was found

  1. A compromised app extension writes a fake intermediate crash dump into the shared App Group Crashpad directory.
  2. The dump is marked as a Lightweight UAF Detector crash and supplies a fake state with one metadata entry.
  3. The metadata entry sets the deallocation trace length to 400 and an id value.
  4. The dump's CPU context gives an exception address that decodes to that id, so the analyser extracts the stack trace.
  5. The analyser copies the metadata into a 136-byte heap buffer, accepts the 400-byte length, and unpacks 400 bytes from the 90-byte field.
  6. The decoded out-of-bounds bytes are written into the final minidump, which the extension reads and decodes.

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 crash analyser in Chrome reads crash dumps and copies stack-trace bytes into a report. It checks the length against one limit (400 bytes) but the actual buffer for this crash type is only 90 bytes, so a fake dump can make it copy extra memory from the browser process. On iOS, a malicious app extension shares a folder with the browser and could read that leaked memory back.

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 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.