Skip to content
Memory corruption Advisory Advanced CVE-2020-6542

Google Chrome WebGL Buffer11::getBufferStorage Code Execution Vulnerability

A use-after-free vulnerability exists in the WebGL buffer handling of Google Chrome's ANGLE library, where a freed buffer storage pointer is accessed. An attacker could create a specially crafted web page to trigger this condition, potentially leading to code execution.

Piotr Bania Follow

Originally disclosed on Cisco Talos

High 8.3 View original

A code execution vulnerability exists in the WebGL functionality of Google Chrome 84.0.4147.89 and 85.0.4169.0 (Developer Build) (64-bit). A specially crafted web page can cause a use-after-free condition.

Piotr Bania, on Cisco Talos

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

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 buffer storage pointer in mBufferStorages is not cleared after being freed in the destructor, leading to a dangling pointer that is later dereferenced.

What the attacker needed

Victim visits a malicious web page; Chrome version 84.0.4147.89 or 85.0.4169.0

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 use-after-free is a type of memory bug where a program keeps using a piece of memory after it has been freed. In this case, a part of Chrome that handles graphics (WebGL) frees some memory but then later tries to read from it, which can crash the browser or let an attacker run their own code. The attacker just needs to trick someone into visiting a malicious web page.

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 by Piotr Bania

View all

94 more disclosed reports, best first.

More from Cisco Talos

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.