Null Pointer Dereference in rust-ffmpeg Product by Rust Language
CVE-2025-57612
7.5HIGH
What is CVE-2025-57612?
A vulnerability has been identified in rust-ffmpeg version 0.3.0, specifically within the name() method. This issue arises from the method's failure to properly validate the return value of the av_get_sample_fmt_name() C function. An attacker can exploit this oversight by inputting an unrecognized sample format, which leads to a denial of service. The consequence is that the application may crash due to the unhandled NULL pointer, compromising the stability of services relying on this library.
