Intel

AIKIDO-2025-10377

rav1e is vulnerable to Integer Overflow

Integer Overflow Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Jun 16, 2025

19

Low Risk

This Affects:

RUSTrav1e
0.8.0 - 0.8.0
Fixed in 0.8.1
Are you affected? Scan for Free

TL;DR

Affected versions of this package are vulnerable to a bit overflow when writing headers. In these functions, the call to bw.write(5, 31) e.g. attempts to write the signed integer 31 using only 5 bits, which is insufficient due to the sign bit requirement. This can result in incorrect header encoding and potentially unpredictable behavior.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

rav1e is vulnerable to Integer Overflow in versions 0.8.0 - 0.8.0.

How to fix this

Upgrade the rav1e library to the patch version.