Skip to content
DoS Advisory Intermediate CVE-2026-5910

Integer overflow in Media (CVE-2026-5910)

An integer overflow occurs in Chromium's H.265 parser when parsing a crafted slice header, leading to a crash. An attacker could cause a denial of service by providing a malicious H.265 file.

Ameen Basha M K Follow

Originally disclosed on Chrome VRP

  • Fix shipped in 50 days

Steps to reproduce the problem

  1. Build Chrome libfuzzer with below mentioned args
  2. execute the fuzzer with attached malformed H265 file
  3. Integer Overflow Crash Detected

Problem Description

An integer overflow exists in Chromium’s H.265 parser during slice header parsing. A crafted H.265 bitstream can trigger an overflow in arithmetic involving parsed slice parameters, resulting in crash

Vulnerable File Area:

media/parsers/h265_parser.cc
Function: media::H265Parser::ParseSliceHeader
Line: 1284

Build Args:

gn gen out/Media --args='
is_asan=true
is_debug=false
is_ubsan_security=true
is_component_build=false
proprietary_codecs=true
ffmpeg_branding="Chrome"
symbol_level=1
use_remoteexec=false
use_libfuzzer=true
angle_enable_metal=false
'

autoninja -C out/Media media_h265_parser_fuzzer

Execution Args:

./media_h265_parser_fuzzer delta_poc_overflow.h265

A poc file with Crafted slice header values cause overflow during parsing is attached below

Summary

Integer Overflow in H265 Slice Header Parsing

Custom Questions

Crash state:

INFO: Running with entropic power schedule (0xFF, 100).
INFO: Seed: 4195144660
INFO: Loaded 1 modules   (2164628 inline 8-bit counters): 2164628 [0x5ba0205e9ac0, 0x5ba0207fa254), 
INFO: Loaded 1 PC tables (2164628 PCs): 2164628 [0x5ba0207fa258,0x5ba022901b98), 
./media_h265_parser_fuzzer: Running 1 inputs 1 time(s) each.
Running: /home/basha/Downloads/win_repro/delta_poc_overflow.h265
../../media/parsers/h265_parser.cc:1284:51: runtime error: signed integer overflow: 268435456 + 1879048192 cannot be represented in type 'int'
    #0 0x5ba01760b60a in media::H265Parser::ParseSliceHeader(media::H265NALU const&, media::H265SliceHeader*, media::H265SliceHeader*) media/parsers/h265_parser.cc:1284:51
    #1 0x5ba0133ac89d in LLVMFuzzerTestOneInput media/parsers/h265_parser_fuzzertest.cc:61:22
    #2 0x5ba0133f027c in fuzzer::Fuzzer::ExecuteCallback(unsigned char const*, unsigned long) third_party/libFuzzer/src/FuzzerLoop.cpp:619:13
    #3 0x5ba0133c12b1 in fuzzer::RunOneTest(fuzzer::Fuzzer*, char const*, unsigned long) third_party/libFuzzer/src/FuzzerDriver.cpp:328:6
    #4 0x5ba0133c9da0 in fuzzer::FuzzerDriver(int*, char***, int (*)(unsigned char const*, unsigned long)) third_party/libFuzzer/src/FuzzerDriver.cpp:863:9
    #5 0x5ba0133acfdd in main third_party/libFuzzer/src/FuzzerMain.cpp:20:10
    #6 0x7c06d182a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
    #7 0x7c06d182a28a in __libc_start_main csu/../csu/libc-start.c:360:3
    #8 0x5ba0132cfb29 in _start (/home/basha/Desktop/chromefuzz/chromium/src/out/UBSanMedia/media_h265_parser_fuzzer+0x7c11b29) (BuildId: 851ee95e8c3708a1)

SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior ../../media/parsers/h265_parser.cc:1284:51 
Executed /home/basha/Downloads/win_repro/delta_poc_overflow.h265 in 184 ms
***
*** NOTE: fuzzing was not performed, you have only
***       executed the target code on a fixed set of inputs.
***

Reporter credit:

Ameen Basha M K & Mohammed Yasar B

Additional Data

Category: Security
Chrome Channel: Not sure
Regression: N/A \

The original report as published on the Chromium issue tracker, by Ameen Basha M K & Mohammed Yasar B. 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 code performs arithmetic on parsed slice header values without checking for integer overflow.

Impact

A crafted H.265 bitstream could cause a crash (denial of service) in the affected parser.

What the attacker needed

Ability to supply a crafted H.265 file

How it was found

  1. Build Chrome libfuzzer with the specified arguments.
  2. Execute the fuzzer with the attached malformed H265 file.
  3. Observe the integer overflow crash.

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.

An integer overflow happens when a number becomes too large to fit in the computer's memory, causing unexpected behaviour. Here, a specially crafted video file makes the H.265 parser add numbers that exceed the allowed range, which crashes the program. This means a malicious video could crash the browser or media player.

What is DoS?

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.

More by Ameen Basha M K

View all

1 more disclosed report, 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.

Denial of service

The lesson behind this report.

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.