High
Security advisory
An issue was discovered in rust-ffmpeg 0.3.0 (after comit 5ac0527) Null pointer dereference vulnerability in the name() method allows an attacker to cause a denial of service. The vulnerability exists because the method fails to check for a NULL return value from the av_get_sample_fmt_name() C function, which can be triggered by providing an unrecognized sample format.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2025-57612
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 6 Nov 2026, 03:44 UTC · Revision 1
Source evidence
An issue was discovered in rust-ffmpeg 0.3.0 (after comit 5ac0527) Null pointer dereference vulnerability in the name() method allows an attacker to cause a denial of service. The vulnerability exists because the method fails to check for a NULL return value from the av_get_sample_fmt_name() C function, which can be triggered by providing an unrecognized sample format.
osv:CVE-2025-57612
Complete source record
{
"id": "ca0af4ca869992197d6bcb7a44786a770a98492b5739fd34411b71a8305adb99",
"url": "https://osv.dev/vulnerability/CVE-2025-57612",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2025-57612",
"summary": "An issue was discovered in rust-ffmpeg 0.3.0 (after comit 5ac0527) Null pointer dereference vulnerability in the name() method allows an attacker to cause a denial of service. The vulnerability exists because the method fails to check for a NULL return value from the av_get_sample_fmt_name() C function, which can be triggered by providing an unrecognized sample format.",
"evidence": "osv:CVE-2025-57612",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2025-57612",
"aliases": [
"CVE-2025-57612"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/meh/rust-ffmpeg",
"type": "GIT",
"events": [
{
"introduced": "69befd291b5991b7542b8b2784c52c60bf248578"
},
{
"last_affected": "69befd291b5991b7542b8b2784c52c60bf248578"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:meh.schizofreni:rust-ffmpeg:0.3.0:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0.3.0"
},
{
"last_affected": "0.3.0"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"0.3.0",
"v0.3.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-57612.json"
}
}
],
"modified": "2026-10-28T02:30:46.552747568Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/57xxx/CVE-2025-57612.json",
"https://nvd.nist.gov/vuln/detail/CVE-2025-57612",
"https://github.com/meh/rust-ffmpeg/issues/192"
],
"provider_metadata": {
"cna_assigner": "mitre",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/57xxx/CVE-2025-57612.json"
}
},
"related_cves": [
{
"value": "CVE-2025-57612",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 514522,
"published_at": "2025-09-02T00:00:00+00:00"
}