Critical
Security advisory
FFmpeg before 2017-01-24 has an out-of-bounds write caused by a heap-based buffer overflow related to the ipvideo_decode_block_opcode_0xA function in libavcodec/interplayvideo.c and the avcodec_align_dimensions2 function in libavcodec/utils.c.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2017-7865
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 09:04 UTC · Revision 1
Source evidence
FFmpeg before 2017-01-24 has an out-of-bounds write caused by a heap-based buffer overflow related to the ipvideo_decode_block_opcode_0xA function in libavcodec/interplayvideo.c and the avcodec_align_dimensions2 function in libavcodec/utils.c.
osv:CVE-2017-7865
Complete source record
{
"id": "7edae7e0c736ccbd698deeba986b49af10a900c9b4e7880cc047826dc186f125",
"url": "https://osv.dev/vulnerability/CVE-2017-7865",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2017-7865",
"summary": "FFmpeg before 2017-01-24 has an out-of-bounds write caused by a heap-based buffer overflow related to the ipvideo_decode_block_opcode_0xA function in libavcodec/interplayvideo.c and the avcodec_align_dimensions2 function in libavcodec/utils.c.",
"evidence": "osv:CVE-2017-7865",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2017-7865",
"aliases": [
"CVE-2017-7865"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://git.ffmpeg.org/ffmpeg.git",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "fb93771072cfcbdd523d9f4bcd7682ee8b7f5578"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "2.8.9"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"n2.8.9",
"n2.8.8",
"n2.8.7",
"n2.8.6",
"n2.8.5",
"n2.8.4",
"n2.8.3",
"n2.8.2",
"n2.8.1",
"n2.8",
"n2.8-dev",
"n2.7-dev",
"n2.6-dev",
"n2.5-dev",
"n2.4-dev",
"n2.3-dev",
"n2.2-dev",
"n2.0",
"n2.1-dev",
"n1.3-dev",
"n1.2-dev",
"n1.1-dev",
"n0.12-dev",
"n0.11-dev",
"n0.8",
"N"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-7865.json"
}
},
{
"ranges": [
{
"repo": "https://github.com/ffmpeg/ffmpeg",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "fb93771072cfcbdd523d9f4bcd7682ee8b7f5578"
},
{
"fixed": "2080bc33717955a0e4268e738acf8c1eeddbf8cb"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "2.8.9"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "2080bc33717955a0e4268e738acf8c1eeddbf8cb"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"n2.8.9",
"n3.3-dev",
"n2.8.8",
"n2.8.7",
"n3.2-dev",
"n3.1-dev",
"n2.8.6",
"n2.8.5",
"n2.8.4",
"n2.8.3",
"n2.8.2",
"n2.8.1",
"n2.8",
"n2.9-dev",
"n2.8-dev",
"n2.7-dev",
"n2.6-dev",
"n2.5-dev",
"n2.4-dev",
"n2.3-dev",
"n2.2-dev",
"n2.0",
"n2.1-dev",
"n1.3-dev",
"n1.2-dev",
"n1.1-dev",
"n0.12-dev",
"n0.11-dev",
"n0.8",
"N"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-7865.json",
"vanir_signatures": [
{
"id": "CVE-2017-7865-c4e4177a",
"digest": {
"threshold": 0.9,
"line_hashes": [
"238136149003659562909550650572816915967",
"91139429161327622737678191892083395551",
"182286896989202306312070841058990982703",
"334861760217788730448989081325727353725",
"221058239712128894620428724415975829159",
"289637531222816986114246482333230556530",
"301501424741688201775197560465811497054",
"35702785034631936522002868855711845868"
]
},
"source": "https://github.com/ffmpeg/ffmpeg/commit/2080bc33717955a0e4268e738acf8c1eeddbf8cb",
"target": {
"file": "libavcodec/utils.c"
},
"deprecated": false,
"signature_type": "Line",
"signature_version": "v1"
},
{
"id": "CVE-2017-7865-c6276443",
"digest": {
"length": 3991,
"function_hash": "47861061437073766454913776647319345382"
},
"source": "https://github.com/ffmpeg/ffmpeg/commit/2080bc33717955a0e4268e738acf8c1eeddbf8cb",
"target": {
"file": "libavcodec/utils.c",
"function": "avcodec_align_dimensions2"
},
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1"
}
],
"vanir_signatures_modified": "2026-10-24T14:05:37Z"
}
}
],
"modified": "2026-10-24T14:05:37.212460983Z",
"provider": "osv",
"references": [
"https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=452",
"https://lists.debian.org/debian-lts-announce/2019/02/msg00005.html",
"https://github.com/FFmpeg/FFmpeg/commit/2080bc33717955a0e4268e738acf8c1eeddbf8cb"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*"
],
"vendor_product": "debian:debian_linux",
"extracted_events": [
{
"range": [
{
"introduced": "8.0"
},
{
"last_affected": "8.0"
}
],
"source": "CPE_STRING"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2017-7865",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 442984,
"published_at": "2017-04-14T04:59:00.587+00:00"
}