Skip to content
Info disclosure Advisory Advanced CVE-2026-10011

Inappropriate implementation in Skia (CVE-2026-10011)

A logic flaw in Skia's Ganesh backend lets a compromised renderer forge matrix metadata in serialised Slug objects so that bilinear sampling is forced on a shared GPU glyph atlas that has no texel padding. This sampling bleed could let the attacker reconstruct cross-origin glyph pixels from the shared atlas.

Google Chrome

Originally disclosed on Chrome VRP

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

Overview: A logic flaw in Skia's Ganesh backend allows a compromised renderer to force bilinear sampling on a shared GPU glyph atlas that lacks texel padding. By providing forged matrix metadata in serialized Slug objects, an attacker can bypass nearest-neighbor sampling constraints. The resulting sampling bleed enables the potential disclosure of cross-origin pixel data from the shared atlas.

Affected files:

  • third_party/skia/src/gpu/ganesh/ops/AtlasTextOp.cpp
  • third_party/skia/src/text/gpu/VertexFiller.cpp
  • third_party/skia/src/gpu/ganesh/text/GrAtlasManager.cpp
  • third_party/skia/src/text/gpu/SubRunContainer.cpp
  • third_party/skia/src/gpu/ganesh/text/GlyphData.cpp
  • third_party/skia/src/gpu/ganesh/effects/GrBitmapTextGeoProc.cpp
  • third_party/skia/src/gpu/ganesh/Device.cpp

Estimated timestamp from git blame: Unknown (Google3 checkout)

Background

In Chrome's GPU process, Skia's Ganesh backend (used for Out-Of-Process Rasterization, or OOP-R) manages a shared glyph atlas. This atlas is stored in GPU textures and is shared across all renderer processes and origins to improve performance and memory efficiency. By default, Chrome disables fSupportBilerpFromGlyphAtlas, causing glyphs to be packed into the atlas with zero border padding (0 texels) to conserve space. This design assumes that glyphs in the atlas will only be sampled using nearest-neighbor (kNearest) filtering.

The Vulnerability

The vulnerability lies in how sktext::gpu::AtlasTextOp determines the sampler filter mode and how the GPU process handles serialized Slug objects (representations of text draws).

  1. Unvalidated Metadata: When a renderer sends a cc::DrawSlugOp, the payload includes a Slug object. This object contains VertexFiller metadata, specifically an fCreationMatrix. The GPU process deserializes this matrix directly from the renderer-supplied buffer in VertexFiller::MakeFromBuffer (third_party/skia/src/text/gpu/VertexFiller.cpp:61) without verifying its validity against the actual drawing context.

  2. Forced Bilinear Filtering: During rasterization, AtlasTextOp decides whether to use kNearest or kLinear (bilinear) filtering based on the fNeedsGlyphTransform flag. This flag is set to true if the draw-time Canvas Transformation Matrix (CTM) does not match the stored fCreationMatrix (e.g., if there is a sub-pixel translation or scale). By forging the fCreationMatrix to mismatch the actual CTM, a compromised renderer can force fNeedsGlyphTransform to be true (third_party/skia/src/gpu/ganesh/ops/AtlasTextOp.cpp:274).

  3. Bilinear Bleed: When fNeedsGlyphTransform is true, the GPU sampler is set to GrSamplerState::Filter::kLinear (third_party/skia/src/gpu/ganesh/ops/AtlasTextOp.cpp:494). Since the atlas was packed with zero padding, bilinear sampling at the glyph boundaries will interpolate between the attacker's glyph and adjacent glyphs in the shared atlas belonging to other origins.

Impact

An attacker can read back the rasterized output (for example, by drawing to an accelerated 2D canvas and using getImageData()). Because the output contains a blend of the attacker's pixels and the victim's cross-origin glyph texels, the attacker can mathematically reconstruct cross-origin text or color-emoji data. This constitutes a high-severity cross-origin information leak in the GPU process.

Potential Exploit Steps

  1. From a compromised renderer, send commands to prime the shared atlas with glyphs from a victim origin (e.g., by navigating an iframe to a target site).
  2. Generate a malicious Slug payload where the fCreationMatrix is intentionally forged to mismatch the target draw CTM by a sub-pixel amount (e.g., 0.5 pixels).
  3. Send a cc::DrawSlugOp containing this Slug to the GPU process.
  4. Execute a draw with the Slug using the CTM that triggers the mismatch.
  5. Read back the resulting pixels from the canvas and solve for the neighboring texel values from the victim's origin.

Suggested Fix

The GPU process should validate that the initialPositionMatrix (or creationMatrix) within a Slug is consistent with the drawing context. Alternatively, if fSupportBilerpFromGlyphAtlas is false, Skia should strictly enforce kNearest filtering for direct mask subruns, regardless of the transform metadata provided by the renderer. A debug-only check currently exists as a SkASSERT in Device::drawSlug (third_party/skia/src/gpu/ganesh/Device.cpp:1440); this invariant should be enforced at runtime in release builds.

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

Likely the GPU process trusts the renderer-supplied creation matrix in a serialised Slug without checking it against the actual draw transform, so the filter mode can be forced to bilinear on an atlas packed with zero padding.

Impact

An attacker could reconstruct cross-origin text or colour-emoji data from the blended output, a high-severity cross-origin information leak, though it requires a compromised renderer.

What the attacker needed

Compromised renderer; victim content drawn into shared atlas

The fix

The GPU process should validate the Slug's creation matrix against the drawing context, or strictly enforce nearest-neighbour filtering when bilerp from the glyph atlas is disabled, with the existing debug assertion enforced at runtime.

How it was found

  1. Prime the shared atlas with glyphs from a victim origin, for example by loading the target site in an iframe.
  2. Craft a Slug whose creation matrix is forged to differ from the draw transform by a sub-pixel amount.
  3. Send a draw command carrying that Slug to the GPU process.
  4. Draw with the transform that triggers the mismatch.
  5. Read back the canvas pixels and solve for the neighbouring texel values.

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.

Chrome draws text using a shared texture (an atlas) that holds glyphs from many websites at once. Normally each glyph is read back with a simple nearest-pixel lookup, but a bug lets a malicious renderer ask for a smoother blend that mixes in neighbouring glyphs, which may belong to another site, so the attacker could work out what that other site displayed.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More from Google Chrome

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.