Heap buffer overflow in HTML (CVE-2025-4096)
A heap buffer overflow exists in Chromium's HTML handling, triggered by pressing the Escape key after loading a crafted page. The reporter notes it causes a null pointer locally and a container overflow on ClusterFuzz, but the exact cause is still under analysis.
- Fix shipped in 19 days
Security Bug
Important: Please do not change the component of this bug manually.
Please READ THIS FAQ before filing a bug: https://chromium.googlesource.com/chromium/src/+/HEAD/docs/security/faq.md
Please see the following link for instructions on filing security bugs: https://www.chromium.org/Home/chromium-security/reporting-security-bugs
Reports may be eligible for reward payments under the Chrome VRP: https://g.co/chrome/vrp
NOTE: Security bugs are normally made public once a fix has been widely deployed.
VULNERABILITY DETAILS
NOTE
The issue was discovered by a fuzzer running on ClusterFuzz.
It requires user interaction (pressing the Escape key) to trigger,
which prevented ClusterFuzz from reporting it automatically.
I have provided a minimal Proof of Concept (PoC) that can trigger the problem.
Locally, it results in a null pointer, while on ClusterFuzz, it triggers a container overflow.
The exact cause is still under analysis.
https://clusterfuzz.com/testcase-detail/5308799824887808
Reproduction Steps
- Run:
chrome --no-sandbox --user-data-dir=test --enable-logging=stderr poc.html - Press the Escape key to trigger the bug
Root Cause Analysis (RCA) & Bisect
Coming soon
Context
This is a Chrome VRP security bug report against Google Chrome, filed in the HTML component. The weakness is a heap buffer overflow, rated high severity, and the report was disclosed on 29 April 2025 with a bounty of 5,000 USD. The researcher is listed as anonymous.
The report itself is deliberately thin. It records how the bug was found, gives a minimal proof of concept and reproduction steps, and states plainly that the root cause analysis and bisect were still to come ("Coming soon"). Everything below is limited to what the report contains.
Setup
The bug was discovered by a fuzzer running on ClusterFuzz. The report notes that the issue requires user interaction, specifically pressing the Escape key, and that this requirement prevented ClusterFuzz from reporting it automatically. That is the precondition that matters: a fuzzer can reach the code, but the crash only materialises once a human presses Escape.
The report links the ClusterFuzz test case:
https://clusterfuzz.com/testcase-detail/5308799824887808
No Chrome version, build number, platform or configuration beyond the command line below is given.
Finding it
The researcher did not describe a manual review or a hypothesis-driven hunt. The starting point was a fuzzer finding on ClusterFuzz that the platform could not turn into an automatic report because of the interaction requirement. A minimal PoC that triggers the problem is provided with the report.
Two different local behaviours are reported for the same PoC:
- Locally, it results in a null pointer.
- On ClusterFuzz, it triggers a container overflow.
The report states that the exact cause is still under analysis. The same input does not fail identically across environments: a null pointer locally, a container overflow on ClusterFuzz. The report does not explain why.
Exploitation
Step 1: run Chrome against the PoC
The researcher runs Chrome with the PoC file loaded, using a throwaway profile directory and stderr logging:
chrome --no-sandbox --user-data-dir=test --enable-logging=stderr poc.html
The report gives the command but does not explain the flags. The final argument is the PoC file itself, poc.html.
Step 2: press Escape
With the page loaded, the researcher presses the Escape key. The report says the user interaction requirement prevented ClusterFuzz from reporting the bug automatically.
Step 3: observe the crash
Locally the run ends in a null pointer. On ClusterFuzz the same trigger produces a container overflow. The report does not include a stack trace, a crash address, register state or any log excerpt.
Root cause
The Root Cause Analysis and bisect section is marked "Coming soon", and the researcher states that the exact cause is still under analysis. What can be said from the report is only this: the bug lives in the HTML component, it is classified as a heap buffer overflow, and it is reached through a key press on a page. Why existing defences did not stop it is not discussed.
Impact
The platform lists the issue as high severity with a 5,000 USD bounty under the Chrome VRP. Any statement about what an attacker could achieve with it would go beyond what is written here.
Fix
It notes only the standard platform position that security bugs are normally made public once a fix has been widely deployed. No patch, commit or mitigation is referenced.
Variants to test
These follow from the shape of the report rather than from any confirmed detail in it:
- Interaction-gated fuzzer findings. Take ClusterFuzz test cases that were closed or left unreported because they need a key press, click or other user gesture, and replay them by hand. A positive result is a crash that the fuzzer could not reproduce on its own.
- Escape and other dismissal keys on HTML surfaces. The report ties the trigger to Escape. Trying other keys that dismiss UI, such as Escape on overlays, dialogs and fullscreen transitions, is a reasonable next step. A positive result is a memory error that appears only after the key event.
- Environment-dependent crash signatures. When a PoC gives a null pointer locally but a container overflow under instrumentation, run it under sanitizers and in a clean profile to see whether the signature changes. A positive result is a sanitizer report that names the overflowing buffer.
Hunting notes
The useful lesson here is procedural. A fuzzer found the bug, but the interaction requirement kept it out of the automatic reporting path, and a human had to reproduce it and file it. Test cases that need a gesture are easy to overlook when triaging fuzzer output, and they are worth a second pass.
The second signal is the mismatch between the local null pointer and the ClusterFuzz container overflow. When the same input fails differently in different environments, the report says the exact cause is still under analysis. The report gives no further detail on where in the HTML code this kind of bug tends to hide, and no recon guidance beyond the ClusterFuzz test case link.
What happened, in plain words
A security researcher found a bug in Google Chrome, the web browser most people use to open web pages. The bug lives in the part of Chrome that handles HTML, the language web pages are written in. When Chrome processes a particular web page and the user presses the Escape key, the browser can crash in a way that points to a memory handling mistake. The report calls this mistake a heap buffer overflow, which is a specific kind of memory error explained below.
The bug was not found by a person reading code line by line. It was found by a fuzzer, an automated program that throws huge numbers of random or semi-random inputs at software to see what breaks. That fuzzer runs on ClusterFuzz, Google's system for running fuzzers at scale and collecting the crashes they produce. Normally ClusterFuzz files a bug automatically when it finds a crash. This time it could not, because the crash only happens after a human presses a key. So the report was filed by hand, with a minimal PoC that triggers the problem.
The report is short. It says how the bug was found, gives the steps to reproduce it, and states that the deeper analysis of why it happens was still to come. The platform lists it as high severity with a bounty of 5,000 USD under the Chrome VRP, Chrome's Vulnerability Reward Program. The report was disclosed on 29 April 2025, and the researcher is listed as anonymous.
Context
This is a Chrome VRP security bug report against Google Chrome, filed in the HTML component. A component, in this context, is the part of the browser codebase the bug is assigned to; the report asks people not to change it manually.
The weakness is a heap buffer overflow. To understand that term, picture a row of numbered lockers, each one just big enough for one item. The heap is a region of memory the program uses for data it creates while running, and a buffer is a reserved stretch of that memory meant to hold a fixed amount of data. A heap buffer overflow means the program writes more data than the buffer can hold, so the extra bytes spill into neighbouring memory. That can corrupt other data, crash the program, or, in the worst case, let an attacker influence what the program does next.
The report is rated high severity and was disclosed on 29 April 2025 with a bounty of 5,000 USD. The researcher is listed as anonymous.
The report itself is deliberately thin. It records how the bug was found, gives a minimal proof of concept and reproduction steps, and states plainly that the root cause analysis and bisect were still to come ("Coming soon"). A proof of concept, usually shortened to PoC, is a small, minimal example that demonstrates a bug actually happens, without any extra code that is not needed. A bisect is a technique for finding the exact code change that introduced a bug, by testing versions of the software one by one until the change is isolated. Everything below is limited to what the report contains.
Setup
The bug was discovered by a fuzzer running on ClusterFuzz. The report notes that the issue requires user interaction, specifically pressing the Escape key, and that this requirement prevented ClusterFuzz from reporting it automatically. That is the precondition that matters: a fuzzer can reach the code, but the crash only materialises once a human presses Escape.
User interaction here means any action a person takes, such as a key press, a mouse click or a tap. Automated fuzzers can load pages and feed input, but they generally cannot perform a meaningful key press at the right moment in the right context, so a bug that depends on one falls outside what they can confirm on their own.
The report links the ClusterFuzz test case:
https://clusterfuzz.com/testcase-detail/5308799824887808
This is a URL pointing to the ClusterFuzz entry for the specific test case, identified by the number at the end. The report gives no Chrome version, build number, platform or configuration beyond the command line shown further down.
Finding it
The researcher did not describe a manual review or a hypothesis-driven hunt. The starting point was a fuzzer finding on ClusterFuzz that the platform could not turn into an automatic report because of the interaction requirement. A minimal PoC that triggers the problem is provided with the report.
Two different local behaviours are reported for the same PoC:
- Locally, it results in a null pointer.
- On ClusterFuzz, it triggers a container overflow.
A null pointer is a reference to "nothing" in memory. When a program tries to read or write through a null pointer, it usually crashes immediately, and that crash is often fairly clean and easy to spot. A container overflow is a different signal: it is what a memory-checking tool reports when a program writes past the end of a container, such as an array or a buffer, that the tool is tracking. The two outcomes describe the same underlying mistake showing up in different ways depending on the environment.
The report states that the exact cause is still under analysis. The same input does not fail identically across environments: a null pointer locally, a container overflow on ClusterFuzz. The report does not explain why. Instrumentation means extra checking code added to the program, for example by a sanitizer, a tool that watches memory accesses and reports violations.
Exploitation
Step 1: run Chrome against the PoC
The researcher runs Chrome with the PoC file loaded, using a throwaway profile directory and stderr logging:
chrome --no-sandbox --user-data-dir=test --enable-logging=stderr poc.html
This is a single command typed into a terminal. It starts the Chrome program and passes it several options, called flags, followed by the file to open. Line by line:
chromeis the name of the browser program being started.--no-sandboxdisables the sandbox. The sandbox is a security boundary that runs web content in a restricted environment so that a bug in page handling cannot easily reach the rest of the system. Turning it off makes debugging simpler, at the cost of that protection.--user-data-dir=testtells Chrome to keep its profile data, such as settings and history, in a directory calledtestinstead of the normal user profile. Using a fresh directory keeps the run isolated and repeatable, so nothing from everyday browsing interferes.--enable-logging=stderrsends Chrome's log output to standard error, which is the terminal's error stream. This makes crash messages visible right there in the window instead of hidden in a log file.poc.htmlis the final argument: the proof of concept file itself, a web page saved as a local file. Chrome opens it as the page to display.
Step 2: press Escape
With the page loaded, the researcher presses the Escape key. This is the user interaction the report identifies as the trigger. The report says the interaction requirement prevented ClusterFuzz from reporting the bug automatically.
Step 3: observe the crash
Locally the run ends in a null pointer. On ClusterFuzz the same trigger produces a container overflow. The report does not include a stack trace, a crash address, register state or any log excerpt. A stack trace is the list of function calls the program was in when it crashed, which developers use to locate the fault; none is given here.
Root cause
The Root Cause Analysis and bisect section is marked "Coming soon", and the researcher states that the exact cause is still under analysis. What can be said from the report is only this: the bug lives in the HTML component, it is classified as a heap buffer overflow, and it is reached through a key press on a page. Why existing defences did not stop it is not discussed.
Impact
The platform lists the issue as high severity with a 5,000 USD bounty under the Chrome VRP. A renderer process is the separate process Chrome uses to turn a page's HTML and other content into what you see on screen; keeping it separate is part of how the browser limits damage from bugs. Any statement about what an attacker could achieve with it would go beyond what is written here.
Fix
It notes only the standard platform position that security bugs are normally made public once a fix has been widely deployed. No patch, commit or mitigation is referenced.
Variants to test
These follow from the shape of the report rather than from any confirmed detail in it:
- Interaction-gated fuzzer findings. Take ClusterFuzz test cases that were closed or left unreported because they need a key press, click or other user gesture, and replay them by hand. A positive result is a crash that the fuzzer could not reproduce on its own.
- Escape and other dismissal keys on HTML surfaces. The report ties the trigger to Escape. Trying other keys that dismiss UI, such as Escape on overlays, dialogs and fullscreen transitions, is a reasonable next step. A positive result is a memory error that appears only after the key event.
- Environment-dependent crash signatures. When a PoC gives a null pointer locally but a container overflow under instrumentation, run it under sanitizers and in a clean profile to see whether the signature changes. A positive result is a sanitizer report that names the overflowing buffer.
Hunting notes
The useful lesson here is procedural. A fuzzer found the bug, but the interaction requirement kept it out of the automatic reporting path, and a human had to reproduce it and file it. Test cases that need a gesture are easy to overlook when triaging fuzzer output, and they are worth a second pass.
The second signal is the mismatch between the local null pointer and the ClusterFuzz container overflow. When the same input fails differently in different environments, the report says the exact cause is still under analysis. The report gives no further detail on where in the HTML code this kind of bug tends to hide, and no recon guidance beyond the ClusterFuzz test case link.
Glossary
- Chrome VRP: Chrome's Vulnerability Reward Program, which pays researchers for reporting security bugs in Google Chrome.
- Component: the part of a codebase a bug is assigned to, here HTML.
- HTML: the language used to structure web pages.
- Heap: the region of memory a program uses for data it creates while running.
- Buffer: a reserved stretch of memory meant to hold a fixed amount of data.
- Heap buffer overflow: a memory error where a program writes more data than a buffer on the heap can hold, spilling into neighbouring memory.
- Severity: a rating of how serious a bug is, here high.
- Bounty: the money paid to a researcher for a valid security report, here 5,000 USD.
- Disclosure: the point at which a security bug report is made public.
- Fuzzer: an automated program that feeds large numbers of inputs to software to find crashes.
- ClusterFuzz: Google's system for running fuzzers at scale and collecting the crashes they produce.
- User interaction: an action by a person, such as a key press or click, that a bug depends on.
- Proof of concept (PoC): a minimal example that demonstrates a bug actually happens.
- Root cause analysis (RCA): the work of finding the underlying reason a bug occurs.
- Bisect: a technique for finding the exact code change that introduced a bug by testing versions one by one.
- Null pointer: a reference to nothing in memory; using it usually crashes the program.
- Container overflow: a memory-checking tool's report that a program wrote past the end of a tracked container such as an array or buffer.
- Instrumentation: extra checking code added to a program, for example by a sanitizer.
- Sanitizer: a tool that watches memory accesses at runtime and reports violations.
- Flag: an option passed to a program on the command line, such as
--no-sandbox. - Sandbox: a security boundary that runs web content in a restricted environment.
- Profile directory: the folder where a browser keeps settings, history and similar data.
- Standard error (stderr): the terminal's error output stream, where log messages can be sent.
- Stack trace: the list of function calls a program was in when it crashed.
- Renderer process: the separate process a browser uses to turn page content into what is displayed.
- Patch: a code change that fixes a bug.
- Mitigation: a change that reduces the impact of a bug without necessarily fixing its cause.