CVE-2018-13305
In FFmpeg 4.0.1, due to a missing check for negative values of the mquant variable, the...
In FFmpeg 4.0.1, due to a missing check for negative values of the mquant variable, the vc1_put_blocks_clamped function in libavcodec/vc1_block.c may trigger an out-of-array access while converting a crafted AVI file to MPEG4, leading to an information disclosure or a denial of service.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- High
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
8.1
In FFmpeg 4.0.1, due to a missing check for negative values of the mquant variable, the vc1_put_blocks_clamped function in libavcodec/vc1_block.c may trigger an out-of-array access while converting a crafted AVI file to MPEG4, leading to an information disclosure or a denial of service.
- Record
CVE-2018-13305- CVSS 3.0
- 8.1 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H - CVSS 2.0
- 5.8 Medium
AV:N/AC:M/Au:N/C:P/I:N/A:P - Weakness
- CWE-125
- Updated
- 2026-11-02
CVE List No score
In FFmpeg 4.0.1, due to a missing check for negative values of the mquant variable, the vc1_put_blocks_clamped function in libavcodec/vc1_block.c may trigger an out-of-array access while converting a crafted AVI file to MPEG4, leading to an information disclosure or a denial of service.
- Record
CVE-2018-13305- Updated
- 2026-11-02
EUVDEUVD-2018-5253 No score
In FFmpeg 4.0.1, due to a missing check for negative values of the mquant variable, the vc1_put_blocks_clamped function in libavcodec/vc1_block.c may trigger an out-of-array access while converting a crafted AVI file to MPEG4, leading to an information disclosure or a denial of service.
- Record
EUVD-2018-5253- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-hj8w-74cf-p23x
8.1
In FFmpeg 4.0.1, due to a missing check for negative values of the mquant variable, the...
In FFmpeg 4.0.1, due to a missing check for negative values of the mquant variable, the vc1_put_blocks_clamped function in libavcodec/vc1_block.c may trigger an out-of-array access while converting a crafted AVI file to MPEG4, leading to an information disclosure or a denial of service.
- Record
GHSA-hj8w-74cf-p23x- CVSS 3.0
- 8.1 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H - Weakness
- CWE-125
- Updated
- 2026-11-02
OSV
8.1
In FFmpeg 4.0.1, due to a missing check for negative values of the mquant variable, the vc1_put_blocks_clamped function in libavcodec/vc1_block.c may trigger an out-of-array access while converting a crafted AVI file to MPEG4, leading to an information disclosure or a denial of service.
- Record
CVE-2018-13305- CVSS 3.0
- 8.1 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H - Updated
- 2026-11-07
OSVUBUNTU-CVE-2018-13305
8.1
In FFmpeg 4.0.1, due to a missing check for negative values of the mquant variable, the vc1_put_blocks_clamped function in libavcodec/vc1_block.c may trigger an out-of-array access while converting a crafted AVI file to MPEG4, leading to an information disclosure or a denial of service.
- Record
UBUNTU-CVE-2018-13305- CVSS 3.0
- 8.1 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H - Updated
- 2026-11-02
OSVopenSUSE-SU-2020:0024-1 No score
Security update for ffmpeg-4
This update for ffmpeg-4 fixes the following issues:
ffmpeg-4 was updated to version 4.0.5, fixes boo#1133153
- CVE-2019-11339: The studio profile decoder in libavcodec/mpeg4videodec.c in FFmpeg 4.0 allowed remote attackers to cause a denial of service (out-of-array access) or possibly have unspecified. (bsc#1133153)
- For other changes see /usr/share/doc/packages/libavcodec58/Changelog
Update to version 4.2.1:
- Stable bug fix release, mainly codecs and format fixes.
- CVE-2019-15942: Conditional jump or move depends on uninitialised value' issue in h2645_parse (boo#1149839)
Update to FFmpeg 4.2 'Ada'
- tpad filter
- AV1 decoding support through libdav1d
- dedot filter
- chromashift and rgbashift filters
- freezedetect filter
- truehd_core bitstream filter
- dhav demuxer
- PCM-DVD encoder
- GIF parser
- vividas demuxer
- hymt decoder
- anlmdn filter
- maskfun filter
- hcom demuxer and decoder
- ARBC decoder
- libaribb24 based ARIB STD-B24 caption support (profiles A and C)
- Support decoding of HEVC 4:4:4 content in nvdec and cuviddec
- removed libndi-newtek
- agm decoder
- KUX demuxer
- AV1 frame split bitstream filter
- lscr decoder
- lagfun filter
- asoftclip filter
- Support decoding of HEVC 4:4:4 content in vdpau
- colorhold filter
- xmedian filter
- asr filter
- showspatial multimedia filter
- VP4 video decoder
- IFV demuxer
- derain filter
- deesser filter
- mov muxer writes tracks with unspecified language instead of English by default
- added support for using clang to compile CUDA kernels
- See /usr/share/doc/packages/ffmpeg-4/Changelog for the complete changelog.
Update to version 4.1.4
- See /usr/share/doc/packages/ffmpeg-4/Changelog for the complete changelog.
- Enable runtime enabling for fdkaac via --enable-libfdk-aac-dlopen
Update to version 4.1.3:
- Updates and bug fixes for codecs, filters and formats. [boo#1133153, boo#1133155, CVE-2019-11338, CVE-2019-11339]
Update to version 4.1.2:
- Updates and bug fixes for codecs, filters and formats.
Update to version 4.1.1:
- Various filter and codec fixes and enhancements.
- configure: Add missing xlib dependency for VAAPI X11 code.
- For complete changelog, see /usr/share/doc/packages/ffmpeg-4/Changelog
- enable AV1 support on x86_64
Update ffmpeg to 4.1:
- Lots of filter updates as usual: deblock, tmix, aplify, fftdnoiz, aderivative, aintegral, pal75bars, pal100bars, adeclick, adeclip, lensfun (wrapper), colorconstancy, 1D LUT filter (lut1d), cue, acue, transpose_npp, amultiply, Block-Matching 3d (bm3d) denoising filter, acrossover filter, audio denoiser as afftdn filter, sinc audio filter source, chromahold, setparams, vibrance, xstack, (a)graphmonitor filter yadif_cuda filter.
- AV1 parser
- Support for AV1 in MP4
- PCM VIDC decoder and encoder
- libtensorflow backend for DNN based filters like srcnn
- -- The following only enabled in third-party builds:
- ATRAC9 decoder
- AVS2 video decoder via libdavs2
- IMM4 video decoder
- Brooktree ProSumer video decoder
- MatchWare Screen Capture Codec decoder
- WinCam Motion Video decoder
- RemotelyAnywhere Screen Capture decoder
- AVS2 video encoder via libxavs2
- ILBC decoder
- SER demuxer
- Decoding S12M timecode in H264
- For complete changelog, see https://git.ffmpeg.org/gitweb/ffmpeg.git/shortlog/n4.1
Update ffmpeg to 4.0.3:
- For complete changelog, see https://git.ffmpeg.org/gitweb/ffmpeg.git/shortlog/n4.0.3
- CVE-2018-13305: Added a missing check for negative values of mqaunt variable (boo#1100345).
- Record
openSUSE-SU-2020:0024-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:10754-1 No score
ffmpeg-4-4.4-5.2 on GA media
These are all security issues fixed in the ffmpeg-4-4.4-5.2 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:10754-1- Updated
- 2026-11-02
OSVSUSE-SU-2018:3609-1 No score
Security update for ffmpeg
This update for ffmpeg fixes the following issues:
- CVE-2018-13300: An improper argument passed to the avpriv_request_sample function may have triggered an out-of-array read while converting a crafted AVI file to MPEG4, leading to a denial of service and possibly an information disclosure (bsc#1100348)
- CVE-2018-15822: The flv_write_packet function did not check for an empty audio packet, leading to an assertion failure and DoS (bsc#1105869)
- CVE-2018-13305: Due to a missing check for negative values of the mquant variable, the vc1_put_blocks_clamped function in libavcodec/vc1_block.c may trigger an out-of-array access while converting a crafted AVI file to MPEG4, leading to an information disclosure or a denial of service. (bsc#1100345).
- CVE-2018-12458: An improper integer type in the mpeg4_encode_gop_header function in libavcodec/mpeg4videoenc.c might have triggered an assertion violation while converting a crafted AVI file to MPEG4, leading to a denial of service. (bsc#1097983).
- Record
SUSE-SU-2018:3609-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
ffmpegSUSE:Linux Enterprise Module for Desktop Applications 15 From an advisory covering 4 CVEs |
before 3.4.2-4.12.4 | 3.4.2-4.12.4 |
ffmpegSUSE:Linux Enterprise Module for Package Hub 15 From an advisory covering 4 CVEs |
before 3.4.2-4.12.4 | 3.4.2-4.12.4 |
ffmpegSUSE:Linux Enterprise Workstation Extension 15 From an advisory covering 4 CVEs |
before 3.4.2-4.12.4 | 3.4.2-4.12.4 |
oxide-qtUbuntu:16.04:LTS |
All versions, plus listed versions 1.9.5-0ubuntu11.10.3-0ubuntu0.15.10.11.10.3-0ubuntu0.15.10.21.11.3-0ubuntu31.11.4-0ubuntu1 Show 17 moreShow less1.11.5-0ubuntu11.12.5-0ubuntu11.12.6-0ubuntu11.12.7-0ubuntu11.13.6-0ubuntu11.14.7-0ubuntu11.14.9-0ubuntu0.16.04.11.15.7-0ubuntu0.16.04.11.15.8-0ubuntu0.16.04.11.16.5-0ubuntu0.16.04.11.17.7-0ubuntu0.16.04.11.17.9-0ubuntu0.16.04.11.18.3-0ubuntu0.16.04.11.18.5-0ubuntu0.16.04.11.19.4-0ubuntu0.16.04.11.20.4-0ubuntu0.16.04.11.21.5-0ubuntu0.16.04.1 |
None known |
gst-libav1.0Ubuntu:16.04:LTS |
All versions, plus listed versions 1.6.0-11.6.0-21.6.1-11.6.2-11.7.1-1 Show 7 moreShow less1.7.2-11.7.90-11.8.0-11.8.1-1~ubuntu11.8.2-1~ubuntu11.8.3-1ubuntu0.11.8.3-1ubuntu0.2 |
None known |
mythtvUbuntu:16.04:LTS |
All versions, plus listed versions 2:0.27.1+fixes.20140624.aa822f5-0ubuntu62:0.27.1+fixes.20140624.aa822f5-0ubuntu72:0.27.1+fixes.20140624.aa822f5-0ubuntu92:0.28.0+fixes.20160217.44fd8a6-0ubuntu42:0.28.0+fixes.20160229.ae35a28-0ubuntu1 Show 6 moreShow less2:0.28.0+fixes.20160321.39e409d-0ubuntu12:0.28.0+fixes.20160321.39e409d-0ubuntu22:0.28.0+fixes.20160325.2520617-0ubuntu32:0.28.0+fixes.20160413.15cf421-0ubuntu12:0.28.0+fixes.20160413.15cf421-0ubuntu22:0.28.0+fixes.20160413.15cf421-0ubuntu2.16.04.1 |
None known |
gst-libav1.0Ubuntu:18.04:LTS |
All versions, plus listed versions 1.12.2-11.12.3-11.12.4-11.13.91-11.14.0-11.14.1-1~ubuntu18.04.11.14.4-0ubuntu1~ubuntu18.04.11.14.5-0ubuntu1~18.04.1 |
None known |
mythtvUbuntu:18.04:LTS |
All versions, plus listed versions 2:29.0+fixes.20170728.696806310a-0ubuntu12:29.0+fixes.20170728.696806310a-0ubuntu32:29.0+fixes.20170728.696806310a-0ubuntu42:29.0+fixes.20170728.696806310a-0ubuntu52:29.0+fixes.20170728.696806310a-0ubuntu6 Show 5 moreShow less2:29.0+fixes.20170728.696806310a-0ubuntu72:29.0+fixes.20170728.696806310a-0ubuntu82:29.1+fixes.20180220.9b7b962-0ubuntu22:29.1+fixes.20180220.9b7b962-0ubuntu32:29.1+fixes.20180414.329c235-0ubuntu3 |
None known |
gst-libav1.0Ubuntu:20.04:LTS |
All versions, plus listed versions 1.16.1-11.16.2-11.16.2-2 |
None known |
mythtvUbuntu:20.04:LTS |
All versions, plus listed versions 2:30.0+fixes.20190817.5cde0578d8-0ubuntu12:30.0+fixes.20190817.5cde0578d8-0ubuntu22:30.0+fixes.20190817.5cde0578d8-0ubuntu32:31.0+fixes.20200207.35cb9ed0c5-0ubuntu22:31.0+fixes.20200323.9579662cdc-0ubuntu1 |
None known |
Show 20 moreShow less
| Package | Affected | Fixed |
|---|---|---|
chromium-browserUbuntu:22.04:LTS |
All versions, plus listed versions 1:85.0.4183.83-0ubuntu21:85.0.4183.83-0ubuntu2.22.04.1 |
None known |
gst-libav1.0Ubuntu:22.04:LTS |
All versions, plus listed versions 1.18.5-11.20.0-11.20.1-11.20.3-0ubuntu1 |
None known |
mythtvUbuntu:22.04:LTS |
All versions, plus listed versions 2:31.0+fixes.20200323.9579662cdc-0ubuntu92:31.0+fixes.20200323.9579662cdc-0ubuntu112:32.0+fixes.20220224.56275b303b-0ubuntu32:32.0+fixes.20220224.56275b303b-0ubuntu52:32.0+fixes.20220325.f69ce764b7-0ubuntu1 |
None known |
chromium-browserUbuntu:24.04:LTS |
All versions, plus listed versions 1:85.0.4183.83-0ubuntu32:1snap1-0ubuntu12:1snap1-0ubuntu2 |
None known |
gst-libav1.0Ubuntu:24.04:LTS |
All versions, plus listed versions 1.22.5-11.22.6-11.22.7-11.22.8-11.22.10-11.24.1-11.24.1-1build1 |
None known |
mythtvUbuntu:24.04:LTS |
All versions, plus listed versions 2:33.0+fixes.20230210.026e506-0ubuntu02:33.0+fixes.20230210.026e506-0ubuntu22:33.0+fixes.20230210.026e506-0ubuntu32:33.0+fixes.20230210.026e506-0ubuntu42:33.0+fixes.20230210.026e506-0ubuntu5 Show 4 moreShow less2:34.0+fixes.20240210.e3e165a1-0ubuntu12:34.0+fixes.20240210.e3e165a1-0ubuntu42:34.0+fixes.20240210.e3e165a1-0ubuntu52:34.0+fixes.20240210.e3e165a1-0ubuntu6 |
None known |
chromium-browserUbuntu:25.10 |
All versions, plus listed versions 2:1snap1-0ubuntu3 |
None known |
gst-libav1.0Ubuntu:25.10 |
All versions, plus listed versions 1.26.0-11.26.1-11.26.2-11.26.3-11.26.4-11.26.5-11.26.6-1 |
None known |
mythtvUbuntu:25.10 |
All versions, plus listed versions 2:35.0+fixes.20250302.f3f012aa3f-0ubuntu32:35.0+fixes.20250302.f3f012aa3f-0ubuntu4 |
None known |
chromium-browserUbuntu:26.10 |
All versions, plus listed versions 2:1snap1-0ubuntu4 |
None known |
gst-libav1.0Ubuntu:26.10 |
All versions, plus listed versions 1.28.2-11.28.3-11.28.4-1build11.28.5-11.28.6-11.28.7-1 |
None known |
mythtvUbuntu:26.10 |
All versions, plus listed versions 2:36.0+fixes.20260401.1385cbfc60-0ubuntu12:36.0+fixes.20260401.1385cbfc60-0ubuntu3 |
None known |
chromium-browserUbuntu:26.04:LTS |
All versions, plus listed versions 2:1snap1-0ubuntu32:1snap1-0ubuntu4 |
None known |
gst-libav1.0Ubuntu:26.04:LTS |
All versions, plus listed versions 1.26.6-11.27.2-11.27.2-1build11.27.90-11.28.0-11.28.1-11.28.2-1 |
None known |
mythtvUbuntu:26.04:LTS |
All versions, plus listed versions 2:35.0+fixes.20250302.f3f012aa3f-0ubuntu42:35.0+fixes.20250302.f3f012aa3f-0ubuntu52:35.0+fixes.20250302.f3f012aa3f-0ubuntu62:35.0+fixes.20250302.f3f012aa3f-0ubuntu72:36.0+fixes.20260210.a312d68f-0ubuntu12:36.0+fixes.20260401.1385cbfc60-0ubuntu1 |
None known |
ffmpeg-4SUSE:Package Hub 12 SP2 From an advisory covering 5 CVEs |
before 4.2.1-bp151.5.3.1 | 4.2.1-bp151.5.3.1 |
ffmpeg-4SUSE:Package Hub 15 From an advisory covering 5 CVEs |
before 4.2.1-bp151.5.3.1 | 4.2.1-bp151.5.3.1 |
ffmpeg-4SUSE:Package Hub 15 SP1 From an advisory covering 5 CVEs |
before 4.2.1-bp151.5.3.1 | 4.2.1-bp151.5.3.1 |
ffmpeg-4openSUSE:Leap 15.1 From an advisory covering 5 CVEs |
before 4.2.1-bp151.5.3.1 | 4.2.1-bp151.5.3.1 |
ffmpeg-4openSUSE:Tumbleweed From an advisory covering 46 CVEs |
before 4.4-5.2 | 4.4-5.2 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2018-13305 is a high vulnerability (CVSS 8.1) in Ffmpeg, published July 5, 2018. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.41%, the 72nd percentile. No source names a fixed version.
References
github.com/FFmpeg/FFmpeg/commit/d08d4a8c7387e758d439b0592782e4cfa2b4d6a4
lists.opensuse.org/opensuse-security-announce/2020-01/msg00012.html
nvd.nist.gov/vuln/detail/CVE-2018-13305
github.com/advisories/GHSA-hj8w-74cf-p23x
suse.com/support/update/announcement/2018/suse-su-20183609-1
bugzilla.suse.com/1097983
Show 58 moreShow less
bugzilla.suse.com/1100345
bugzilla.suse.com/1100348
bugzilla.suse.com/1105869
suse.com/security/cve/CVE-2018-12458
suse.com/security/cve/CVE-2018-13300
suse.com/security/cve/CVE-2018-13305
suse.com/security/cve/CVE-2018-15822
ubuntu.com/security/CVE-2018-13305
cve.org/CVERecord?id=CVE-2018-13305
lists.opensuse.org/archives/list/[email protected]/thread/BENAOQWJIO5XL2GAHMLNOYWYAO26XGQM
bugzilla.suse.com/1133123
bugzilla.suse.com/1133153
bugzilla.suse.com/1133155
bugzilla.suse.com/1149839
suse.com/security/cve/CVE-2017-17555
suse.com/security/cve/CVE-2019-11338
suse.com/security/cve/CVE-2019-11339
suse.com/security/cve/CVE-2019-15942
suse.com/security/cve/CVE-2015-8216
suse.com/security/cve/CVE-2015-8217
suse.com/security/cve/CVE-2015-8218
suse.com/security/cve/CVE-2015-8219
suse.com/security/cve/CVE-2015-8363
suse.com/security/cve/CVE-2015-8365
suse.com/security/cve/CVE-2015-8661
suse.com/security/cve/CVE-2015-8663
suse.com/security/cve/CVE-2016-10190
suse.com/security/cve/CVE-2016-10191
suse.com/security/cve/CVE-2016-1897
suse.com/security/cve/CVE-2017-11399
suse.com/security/cve/CVE-2017-11665
suse.com/security/cve/CVE-2017-14054
suse.com/security/cve/CVE-2017-14055
suse.com/security/cve/CVE-2017-14056
suse.com/security/cve/CVE-2017-14057
suse.com/security/cve/CVE-2017-14058
suse.com/security/cve/CVE-2017-14059
suse.com/security/cve/CVE-2017-14169
suse.com/security/cve/CVE-2017-14170
suse.com/security/cve/CVE-2017-14171
suse.com/security/cve/CVE-2017-14222
suse.com/security/cve/CVE-2017-14223
suse.com/security/cve/CVE-2017-14225
suse.com/security/cve/CVE-2017-15186
suse.com/security/cve/CVE-2017-15672
suse.com/security/cve/CVE-2017-16840
suse.com/security/cve/CVE-2017-17081
suse.com/security/cve/CVE-2017-7859
suse.com/security/cve/CVE-2017-7863
suse.com/security/cve/CVE-2017-7866
suse.com/security/cve/CVE-2018-6392
suse.com/security/cve/CVE-2018-6621
suse.com/security/cve/CVE-2018-7751
suse.com/security/cve/CVE-2020-22046
suse.com/security/cve/CVE-2020-35964
suse.com/security/cve/CVE-2021-33815
suse.com/security/cve/CVE-2021-38114
suse.com/security/cve/CVE-2021-38171