Skip to content
Memory corruption Advisory Advanced CVE-2026-12450

Inappropriate implementation in Media (CVE-2026-12450)

The reporter found that a security patch for an earlier Media bug used an inverted size comparison, checking that the input data size is greater than or equal to the span size instead of less than or equal to it. Because the check is wrong, a runtime assertion meant to guard the buffer could fail or pass incorrectly, so the original flaw may not be properly fixed.

Zhixin Tu Follow

Originally disclosed on Chrome VRP

  • Fix shipped in 29 days

Steps to reproduce the problem

While backporting the patch for CVE-2026-7905 into our product, I found an issue in the patch at https://chromium-review.googlesource.com/c/chromium/src/+/7695435:

-    DCHECK_GT(input.data_size(), 0u);
-    DCHECK_GE(input.data_size(), input.data_->span().size());
+    // Safe to CHECK here since this is into Mojo not From mojo (and thus not
+    // untrusted input).
+    CHECK_GT(input.data_size(), 0u);
+    CHECK_GE(input.data_size(), input.data_->span().size());

Problem Description

For CHECK_GE(input.data_size(), input.data_->span().size());

This line asserts at runtime that the size of input's data (input.data_size()) is greater than or equal to the size of the memory span pointed to by input.data_. That should be a typo. The correct patch should be:

CHECK_LE(input.data_size(), input.data_->span().size());

Additional Comments

Zhixin Tu

Summary

Incorrect fix for CVE-2026-7905

Additional Data

Category: Security
Chrome Channel: Stable
Regression: N/A \

The original report as published on the Chromium issue tracker, by Zhixin Tu. 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 comparison operator in the new runtime check was inverted, so it validates the opposite size relationship from the one intended.

Impact

The incorrect check may fail to catch the out-of-bounds condition the original patch was meant to prevent, so the underlying Media vulnerability could remain exploitable.

What the attacker needed

Access to the Chromium source patch

The fix

The comparison should be changed to check that the data size is less than or equal to the span size, as the reporter suggests.

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 patch is a code change meant to close a security hole. Here the change compares two sizes the wrong way round, so the safety check does not do what it was meant to do. The reporter is saying the fix itself is broken, which could leave the original problem open.

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 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.