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

Use after free in Animation (CVE-2025-6555)

A heap-use-after-free occurs in Blink's TransitionInterpolation when transitioning a custom property with @starting-style, causing tab crashes. The reporter is unsure if it is exploitable but provides a reliable reproduction.

Lyra Rebane Follow

Originally disclosed on Chrome VRP

Bounty$4,000 Medium View original
  • Fix shipped in 3 months

VULNERABILITY DETAILS When transitioning a custom property with @starting-style, heap-use-after-free tab crashes in blink::TransitionInterpolation seem to be likely. I am not exactly sure what triggers the heap-uaf and how/whether it could be used, but I have found a reliable repro for this.

I am not sure whether this is an exploitable security bug, but since it is an uaf read I figured I'd report it anyways.

VERSION Chrome Version: 136.0.7091.2 Dev Operating System: Windows, Android

REPRODUCTION CASE Condensed down:

@property --crash {
  syntax: '<integer>';
  initial-value: 0;
  inherits: false;
}
* {
  transition: --crash 1000s;
  @starting-style {
    --crash: 1000000;
  }
}

I have also added a viewport in the included crash.html just in case.

This bug is reliably reproducible through DevTools:

  1. Open crash.html.
  2. Open devtools.
  3. Turn on the device toolbar.
  4. Wait a few seconds, turn the device toolbar off.
  5. Resize the devtools panel.

Note that only the steps 1-3 are necessary for a crash, but steps 4-5 make the repro reliable.

On Android it can be reproduced as such:

  1. Open crash.html.
  2. Resize Chrome[1].
  3. Wait for a while

Repro on Android is not reliable and takes a while, but doesn't require DevTools or unrealistic user actions.

[1] I am not sure what types of resizes trigger the crash and which do not. Closing my folding phone does trigger the crash, as does resizing a window in my phone's multi-window mode. I am not sure of whether simply rotating the screen is enough though.

FOR CRASHES, PLEASE INCLUDE THE FOLLOWING ADDITIONAL INFORMATION Type of crash: tab Crash State: see asan.log The asan report was captured with --single-process, I'm not sure how I'd get asan logs for the tab otherwise. The tab crash happens without the flag too, of course.

CREDIT INFORMATION Externally reported security bugs may appear in Chrome release notes. If this bug is included, how would you like to be credited? Reporter credit: Lyra Rebane (rebane2001)

The original report as published on the Chromium issue tracker, by Lyra Rebane (rebane2001). Images and videos are our own copies; raw HTML is shown as text. View it on Chromium issue tracker.

Written with AI from the full original report and checked against it passage by passage; anything it could not back up was removed or toned down. The original is the record. 5 min read.

Context

This is a Chrome VRP report about a heap-use-after-free in blink::TransitionInterpolation, the Blink component that interpolates values during CSS transitions. The trigger involves a registered custom property (@property) that is transitioned, combined with @starting-style, which supplies the value a property starts from when an element first appears. The reporter, Lyra Rebane (rebane2001), describes the crash as a tab crash and is explicit that they are not sure what exactly triggers the heap-use-after-free or whether it could be used, but they found a reliable reproduction. They also state they are not sure whether it is an exploitable security bug, and reported it because it is a use-after-free read.

The platform records the issue as CVE-2025-6555, severity medium, weakness use after free, in the Animation asset, with a bounty of 4000.00 USD, disclosed on 2025-06-24.

Setup

The report lists the following environment:

Item Value
Chrome version 136.0.7091.2 Dev
Operating systems Windows, Android
Crash type tab
Crash state see asan.log

The ASan report was captured with --single-process; the reporter notes they were not sure how else to obtain ASan logs for the tab. The tab crash happens without the flag as well.

Finding it

The reporter observed that transitioning a custom property with @starting-style appears to cause a heap-use-after-free tab crash in blink::TransitionInterpolation. They condensed the trigger down to a minimal stylesheet and also included a viewport in the supplied crash.html "just in case".

Exploitation

The reproduction is a CSS-only page. The condensed case is:

CSS
@property --crash {
  syntax: '<integer>';
  initial-value: 0;
  inherits: false;
}
* {
  transition: --crash 1000s;
  @starting-style {
    --crash: 1000000;
  }
}

The pieces that matter:

  1. @property --crash registers a custom property with syntax: '<integer>', an initial-value of 0 and inherits: false. Registration gives the property a type, which is what makes it interpolable.
  2. The universal selector applies a transition on --crash with a duration of 1000s to every element.
  3. Inside @starting-style, the same rule sets --crash: 1000000, so the property has a starting value to transition from when an element is first rendered.

The combination of a typed, transitioned custom property and a starting-style value is what the reporter associates with the crash in blink::TransitionInterpolation.

Step by step on desktop (DevTools)

  1. Open crash.html.
  2. Open DevTools.
  3. Turn on the device toolbar.
  4. Wait a few seconds, then turn the device toolbar off.
  5. Resize the DevTools panel.

The reporter notes that only steps 1 to 3 are necessary for a crash, but steps 4 and 5 make the reproduction reliable.

Step by step on Android

  1. Open crash.html.
  2. Resize Chrome.
  3. Wait for a while.

The Android reproduction is not reliable and takes a while, but it does not require DevTools or unrealistic user actions. The reporter is not sure which types of resize trigger the crash and which do not: closing their folding phone does trigger it, as does resizing a window in the phone's multi-window mode. They are not sure whether simply rotating the screen is enough.

Root cause

The report does not identify the specific code defect. It names the crashing function, blink::TransitionInterpolation, and ties the trigger to transitioning a custom property together with @starting-style, but it does not explain what is freed or what later reads it. The reporter states plainly that they are not exactly sure what triggers the heap-use-after-free. Any deeper explanation would be speculation beyond what was submitted.

Impact

The report frames the issue as a tab crash from a use-after-free read. The reporter is explicit that they do not know whether it is exploitable and that they are unsure how or whether the use-after-free could be used. The realistic impact described is a tab crash triggered by page content, with the desktop path made reliable through DevTools actions and the Android path requiring a resize and some waiting. The platform classified it as medium severity.

Fix

The report does not describe a fix or a patch. It is a vulnerability report with reproduction steps and crash information, not a post-mortem of the change that resolved it.

Variants to test

These follow from the structure of the trigger and are suggestions for further testing, not claims from the report:

  1. Other registered custom property syntaxes. Register properties with syntax values such as <length>, <color> or <number> instead of <integer>, transition them, and give them a @starting-style value. A positive result is a tab crash in the same interpolation code path.
  2. Different transition durations and starting values. Vary the 1000s duration and the 1000000 starting value. A positive result is a crash that no longer depends on the DevTools steps to be reliable.
  3. Scoping the rule. Replace the universal selector with narrower selectors and with elements that are inserted and removed dynamically. A positive result is a crash on element insertion, which would remove the need for a resize.
  4. Other starting-style properties. Apply @starting-style to standard animatable properties alongside the custom property transition. A positive result is a crash that points at the same TransitionInterpolation frame.
  5. Resize and viewport changes. Reproduce the Android path with different kinds of resize (window resize, multi-window, rotation) and record which ones crash. A positive result is a documented, minimal set of resize actions that reliably triggers the crash.

Hunting notes

This kind of bug tends to sit where new CSS features meet the transition and animation machinery: typed custom properties, @starting-style, and interpolation between initial and target values. The signal during testing is a tab crash that appears only when a transition and a starting-style value are combined, especially when the crash frame names an interpolation function. The report provides a minimal stylesheet, a desktop reproduction through DevTools, an Android reproduction path, and an ASan log captured with --single-process, with confirmation that the tab crash also occurs without that flag. The report does not claim exploitability, and the acceptance rests on the reproducible crash rather than on a demonstrated attack.

Written with AI from the full original report and checked against it passage by passage; anything it could not back up was removed or toned down. The original is the record. 11 min read.

What happened, in plain words

A security researcher found a way to make a Chrome tab crash using nothing but a small piece of CSS, the language that tells a browser how a web page should look. The crash happens inside a part of Chrome called Blink, which is the engine that turns HTML and CSS into the page you see. Specifically, the crash is in a function called blink::TransitionInterpolation, which is the code that works out the in-between values while something is smoothly changing on screen, for example a colour slowly fading from red to blue.

The researcher, Lyra Rebane (rebane2001), was honest about the limits of what they knew. They found a reliable way to reproduce the crash, but they were not exactly sure what causes it under the hood, and they were not sure whether an attacker could turn it into something worse than a crash. They reported it anyway because the crash is a particular kind of bug called a use-after-free, and that kind of bug is often worth investigating.

The platform that tracks these reports recorded it as CVE-2025-6555, rated medium severity, with a bounty of 4000.00 USD, disclosed on 2025-06-24.

Some background before we start

A few ideas come up again and again below, so here they are from zero.

CSS is the styling language of the web. A web page is built from HTML (the content) and CSS (how that content looks). CSS is written as rules: you pick which elements a rule applies to, then list properties and values, such as color: red.

A custom property is a variable you can define in CSS. Its name starts with two dashes, like --crash. You can then reuse that value elsewhere in your stylesheet. Think of it as a labelled box you put a value into and refer to later.

@property is a CSS rule that registers a custom property with extra information: what type of value it holds, what value it should have if nothing else is set, and whether it passes down to child elements. Registering a property with a type is what allows the browser to animate it smoothly, because the browser now knows what kind of value it is dealing with.

A transition is a smooth change from one value to another over a set amount of time, instead of jumping instantly. If you say transition: color 2s, a colour change takes two seconds and you see all the shades in between.

@starting-style is a CSS rule that supplies the value a property should start from the very first time an element appears on the page. Without it, a newly appearing element usually just shows its final value with no animation. With it, the browser knows where to begin, so it can animate from that starting point to the final value.

Interpolation is the maths of filling in the in-between values. If something goes from 0 to 100 over a second, interpolation is what decides that at half a second it should be 50. blink::TransitionInterpolation is the Chrome function that does this for transitions.

A use-after-free is a classic memory bug. Programs reserve chunks of memory, use them, and then hand them back when they are done. A use-after-free happens when the program hands a chunk back and then still tries to read from or write to it. Compare it to returning a library book and then later trying to read a page from it: the book may still be on the shelf, or it may have been replaced by something else entirely, so whatever you read is unpredictable. Reading freed memory can crash the program, and in the worst case an attacker who can control what lands in that reused memory could influence what the program reads.

A tab crash means the part of the browser responsible for one tab stops working. Chrome splits its work into separate processes, so a crash in one tab usually does not take down the whole browser; you get the sad tab page instead.

ASan (AddressSanitizer) is a debugging tool built into some browser builds. It watches memory use and produces a detailed log when something like a use-after-free happens, pointing at the code involved. It is a diagnostic aid for developers, not something ordinary users run.

DevTools are the developer tools built into Chrome, opened with a keyboard shortcut or the menu. They include a device toolbar that lets you simulate a phone-sized screen inside your desktop browser.

A CVE is a public identifier for a known security flaw, so that people can refer to the same issue unambiguously.

A bounty is a payment a company makes to someone who reports a security problem to it responsibly.

Context

This is a report submitted to the Chrome Vulnerability Reward Program (VRP), the scheme through which Google pays people for finding and reporting security bugs in Chrome. The bug is a heap-use-after-free in blink::TransitionInterpolation. The word "heap" refers to the area of memory where a program keeps data it creates while running; the bug is a use-after-free in that area.

The trigger combines two CSS features: a registered custom property (declared with @property) that is being transitioned, and @starting-style, which gives that property a value to start from when an element first appears. The reporter describes the result as a tab crash and says plainly that they are not sure what exactly triggers the use-after-free or whether it could be used for anything beyond a crash. They also say they are not sure whether it is an exploitable security bug, and that they reported it because it is a use-after-free read.

Setup

The report lists the environment in which the crash was observed:

Item Value
Chrome version 136.0.7091.2 Dev
Operating systems Windows, Android
Crash type tab
Crash state see asan.log

"Dev" means a development build of Chrome, the kind used for testing upcoming changes rather than the stable release most people run. The ASan log mentioned in the table was captured with the --single-process flag, a command-line option that makes Chrome run everything in one process instead of splitting work across several. The reporter says they were not sure how else to obtain ASan logs for the tab. They also note that the tab crash happens without that flag too, so the flag was only a way to capture diagnostics, not a requirement for the bug.

Finding it

The reporter noticed that transitioning a custom property together with @starting-style seemed to cause a heap-use-after-free tab crash in blink::TransitionInterpolation. They reduced the trigger to the smallest stylesheet they could and also put a viewport in the supplied crash.html file, "just in case". A viewport here means the part of the page that defines the visible area, a detail that sometimes matters for layout-related bugs.

Exploitation

The reproduction is a page made only of CSS. The condensed case is:

CSS
@property --crash {
  syntax: '<integer>';
  initial-value: 0;
  inherits: false;
}
* {
  transition: --crash 1000s;
  @starting-style {
    --crash: 1000000;
  }
}

Line by line, in plain words:

  1. @property --crash { opens a registration for a custom property named --crash. This tells the browser that the property is a real, typed thing rather than an arbitrary string.
  2. syntax: '<integer>'; says the property holds a whole number. Giving it a type is what makes the browser able to animate it smoothly between values.
  3. initial-value: 0; sets the value the property has when nothing else sets it.
  4. inherits: false; says child elements do not automatically receive the parent's value for this property.
  5. } closes the registration.
  6. * { starts a rule that applies to every element on the page. The asterisk is the universal selector.
  7. transition: --crash 1000s; tells the browser that whenever --crash changes, the change should be animated over 1000 seconds rather than happening instantly. A thousand seconds is a very long transition, which keeps the animation in progress for a long time.
  8. @starting-style { opens a block that supplies the value to start from when an element first appears.
  9. --crash: 1000000; sets the starting value of the property to one million, so the browser has a value to animate from.
  10. } closes the starting-style block, and the final } closes the universal rule.

The pieces that matter, in the reporter's account:

  1. Registering --crash with syntax: '<integer>', an initial-value of 0 and inherits: false gives the property a type, and a type is what makes it interpolable.
  2. The universal selector applies a transition on --crash with a duration of 1000s to every element.
  3. Inside @starting-style, the same rule sets --crash: 1000000, so the property has a starting value to transition from when an element is first rendered.

It is this combination, a typed custom property that is transitioned plus a starting-style value, that the reporter associates with the crash in blink::TransitionInterpolation.

Step by step on desktop (DevTools)

  1. Open crash.html.
  2. Open DevTools.
  3. Turn on the device toolbar.
  4. Wait a few seconds, then turn the device toolbar off.
  5. Resize the DevTools panel.

The reporter notes that only steps 1 to 3 are necessary for a crash, but steps 4 and 5 make the reproduction reliable, so the extra resizing is there to make the crash happen consistently rather than occasionally.

Step by step on Android

  1. Open crash.html.
  2. Resize Chrome.
  3. Wait for a while.

The Android reproduction is not reliable and takes a while, but it does not require DevTools or unrealistic user actions. The reporter is not sure which types of resize trigger the crash and which do not: closing their folding phone does trigger it, as does resizing a window in the phone's multi-window mode. They are not sure whether simply rotating the screen is enough.

Root cause

The report does not identify the specific code defect. It names the crashing function, blink::TransitionInterpolation, and ties the trigger to transitioning a custom property together with @starting-style, but it does not explain what memory is freed or what later reads it. The reporter states plainly that they are not exactly sure what triggers the heap-use-after-free. Anything deeper would be guesswork beyond what was submitted.

Impact

The report frames the issue as a tab crash caused by a use-after-free read. The reporter is explicit that they do not know whether it is exploitable and that they are unsure how or whether the use-after-free could be used. The realistic impact described is a tab crash, with the desktop path made reliable through DevTools actions and the Android path requiring a resize and some waiting. The platform classified it as medium severity.

Fix

The report does not describe a fix or a patch. It is a vulnerability report with reproduction steps and crash information, not a write-up of the change that resolved it.

Variants to test

The following ideas follow from the structure of the trigger. They are suggestions for further testing, not claims from the report.

  1. Other registered custom property syntaxes. Register properties with syntax values such as <length>, <color> or <number> instead of <integer>, transition them, and give them a @starting-style value. A positive result is a tab crash in the same interpolation code path.
  2. Different transition durations and starting values. Vary the 1000s duration and the 1000000 starting value. A positive result is a crash that no longer depends on the DevTools steps to be reliable.
  3. Scoping the rule. Replace the universal selector with narrower selectors and with elements that are inserted and removed dynamically. A positive result is a crash on element insertion, which would remove the need for a resize.
  4. Other starting-style properties. Apply @starting-style to standard animatable properties alongside the custom property transition. A positive result is a crash that points at the same TransitionInterpolation frame.
  5. Resize and viewport changes. Reproduce the Android path with different kinds of resize (window resize, multi-window, rotation) and record which ones crash. A positive result is a documented, minimal set of resize actions that reliably triggers the crash.

Hunting notes

This kind of bug tends to sit where new CSS features meet the transition and animation machinery: typed custom properties, @starting-style, and interpolation between initial and target values. The signal during testing is a tab crash that appears only when a transition and a starting-style value are combined, especially when the crash frame names an interpolation function. The report provides a minimal stylesheet, a reliable desktop reproduction through DevTools, a second reproduction path on Android that needs no developer tools, and an ASan log captured with --single-process, alongside confirmation that the tab crash also occurs without that flag. The report does not claim exploitability, and the acceptance rests on the reproducible crash rather than on a demonstrated attack.

Glossary

  • ASan (AddressSanitizer): a debugging tool that watches a program's memory use and produces a detailed log when something like a use-after-free happens.
  • Blink: the rendering engine inside Chrome that turns HTML and CSS into the page you see.
  • Bounty: a payment a company makes to someone who reports a security problem to it responsibly.
  • CSS: the language used to describe how a web page looks.
  • Custom property: a variable in CSS whose name starts with two dashes, such as --crash.
  • CVE: a public identifier for a known security flaw.
  • DevTools: the developer tools built into Chrome, including a device toolbar for simulating phone-sized screens.
  • Device toolbar: a DevTools feature that changes the page area to mimic a mobile device.
  • Heap: the area of memory where a running program keeps data it creates while working.
  • Heap-use-after-free: a use-after-free that happens in the heap area of memory.
  • Interpolation: the maths of filling in in-between values during a smooth change.
  • @property: a CSS rule that registers a custom property with a type, an initial value and an inheritance setting.
  • @starting-style: a CSS rule that supplies the value a property starts from when an element first appears.
  • Renderer: the part of a browser that draws a page; a renderer crash shows up as a crashed tab.
  • Tab crash: the part of the browser responsible for one tab stops working, usually showing a sad tab page.
  • Transition: a smooth change from one value to another over a set amount of time.
  • blink::TransitionInterpolation: the Chrome function that computes in-between values during CSS transitions.
  • Universal selector: the * in CSS, which applies a rule to every element.
  • Use-after-free: a memory bug where a program hands memory back and then still tries to read from or write to it.
  • Viewport: the visible area of a web page.
  • VRP (Vulnerability Reward Program): Google's scheme for paying people who report security bugs in Chrome.

More by Lyra Rebane

View all

7 more disclosed reports, best first.

More from Google Chrome

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.