CVE-2025-57615
JSON

7.5high

An issue was discovered in rust-ffmpeg 0.3.0 (after comit 5ac0527) An integer overflow vulnerability in the Vector::new constructor functio…

Severity
7.5high CVSS:3.1 by CISA-ADP
Exploit likelihood
0.40% (higher than 35% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre

Description

An issue was discovered in rust-ffmpeg 0.3.0 (after comit 5ac0527) An integer overflow vulnerability in the Vector::new constructor function allows an attacker to cause a denial of service via a null pointer dereference. The vulnerability stems from an unchecked cast of a usize parameter to c_int, which can result in a negative value being passed to the underlying C function sws_allocVec().

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
meh.schizofreni rust-ffmpeg0.3.0NVD

Classification

CWE-476

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

What each source says

CVE List

An issue was discovered in rust-ffmpeg 0.3.0 (after comit 5ac0527) An integer overflow vulnerability in the Vector::new constructor function allows an attacker to cause a denial of service via a null pointer dereference. The vulnerability stems from an unchecked cast of a usize parameter to c_int, which can result in a negative value being passed to the underlying C function sws_allocVec().

NVD (es)

Se descubrió un problema en rust-ffmpeg 0.3.0 (después del commit 5ac0527). Una vulnerabilidad de desbordamiento de entero en la función constructora Vector::new permite a un atacante causar una denegación de servicio a través de una desreferenciación de puntero nulo. La vulnerabilidad se origina en una conversión de tipo sin verificar de un parámetro usize a c_int, lo que puede resultar en que se pase un valor negativo a la función C subyacente sws_allocVec().

References

https://github.com/meh/rust-ffmpeg/issues/192exploit, issue-tracking, vendor-advisory

Sources

SourceRecordLicence
CVE ListCVE-2025-57615 changed 2025-09-03CVE Terms of Use
NVDCVE-2025-57615 changed 2026-11-07Public domain