{"id":"CVE-2019-13390","aliases":["ALPINE-CVE-2019-13390","DEBIAN-CVE-2019-13390","DLA-2291-1","DSA-4722-1","EUVD-2019-4884","GHSA-5gmr-mpx2-2vqh","SUSE-SU-2023:0206-1","SUSE-SU-2023:2115-1","UBUNTU-CVE-2019-13390","USN-4431-1"],"status":"published","title":"In FFmpeg 4.1.3, there is a division by zero at adx_write_trailer in libavformat/rawenc.c. This...","description":"In FFmpeg 4.1.3, there is a division by zero at adx_write_trailer in libavformat/rawenc.c.","severity":{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-11","score":0.01713,"percentile":0.77696,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-369"],"published":"2019-07-07T21:16:28Z","modified":"2026-11-03T06:32:29Z","fixes":[{"ecosystem":"Alpine:v3.9","package":"ffmpeg","fixed_in":["4.0.6-r0"],"sources":["osv"]},{"ecosystem":"Debian:12","package":"ffmpeg","fixed_in":["7:4.2.1-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"ffmpeg","fixed_in":["7:4.2.1-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"ffmpeg","fixed_in":["7:4.2.1-1"],"sources":["osv"]},{"ecosystem":"Ubuntu:16.04:LTS","package":"ffmpeg","fixed_in":["7:2.8.17-0ubuntu0.1"],"sources":["osv"]},{"ecosystem":"Ubuntu:18.04:LTS","package":"ffmpeg","fixed_in":["7:3.4.8-0ubuntu0.2"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Alpine:v3.9","package":"ffmpeg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.6-r0"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"ffmpeg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7:4.2.1-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"ffmpeg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7:4.2.1-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"ffmpeg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7:4.2.1-1"}]}]},{"source":"osv","ecosystem":"Debian:9","package":"ffmpeg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7:3.2.15-0+deb9u1"}]}],"versions":["7:3.2.10-1~deb9u1","7:3.2.10-1~deb9u1~bpo8+1","7:3.2.11-1~deb9u1","7:3.2.12-1~deb9u1","7:3.2.14-1~deb9u1","7:3.2.5-1","7:3.2.6-1","7:3.2.7-1~deb9u1","7:3.2.8-1~deb9u1","7:3.2.9-1~deb9u1"],"bundled":3},{"source":"osv","ecosystem":"Debian:10","package":"ffmpeg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7:4.1.6-1~deb10u1"}]}],"versions":["7:4.1.3-1","7:4.1.4-1","7:4.1.4-1~deb10u1"],"bundled":7},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Module for Desktop Applications 15 SP4","package":"ffmpeg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4.2-150200.11.25.1"}]}],"bundled":2},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Module for Package Hub 15 SP4","package":"ffmpeg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4.2-150200.11.25.1"}]}],"bundled":2},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Real Time 15 SP3","package":"ffmpeg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4.2-150200.11.25.1"}]}],"bundled":2},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Workstation Extension 15 SP4","package":"ffmpeg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4.2-150200.11.25.1"}]}],"bundled":2},{"source":"osv","ecosystem":"openSUSE:Leap 15.4","package":"ffmpeg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4.2-150200.11.25.1"}]}],"bundled":2},{"source":"osv","ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS","package":"ffmpeg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4.2-150000.4.53.2"}]}],"bundled":3},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 15 SP1-LTSS","package":"ffmpeg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4.2-150000.4.53.2"}]}],"bundled":3},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP1","package":"ffmpeg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4.2-150000.4.53.2"}]}],"bundled":3},{"source":"osv","ecosystem":"SUSE:Enterprise Storage 6","package":"ffmpeg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4.2-150000.4.53.2"}]}],"bundled":3},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"ffmpeg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7:2.8.17-0ubuntu0.1"}]}],"versions":["7:2.7.2-1build1","7:2.8.1-1ubuntu1","7:2.8.2-1ubuntu1","7:2.8.3-1","7:2.8.4-1","7:2.8.4-1ubuntu1","7:2.8.4-1ubuntu2","7:2.8.4-1ubuntu3","7:2.8.4-1ubuntu4","7:2.8.6-1ubuntu1","7:2.8.6-1ubuntu2","7:2.8.8-0ubuntu0.16.04.1","7:2.8.10-0ubuntu0.16.04.1","7:2.8.11-0ubuntu0.16.04.1","7:2.8.14-0ubuntu0.16.04.1","7:2.8.15-0ubuntu0.16.04.1"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"ffmpeg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7:3.4.8-0ubuntu0.2"}]}],"versions":["7:3.3.4-2","7:3.3.4-2build3","7:3.4-2ubuntu2","7:3.4-4","7:3.4-4build1","7:3.4.1-1","7:3.4.1-1build1","7:3.4.2-1","7:3.4.2-1build1","7:3.4.2-2","7:3.4.4-0ubuntu0.18.04.1","7:3.4.6-0ubuntu0.18.04.1"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"ffmpeg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7:2.8.17-0ubuntu0.1"}]}],"versions":["7:2.7.2-1build1","7:2.8.1-1ubuntu1","7:2.8.2-1ubuntu1","7:2.8.3-1","7:2.8.4-1","7:2.8.4-1ubuntu1","7:2.8.4-1ubuntu2","7:2.8.4-1ubuntu3","7:2.8.4-1ubuntu4","7:2.8.6-1ubuntu1","7:2.8.6-1ubuntu2","7:2.8.8-0ubuntu0.16.04.1","7:2.8.10-0ubuntu0.16.04.1","7:2.8.11-0ubuntu0.16.04.1","7:2.8.14-0ubuntu0.16.04.1","7:2.8.15-0ubuntu0.16.04.1"],"bundled":9},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"ffmpeg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7:3.4.8-0ubuntu0.2"}]}],"versions":["7:3.3.4-2","7:3.3.4-2build3","7:3.4-2ubuntu2","7:3.4-4","7:3.4-4build1","7:3.4.1-1","7:3.4.1-1build1","7:3.4.2-1","7:3.4.2-1build1","7:3.4.2-2","7:3.4.4-0ubuntu0.18.04.1","7:3.4.6-0ubuntu0.18.04.1"],"bundled":9},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"ffmpeg","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"],"bundled":9}],"products":[{"vendor":"ffmpeg","product":"ffmpeg"}],"references":[{"url":"https://trac.ffmpeg.org/ticket/7979","tags":["x_refsource_MISC","x_transferred","Exploit","Vendor Advisory","evidence","report"]},{"url":"http://www.securityfocus.com/bid/109090","tags":["vdb-entry","x_refsource_BID","x_transferred","web"]},{"url":"https://security.gentoo.org/glsa/202003-65","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","advisory"]},{"url":"https://www.debian.org/security/2020/dsa-4722","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2020/07/msg00022.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"https://usn.ubuntu.com/4431-1/","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-13390"},{"url":"https://trac.ffmpeg.org/ticket/7981","tags":["report"]},{"url":"https://trac.ffmpeg.org/ticket/7982","tags":["report"]},{"url":"https://trac.ffmpeg.org/ticket/7983","tags":["report"]},{"url":"https://trac.ffmpeg.org/ticket/7985","tags":["report"]},{"url":"https://github.com/advisories/GHSA-5gmr-mpx2-2vqh"},{"url":"https://security.alpinelinux.org/vuln/CVE-2019-13390","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2019-13390","tags":["advisory"]},{"url":"https://www.suse.com/support/update/announcement/2023/suse-su-20230206-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1140754","tags":["report"]},{"url":"https://bugzilla.suse.com/1206778","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2019-13390","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2022-3341","tags":["web"]},{"url":"https://www.suse.com/support/update/announcement/2023/suse-su-20232115-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1209934","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2022-48434","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2019-13390","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-4431-1","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2019-13390","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2018-15822","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2019-11338","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2019-12730","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2019-13312","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2019-17539","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2019-17542","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2020-12284","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2020-13904","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2019-13390","description":"In FFmpeg 4.1.3, there is a division by zero at adx_write_trailer in libavformat/rawenc.c.","status":"published","published":"2019-07-07T21:16:28Z","modified":"2024-08-04T23:49:24.988Z","updated_at":"2026-11-02T14:20:24.357095Z"}],"euvd":[{"id":"EUVD-2019-4884","description":"In FFmpeg 4.1.3, there is a division by zero at adx_write_trailer in libavformat/rawenc.c.","status":"published","published":"2019-07-07T21:16:28Z","modified":"2024-08-04T23:49:24Z","updated_at":"2026-11-03T02:40:42.893368Z"}],"ghsa":[{"id":"GHSA-5gmr-mpx2-2vqh","title":"In FFmpeg 4.1.3, there is a division by zero at adx_write_trailer in libavformat/rawenc.c. This...","description":"In FFmpeg 4.1.3, there is a division by zero at adx_write_trailer in libavformat/rawenc.c. This may be related to two NULL pointers passed as arguments at libavcodec/frame_thread_encoder.c.","status":"published","published":"2022-05-24T16:49:44Z","modified":"2023-01-28T05:06:11Z","updated_at":"2026-11-02T14:44:24.844334Z"}],"nvd":[{"id":"CVE-2019-13390","description":"In FFmpeg 4.1.3, there is a division by zero at adx_write_trailer in libavformat/rawenc.c.","status":"published","published":"2019-07-07T22:15:10.423Z","modified":"2026-06-17T02:16:41.39Z","cvss":[{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-369"],"updated_at":"2026-11-02T14:05:19.195714Z"}],"osv":[{"id":"ALPINE-CVE-2019-13390","description":"In FFmpeg 4.1.3, there is a division by zero at adx_write_trailer in libavformat/rawenc.c.","status":"published","published":"2019-07-07T22:15:10.423Z","modified":"2026-11-03T06:32:29.12420927Z","cvss":[{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-03T07:17:41.158523Z"},{"id":"CVE-2019-13390","description":"In FFmpeg 4.1.3, there is a division by zero at adx_write_trailer in libavformat/rawenc.c.","status":"published","published":"2019-07-07T22:15:10.423Z","modified":"2026-11-07T10:47:02.552407868Z","cvss":[{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-07T11:15:38.581573Z"},{"id":"DEBIAN-CVE-2019-13390","description":"In FFmpeg 4.1.3, there is a division by zero at adx_write_trailer in libavformat/rawenc.c.","status":"published","published":"2019-07-07T22:15:10.423Z","modified":"2026-09-21T07:01:47.86008728Z","cvss":[{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:45:31.467893Z"},{"id":"UBUNTU-CVE-2019-13390","description":"In FFmpeg 4.1.3, there is a division by zero at adx_write_trailer in libavformat/rawenc.c.","status":"published","published":"2019-07-07T22:15:00Z","modified":"2026-04-22T12:10:01.080159Z","cvss":[{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:54:19.6877Z"},{"id":"DLA-2291-1","title":"ffmpeg - security update","status":"published","published":"2020-07-27T00:00:00Z","modified":"2026-03-09T01:23:34.650987Z","updated_at":"2026-11-02T15:46:10.227108Z"},{"id":"DSA-4722-1","title":"ffmpeg - security update","status":"published","published":"2020-07-08T00:00:00Z","modified":"2026-03-09T02:11:02.832797Z","updated_at":"2026-11-02T15:46:17.19998Z"},{"id":"SUSE-SU-2023:0206-1","title":"Security update for ffmpeg","description":"This update for ffmpeg fixes the following issues:\n\n- CVE-2022-3341: Fixed a potential crash when processing a crafted\n  NUT stream (bsc#1206778). \n- CVE-2019-13390: Fixed a potential crash when processing a crafted\n  AVI stream (bsc#1140754).\n","status":"published","published":"2023-01-30T10:18:12Z","modified":"2026-02-04T02:42:11.3089Z","updated_at":"2026-11-02T15:53:51.853735Z"},{"id":"SUSE-SU-2023:2115-1","title":"Security update for ffmpeg","description":"This update for ffmpeg fixes the following issues:\n\n- CVE-2019-13390: Fixed a potential crash when processing a crafted AVI stream (bsc#1140754).\n- CVE-2022-3341: Fixed a potential crash when processing a crafted NUT stream (bsc#1206778).\n- CVE-2022-48434: Fixed use after free in libavcodec/pthread_frame.c (bsc#1209934). \n","status":"published","published":"2023-05-05T12:49:24Z","modified":"2026-02-04T04:10:54.77788Z","updated_at":"2026-11-02T15:53:52.350754Z"},{"id":"USN-4431-1","title":"ffmpeg vulnerabilities","description":"It was discovered that FFmpeg incorrectly verified empty audio packets or\nHEVC data. An attacker could possibly use this issue to cause a denial of\nservice via a crafted file. This issue only affected Ubuntu 16.04 LTS, as\nit was already fixed in Ubuntu 18.04 LTS. For more information see:\nhttps://usn.ubuntu.com/usn/usn-3967-1\n(CVE-2018-15822, CVE-2019-11338)\n\nIt was discovered that FFmpeg incorrectly handled sscanf failures. An\nattacker could possibly use this issue to cause a denial of service or\nother unspecified impact. This issue only affected Ubuntu 16.04 LTS and\nUbuntu 18.04 LTS. (CVE-2019-12730)\n\nIt was discovered that FFmpeg incorrectly handled certain WEBM files. An\nattacker could possibly use this issue to obtain sensitive data or other\nunspecified impact. This issue only affected Ubuntu 20.04 LTS.\n(CVE-2019-13312)\n\nIt was discovered that FFmpeg incorrectly handled certain AVI files. An\nattacker could possibly use this issue to cause a denial of service or\nother unspecified impact. This issue only affected Ubuntu 16.04 LTS and\nUbuntu 18.04 LTS. (CVE-2019-13390)\n\nIt was discovered that FFmpeg incorrectly handled certain input. An\nattacker could possibly use this issue to cause a denial of service or\nother unspecified impact. This issue only affected Ubuntu 18.04 LTS.\n(CVE-2019-17539)\n\nIt was discovered that FFmpeg incorrectly handled certain input during\ndecoding of VQA files. An attacker could possibly use this issue to\nobtain sensitive information or other unspecified impact. This issue\nonly affected Ubuntu 16.04 LTS and Ubuntu 18.04 LTS. (CVE-2019-17542)\n\nIt was discovered that FFmpeg incorrectly handled certain JPEG files. An\nattacker could possibly use this issue to obtain sensitive information\nor other unspecified impact. This issue only affected Ubuntu 20.04 LTS.\n(CVE-2020-12284)\n\nIt was discovered that FFmpeg incorrectly handled certain M3U8 files. An\nattacker could possibly use this issue to obtain sensitive information\nor other unspecified impact. (CVE-2020-13904)\n","status":"published","published":"2020-07-22T16:18:53Z","modified":"2026-04-27T15:48:46.240203426Z","updated_at":"2026-11-02T16:58:14.547547Z"}]}}
