PT-2025-62914 · Crates.Io · Stainless Ffmpeg
Published
2025-04-24
·
Updated
2025-04-24
None
No severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.
Affected versions of
stainless ffmpeg exposed several safe public methods on FormatContext that accepted a stream index parameter and used it in unsafe pointer operations without checking whether the index was valid. These methods performed pointer arithmetic and dereferenced the resulting stream pointer. Safe callers could pass a negative or out-of-bounds stream index, which could cause out-of-bounds pointer access and undefined behavior from safe Rust code.The issue was fixed in version
0.6.0 by marking the affected stream accessor methods as unsafe and documenting that callers must ensure stream index is a valid stream index. Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Stainless Ffmpeg