Medium
Security advisory
An inconsistent bits-per-sample value in the ff_mpeg4_decode_picture_header function in libavcodec/mpeg4videodec.c in FFmpeg 4.0 may trigger an assertion violation while converting a crafted AVI file to MPEG4, leading to a denial of service.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2018-12459
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 09:09 UTC · Revision 1
Source evidence
An inconsistent bits-per-sample value in the ff_mpeg4_decode_picture_header function in libavcodec/mpeg4videodec.c in FFmpeg 4.0 may trigger an assertion violation while converting a crafted AVI file to MPEG4, leading to a denial of service.
osv:CVE-2018-12459
Complete source record
{
"id": "9278a075d96916cc844f863267d8c4e239009a64035812379671520b10625b1b",
"url": "https://osv.dev/vulnerability/CVE-2018-12459",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2018-12459",
"summary": "An inconsistent bits-per-sample value in the ff_mpeg4_decode_picture_header function in libavcodec/mpeg4videodec.c in FFmpeg 4.0 may trigger an assertion violation while converting a crafted AVI file to MPEG4, leading to a denial of service.",
"evidence": "osv:CVE-2018-12459",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2018-12459",
"aliases": [
"CVE-2018-12459"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://git.ffmpeg.org/ffmpeg.git",
"type": "GIT",
"events": [
{
"introduced": "ace829cb45cff530b8a0aed6adf18f329d7a98f6"
},
{
"last_affected": "ace829cb45cff530b8a0aed6adf18f329d7a98f6"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:ffmpeg:ffmpeg:4.0:*:*:*:*:*:*:*",
"range": [
{
"introduced": "4.0"
},
{
"last_affected": "4.0"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"4.0",
"n4.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-12459.json"
}
},
{
"ranges": [
{
"repo": "https://github.com/ffmpeg/ffmpeg",
"type": "GIT",
"events": [
{
"introduced": "ace829cb45cff530b8a0aed6adf18f329d7a98f6"
},
{
"last_affected": "ace829cb45cff530b8a0aed6adf18f329d7a98f6"
},
{
"fixed": "2fc108f60f98cd00813418a8754a46476b404a3c"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:ffmpeg:ffmpeg:4.0:*:*:*:*:*:*:*",
"range": [
{
"introduced": "4.0"
},
{
"last_affected": "4.0"
}
],
"source": "CPE_STRING"
},
{
"range": [
{
"fixed": "2fc108f60f98cd00813418a8754a46476b404a3c"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"4.0",
"n4.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-12459.json",
"vanir_signatures": [
{
"id": "CVE-2018-12459-57d6d724",
"digest": {
"length": 4722,
"function_hash": "293953060746545110115995344497464201232"
},
"source": "https://github.com/ffmpeg/ffmpeg/commit/2fc108f60f98cd00813418a8754a46476b404a3c",
"target": {
"file": "libavcodec/mpeg4videodec.c",
"function": "ff_mpeg4_decode_picture_header"
},
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1"
},
{
"id": "CVE-2018-12459-bd8e4d38",
"digest": {
"threshold": 0.9,
"line_hashes": [
"276984771347048471388697408929656823427",
"40868172712932210822047402219494391158",
"108981795129314371954512303332135972338"
]
},
"source": "https://github.com/ffmpeg/ffmpeg/commit/2fc108f60f98cd00813418a8754a46476b404a3c",
"target": {
"file": "libavcodec/mpeg4videodec.c"
},
"deprecated": false,
"signature_type": "Line",
"signature_version": "v1"
}
],
"vanir_signatures_modified": "2026-10-24T14:11:00Z"
}
}
],
"modified": "2026-10-24T14:11:00.373740403Z",
"provider": "osv",
"references": [
"https://github.com/FFmpeg/FFmpeg/commit/2fc108f60f98cd00813418a8754a46476b404a3c"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2018-12459",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 443205,
"published_at": "2018-06-15T15:29:00.28+00:00"
}