CVE-2025-57614 Details
Description
An issue was discovered in rust-ffmpeg 0.3.0 (after comit 5ac0527) Integer overflow and invalid input vulnerability in the cached method allows an attacker to cause a denial of service or potentially execute arbitrary code. The vulnerability occurs when dimension parameters are zero or exceed i32::MAX, leading to an unchecked cast that violates the underlying C function's preconditions and triggers undefined behavior.
A vulnerability in rust-ffmpeg version 0.3.0 (after commit 5ac0527) allows for integer overflow and invalid input, leading to a denial-of-service condition or potentially arbitrary code execution. This issue arises in the cached method of the scaling context wrapper, where dimension parameters can be zero or exceed the maximum value for i32. The vulnerability allows an attacker to bypass input validation, causing undefined behavior by violating the preconditions of the underlying C functions.
The vulnerability can be addressed by adding input validation to ensure that all dimension parameters are strictly positive and do not exceed i32::MAX before they are cast to c_int. This can be done by checking the values and panicking with a descriptive error message if the preconditions are not met.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Sep 3, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/meh/rust-ffmpeg/issues/192 | [email protected] | ExploitIssue TrackingVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-400 | Uncontrolled Resource Consumption | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| meh.schizofreni rust-ffmpeg | 0.3.0 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 7, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Sep 10, 2025 | Initial Analysis | [email protected] |
| Sep 3, 2025 | CVE Modified | CISA-ADP |
| Sep 2, 2025 | New CVE Received | [email protected] |