cbs_jpeg_split_fragment in libavcodec/cbs_jpeg.c in FFmpeg 4.1 and 4.2.2 has a heap-based buffer overflow during JPEG_MARKER_SOS handling because of a missing length check.
{
"sources": [
{
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2020-12284",
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2020-12284",
"imported": "2026-07-17T20:33:39.249Z",
"database_specific": {
"status": "Modified"
},
"id": "CVE-2020-12284",
"published": "2020-04-28T06:15:10.777Z",
"modified": "2026-06-17T02:51:34.077Z"
}
],
"license": "CC-BY-4.0"
}