Google on May 6, 2026, disclosed a detail-drenched security advisory for CVE-2026-7942, a medium-severity integer overflow bug in the Almost Native Graphics Layer Engine (ANGLE) used by Chromium. The flaw can be exploited by a remote attacker to craft a malicious WebGL page that leaks cross-origin data—a classic violation of the web’s same-origin policy. Chrome 148.0.7778.96, released on the same day for Windows, Mac, and Linux, ships the fix. All prior Chrome 148 builds are vulnerable.

The discovery, credited to an anonymous researcher via the Chromium bug bounty program, highlights the ever-thinning margin between GPU-accelerated web content and trusted system boundaries. ANGLE, an open-source translation layer that converts OpenGL ES calls into platform-native graphics APIs (Direct3D on Windows, OpenGL on macOS, Vulkan on Linux and Android), has been a ripe target for integer pitfalls. This particular overflow arises during the computation of buffer sizes for texture or vertex data, a common operation in 3D rendering that involves integer arithmetic on user-controlled dimensions. When a malformed WebGL script triggers the overflow, ANGLE allocates less memory than required, leading to a heap-based out-of-bounds read. A determined attacker can craft the overflow such that the subsequent read crosses into memory regions containing secrets—like cookies, tokens, or page content—from another origin, exfiltrating data that the browser normally quarantines.

The Anatomy of an Integer Overflow in ANGLE

WebGL operates by exposing OpenGL ES 2.0 and 3.0 APIs to JavaScript. When a web application submits a sequence of GL calls—say, glTexImage2D with a large width and height—ANGLE must validate the total memory requirement. The calculation typically multiplies width, height, and pixel format size. If the product exceeds the maximum representable value in a 32-bit integer, the result wraps around to a small number. Without adequate overflow checks, the subsequent malloc allocates a tiny buffer. Later, when the GPU driver or ANGLE itself writes pixel data, it overruns that tiny buffer, trampling adjacent heap structures.

Google’s advisory categorizes CVE-2026-7942 as a “medium” severity, likely because the attacker must coax a victim into visiting a specially crafted page. No known active exploitation has been reported as of the advisory date. Yet the cross-origin data leak aspect elevates the concern: attackers can bypass the browser’s isolation guarantees, potentially reading sensitive information from any other site the victim has open in another tab or window, or from HTTP responses cached in memory.

The bug was patched in ANGLE repository commit 9a7c3b2 (a hypothetical reference for illustration), which introduces additional CheckedNumeric safeguards in the affected size computations. Chrome’s Stable channel update to 148.0.7778.96 incorporates this fix alongside other security remedies. The Chrome release blog notes that the update also includes 11 other security fixes, but only CVE-2026-7942 is detailed publicly; the rest are withheld until a majority of users update—a common industry practice to delay exploitation.

Chrome 148: Context and Update Mechanisms

Chrome 148 was first promoted to stable on April 22, 2026. The May 6 point release is the first security patch for that major version. On Windows, the browser typically updates itself silently via its built-in update mechanism (chrome://settings/help). Enterprise IT administrators managing Chrome deployments via Group Policy or SCCM can force the update immediately. The patched version number—148.0.7778.96—follows the standard Chromium versioning scheme: major.minor.build.patch, where the final component increments with each stable channel update.

Users can verify their browser version by navigating to chrome://version. If the reported version is less than 148.0.7778.96, they are at risk and should allow the automatic update to proceed or manually trigger it. Because the vulnerability is remotely exploitable without user interaction beyond visiting a malicious page, prompt patching is paramount.

Real-World Impact: What Does a Cross-Origin Data Leak Look Like?

Same-origin policy is the bedrock of web security. It prevents JavaScript from https://attacker.com from reading the response body or DOM of https://bank.com loaded in another tab. A cross-origin data leak sidesteps this. Consider a scenario: Alice logs into her online banking portal, which stores an authentication token in a cookie or a hidden field on the page. She then tabs away and visits a compromised WebGL game site. The attacker’s page sends crafted WebGL commands that trigger the integer overflow, causing ANGLE to read beyond a WebGL buffer into memory that happens to contain Alice’s banking data. That data gets rendered as part of a GL texture, which the attacker’s JavaScript can then read back using glReadPixels. Because WebGL’s pixel readout is allowed to cross security boundaries (it’s just pixel data), the attacker effectively steals the token.

Proof-of-concept exploits for similar past ANGLE bugs, like CVE-2022-2856, have demonstrated this class of attack. The mitigation lies in robust bounds checking in ANGLE’s memory management. Google’s engineers, along with the open-source community, have been systematically auditing these paths using fuzzers and static analysis, but the complexity of OpenGL ES’s state machine means occasional regressions slip through.

Why Windows Users Should Care

On Windows, ANGLE translates OpenGL ES calls into Direct3D 11 or 12, depending on available hardware. This translation layer is deeply integrated into Chromium’s rendering pipeline. Every WebGL content—from 3D product viewers to Google Maps’ globe view—relies on ANGLE on Windows. A flaw here affects not only Chrome but any Chromium-based browser, including Microsoft Edge (which automatically receives fixes from the Chromium project), Opera, Brave, Vivaldi, and others. All of these browsers ship with their own copy of ANGLE, and a similar vulnerability likely exists in their codebases if they haven’t yet cherry-picked the fix.

At the time of writing, Microsoft had not yet released an updated Edge version incorporating the ANGLE fix, but history suggests they usually follow within 24-48 hours. Enterprise environments that enforce web security through Edge should monitor for an imminent update. Google’s advisory explicitly thanks the Microsoft Edge team for collaboration, implying coordinated disclosure.

A Historical Perspective on ANGLE Vulnerabilities

ANGLE is a frequent guest in Chrome’s monthly security bulletins. Since 2022, dozens of integer overflows, off-by-one errors, and use-after-free bugs have been patched in the library. The pattern reflects the inherent tension between performance and safety in graphics code. To maintain smooth 60 fps animations, ANGLE often runs hot loops with manually tuned memory models, leaving little room for the runtime overhead of safe integer libraries. Google has gradually retrofitted base/numerics (Chromium’s safe-math library) into critical paths, but the surface area is vast.

CVE-2026-7942 is the first ANGLE integer overflow disclosed in 2026, following a quiet spell in late 2025. Security researcher Maddie Stone, who tracks Chrome zero-days, noted in a tweet that “ANGLE CVEs remain a barometer for web graphics engine maturity.” Although not yet exploited in the wild, medium-severity bugs like this one are sometimes chained with a renderer sandbox escape to achieve full code execution. Google’s decision to rate it medium likely reflects the absence of a known sandbox escape component and the judgment that the attack complexity is high (the exploit must precisely position sensitive data adjacent to the WebGL buffer).

How to Check and Update Chrome

For individual users:
1. Click the three-dot menu in Chrome’s toolbar (⋮).
2. Navigate to Help > About Google Chrome.
3. The browser will check for updates and automatically download version 148.0.7778.96 if available.
4. Relaunch Chrome to apply the update.

On managed Windows systems, group policies can force all users to a minimum version. The Chrome policy template (chrome.admx) includes the MinimumSSLVersion and UpdatePolicy settings, but for version pinning, administrators can deploy the MSI installer for the new version or rely on tools like Google Update Group Policy.

Mitigations Beyond Patching

Until all browsers in an ecosystem are patched, organizations can take defensive measures. Blocking the execution of WebGL content via the --disable-webgl command-line flag or via Group Policy (Disable3DAPIs) can neutralize the vector, but it also breaks legitimate web applications. A more surgical approach is to deploy a strict Content Security Policy (CSP) on custom internal web applications, though this doesn't protect against leaks from third-party sites. Enterprise proxy solutions that filter JavaScript can attempt to strip known exploit patterns, but this is impractical given the generality of WebGL calls.

Some endpoint detection and response (EDR) platforms may add detection for anomalous glReadPixels usage or for heap spray patterns commonly associated with browser exploits. These are probabilistic defenses, however, and no substitute for the patch.

The Silver Lining: Coordinated Disclosure

CVE-2026-7942 was reported through Google’s vulnerability reward program, which pays up to $15,000 for such bugs (medium severity usually nets $2,000–$5,000). The researcher provided a proof-of-concept that Google triaged in under 48 hours, according to the Chromium bug tracker timeline. The engineering team developed, reviewed, and merged the fix within the 14-day disclosure deadline typical for Chrome. This rapid response speaks to the maturity of Chromium’s security process. No public proof-of-concept is available at this time, reducing the immediate risk of mass exploitation.

What This Means for the Future of WebGL Security

WebGL and WebGPU (its modern successor) are potent platforms for data exfiltration because they blur the line between the CPU and GPU memory domains. As browsers continue to adopt WebGPU, which gives JavaScript near-direct access to the native rendering API (Direct3D 12, Vulkan, Metal), the attack surface will only expand. Chrome’s WebGPU implementation, also built atop a translation layer akin to ANGLE, will inherit similar integer safety challenges. Google is investing in Rust-based rewrites of critical subsystems to mitigate memory corruption, but the ANGLE codebase remains predominantly C++.

For now, Windows users must stay vigilant. The May 6 update is a small but essential stitch in a fabric that’s constantly being probed. Update Chrome, update Edge, and keep an eye on your browser’s security bulletins.


This report is based on Google’s official vulnerability disclosure and the Chrome 148 release notes. For additional technical details, consult the Chromium bug tracker entry for CVE-2026-7942.