Skip to content
Memory corruption Advisory Advanced CVE-2025-12428

GHSL-2025-114: Type confusion in Chromium - CVE-2025-12428

A type confusion in Chromium's V8 engine mishandles WebAssembly object prototypes when caching prototype properties, so a map change in a prototype is not detected. An attacker could potentially execute arbitrary code in the renderer when combined with a V8 heap sandbox escape.

m-y-mo Follow

Originally disclosed on GitHub Security Lab

A type confusion vulnerability (GHSL-2025-114) was identified in Chromium’s V8 engine (commit d32e674), where inline cache prototype loading mishandles WebAssembly object prototypes. This could potentially allow attackers to execute arbitrary code.

m-y-mo, on GitHub Security Lab

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 inline cache treats a non-JSObject prototype (a WebAssembly object) as having no validity cell, so later map changes in the prototype chain do not invalidate the cached handler.

Impact

This issue may lead to remote code execution in the Chrome renderer when combined with a V8 heap sandbox escape.

What the attacker needed

WebAssembly custom descriptors origin trial; attacker hosts a website; victim visits the site; V8 heap sandbox escape for RCE

The fix

It was fixed in Chromium 142.0.7444.59/60.

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.

V8 is the part of Chrome that runs JavaScript. It speeds up property lookups by remembering where a property was found, but it also remembers a 'validity' marker that should be cleared if the object's shape changes. Here, when a WebAssembly object sits in the prototype chain, that marker is set to a special 'no marker' value, so the check is skipped and the engine can use stale information, which is a type confusion.

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 m-y-mo

View all

64 more disclosed reports, best first.

More from GitHub Security Lab

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.