Skip to content
Access control Advisory Advanced CVE-2026-79132

Improper input validation in Input (CVE-2026-79132)

A compromised renderer can spoof the viewport width in RenderFrameMetadata to zero, which makes the browser's edge-swipe check always pass. This lets the attacker trigger the BackForwardTransitionAnimator with any scroll gesture, expanding the browser-process attack surface.

Google Chrome

Originally disclosed on Chrome VRP

  • Fix shipped in 3 months

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. Please see https://chromium.googlesource.com/chromium/src/+/main/docs/security/ai-generated-security-bugs-faq.md for more information.

Overview: A compromised renderer can potentially bypass the physical edge-swipe requirement for history navigation gestures on Android by spoofing viewport dimensions in RenderFrameMetadata. By reporting a zero width, the browser's internal logic for gating navigation transitions becomes trivially satisfied for any touch position. This allows an attacker to instantiate and interact with the BackForwardTransitionAnimator in the browser process using any scroll gesture.

Affected files:

  • ui/android/overscroll_refresh.cc
  • content/browser/android/overscroll_controller_android.cc
  • cc/mojom/render_frame_metadata_mojom_traits.cc
  • content/browser/renderer_host/render_widget_host_view_android.cc
  • content/browser/navigation_transitions/back_forward_transition_animation_manager_android.cc

Estimated timestamp from git blame: 2019-04-18

Description

A logic flaw in Chromium's Android overscroll implementation allows a compromised renderer to bypass the security gating for history navigation transitions (edge-swipes). The browser process relies on renderer-supplied RenderFrameMetadata to determine the viewport width, which is subsequently used to verify if a horizontal scroll gesture originated near the physical edge of the screen.

Root Cause Analysis

In ui/android/overscroll_refresh.cc, the OnOverscrolled method evaluates if a gesture qualifies as a history navigation (kHistoryNavigation) using the following check:

C++
// ui/android/overscroll_refresh.cc:109
bool scroll_from_edge = scroll_begin_x_ < edge_width_ ||
                        viewport_width_ - scroll_begin_x_ < edge_width_;

The viewport_width_ is updated via OnFrameUpdated, which receives its values from the renderer through OverscrollControllerAndroid::OnFrameMetadataUpdated. A compromised renderer can spoof the scrollable_viewport_size or page_scale_factor in the RenderFrameMetadata IPC such that the calculated viewport_width_ in the browser becomes zero.

When viewport_width_ is 0, the expression 0 - scroll_begin_x_ < edge_width_ simplifies to -scroll_begin_x_ < edge_width_. Since scroll_begin_x_ is a non-negative touch coordinate provided by the browser's input system and edge_width_ is a positive constant (defaulting to 24px), this condition is always satisfied regardless of where the user touches the screen.

Potential Impact

By bypassing this gating, a compromised renderer can force the browser to instantiate the BackForwardTransitionAnimator. This is a complex browser-process component (approximately 2400 lines) that manages page snapshots, suppresses user input, and interacts with navigation lifecycle events.

While direct memory corruption has not been proven, this bypass significantly expands the browser-process attack surface available to a compromised renderer. It allows an attacker to trigger privileged UI transitions, suppress input for the tab, and probe for race conditions in the animator's state machine against RenderFrameHost and navigation events. This feature is typically active on Android devices with >= 7.2GB RAM.

Potential Steps to Trigger

Note: These steps are theoretical as we have not executed code to verify a Proof of Concept.

  1. From a compromised renderer, ensure the tab has session history (e.g., via history.pushState).
  2. Send a cc::mojom::RenderFrameMetadataObserverClient::OnRenderFrameMetadataChanged IPC with scrollable_viewport_size set to {0, 0}.
  3. The browser updates OverscrollRefresh::viewport_width_ to 0.
  4. Wait for the user to perform any scroll gesture on the page.
  5. The renderer sends a blink::mojom::WidgetInputHandlerHost::DidOverscroll IPC indicating horizontal overscroll.
  6. The browser's edge check evaluates to true due to the zeroed width, triggering the BackForwardTransitionAnimator.

Suggested Fix

Validate scrollable_viewport_size and page_scale_factor in the browser process within RenderWidgetHostViewAndroid::OnRenderFrameMetadataChangedBeforeActivation. Ensure that viewport_width_ in OverscrollRefresh is sanitized and maintains a sane minimum value before being used in navigation gating logic. Additionally, consider performing the edge-start validation earlier in the input pipeline where the viewport size is known from the browser's perspective.

Evaluated with Chrome root at commit: 1a8d40fc44df2088d5945c0bf53584038aa1614a


Results so far have been promising, but there can be wrong deductions. Feel free to adjust as follows:

  • If you are familiar with the severity guidelines, you may adjust the severity.
  • If this is a false positive, and there's no work to be done, please close as WAI.
  • If there is work to do here but not a vulnerability, please change the issue type to Task/Bug/FR.

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

The browser trusts a renderer-supplied viewport width without validation, so a zero value makes the edge-proximity check always true.

Impact

A compromised renderer could trigger privileged UI transitions, suppress input for the tab, and probe for race conditions in the animator, though direct memory corruption has not been proven.

What the attacker needed

Compromised renderer; Android device with >= 7.2GB RAM; tab has session history; user performs a scroll gesture

The fix

The browser should validate scrollable_viewport_size and page_scale_factor and enforce a sane minimum viewport width before using it in navigation gating.

How it was found

  1. Ensure the tab has session history, for example via history.pushState.
  2. Send a RenderFrameMetadataObserverClient IPC with scrollable_viewport_size set to zero.
  3. The browser updates OverscrollRefresh::viewport_width_ to zero.
  4. Wait for the user to perform any scroll gesture on the page.
  5. Send a DidOverscroll IPC indicating horizontal overscroll.
  6. The browser's edge check passes and triggers the BackForwardTransitionAnimator.

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.

On Android, swiping from the very edge of the screen can go back or forward in browser history. The browser checks that a swipe started near the edge before allowing this. A malicious page (or a compromised renderer) can lie about the screen width, making the browser think every swipe starts at the edge. This lets the attacker trigger a complex animation component in the browser process more often than intended.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

More from Google Chrome

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.