{"id":"UBUNTU-CVE-2020-12284","details":"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.","modified":"2026-04-22T14:01:24.967999Z","published":"2020-04-28T06:15:00Z","related":["USN-4431-1"],"upstream":["CVE-2020-12284"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2020-12284"},{"type":"REPORT","url":"https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=19734"},{"type":"REPORT","url":"https://github.com/FFmpeg/FFmpeg/commit/1812352d767ccf5431aa440123e2e260a4db2726"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-4431-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2020-12284"}],"affected":[{"package":{"name":"ffmpeg","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/ffmpeg@7:4.2.4-1ubuntu0.1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7:4.2.4-1ubuntu0.1"}]}],"versions":["7:4.1.4-1build2","7:4.2.1-2","7:4.2.1-2ubuntu1","7:4.2.2-1build1","7:4.2.2-1ubuntu1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"ffmpeg","binary_version":"7:4.2.4-1ubuntu0.1"},{"binary_name":"libavcodec-extra","binary_version":"7:4.2.4-1ubuntu0.1"},{"binary_name":"libavcodec-extra58","binary_version":"7:4.2.4-1ubuntu0.1"},{"binary_version":"7:4.2.4-1ubuntu0.1","binary_name":"libavcodec58"},{"binary_name":"libavdevice58","binary_version":"7:4.2.4-1ubuntu0.1"},{"binary_name":"libavfilter-extra","binary_version":"7:4.2.4-1ubuntu0.1"},{"binary_name":"libavfilter-extra7","binary_version":"7:4.2.4-1ubuntu0.1"},{"binary_name":"libavfilter7","binary_version":"7:4.2.4-1ubuntu0.1"},{"binary_name":"libavformat58","binary_version":"7:4.2.4-1ubuntu0.1"},{"binary_name":"libavresample4","binary_version":"7:4.2.4-1ubuntu0.1"},{"binary_name":"libavutil56","binary_version":"7:4.2.4-1ubuntu0.1"},{"binary_version":"7:4.2.4-1ubuntu0.1","binary_name":"libpostproc55"},{"binary_name":"libswresample3","binary_version":"7:4.2.4-1ubuntu0.1"},{"binary_name":"libswscale5","binary_version":"7:4.2.4-1ubuntu0.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-12284.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}