Every CVE Search/ Get API key

CVE-2018-12458

An improper integer type in the mpeg4_encode_gop_header function in libavcodec/mpeg4videoenc.c in...

6.5 MediumFix available

An improper integer type in the mpeg4_encode_gop_header function in libavcodec/mpeg4videoenc.c in FFmpeg 2.8 and 4.0 may trigger an assertion violation while converting a crafted AVI file to MPEG4, leading to 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
None
Integrity
None
Availability
High

Exploit likelihood

1.51%Up 0.5 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 6.5

An improper integer type in the mpeg4_encode_gop_header function in libavcodec/mpeg4videoenc.c in FFmpeg 2.8 and 4.0 may trigger an assertion violation while converting a crafted AVI file to MPEG4, leading to a denial of service.

Record
CVE-2018-12458
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS 2.0
4.3 MediumAV:N/AC:M/Au:N/C:N/I:N/A:P
Weakness
CWE-20
Updated
2026-11-02
CVE List No score

An improper integer type in the mpeg4_encode_gop_header function in libavcodec/mpeg4videoenc.c in FFmpeg 2.8 and 4.0 may trigger an assertion violation while converting a crafted AVI file to MPEG4, leading to a denial of service.

Record
CVE-2018-12458
Updated
2026-11-02
EUVDEUVD-2018-4428 No score

An improper integer type in the mpeg4_encode_gop_header function in libavcodec/mpeg4videoenc.c in FFmpeg 2.8 and 4.0 may trigger an assertion violation while converting a crafted AVI file to MPEG4, leading to a denial of service.

Record
EUVD-2018-4428
Updated
2026-11-03
GitHub AdvisoriesGHSA-hw72-rqr9-3f2g 6.5

An improper integer type in the mpeg4_encode_gop_header function in libavcodec/mpeg4videoenc.c in...

An improper integer type in the mpeg4_encode_gop_header function in libavcodec/mpeg4videoenc.c in FFmpeg 2.8 and 4.0 may trigger an assertion violation while converting a crafted AVI file to MPEG4, leading to a denial of service.

Record
GHSA-hw72-rqr9-3f2g
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness
CWE-20
Updated
2026-11-02
OSV 6.5

An improper integer type in the mpeg4_encode_gop_header function in libavcodec/mpeg4videoenc.c in FFmpeg 2.8 and 4.0 may trigger an assertion violation while converting a crafted AVI file to MPEG4, leading to a denial of service.

Record
CVE-2018-12458
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-07
OSVDEBIAN-CVE-2018-12458 6.5

An improper integer type in the mpeg4_encode_gop_header function in libavcodec/mpeg4videoenc.c in FFmpeg 2.8 and 4.0 may trigger an assertion violation while converting a crafted AVI file to MPEG4, leading to a denial of service.

Record
DEBIAN-CVE-2018-12458
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2018-12458 6.5

An improper integer type in the mpeg4_encode_gop_header function in libavcodec/mpeg4videoenc.c in FFmpeg 2.8 and 4.0 may trigger an assertion violation while converting a crafted AVI file to MPEG4, leading to a denial of service.

Record
UBUNTU-CVE-2018-12458
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS 3.0
6.5 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVMGASA-2018-0319 No score

Updated ffmpeg packages fix security vulnerabilities

This update provides ffmpeg version 3.3.8, which fixes several security vulnerabilities and other bugs which were corrected upstream.

Record
MGASA-2018-0319
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

Affected packages
PackageAffectedFixed
ffmpeg
Debian:12
before 7:3.4.3-1
7:3.4.3-1
ffmpeg
Debian:13
before 7:3.4.3-1
7:3.4.3-1
ffmpeg
Debian:14
before 7:3.4.3-1
7:3.4.3-1
ffmpeg
Debian:9
From an advisory covering 11 CVEs
before 7:3.2.11-1~deb9u1, plus listed versions
7:3.2.10-1~deb9u17:3.2.10-1~deb9u1~bpo8+17:3.2.5-17:3.2.6-17:3.2.7-1~deb9u17:3.2.8-1~deb9u17:3.2.9-1~deb9u1
7:3.2.11-1~deb9u1
ffmpeg
Mageia:6
From an advisory covering 7 CVEs
before 3.3.8-1.mga6
3.3.8-1.mga6
ffmpeg
Mageia:6
From an advisory covering 7 CVEs
before 3.3.8-1.mga6.tainted
3.3.8-1.mga6.tainted
ffmpeg
SUSE: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
ffmpeg
SUSE: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
ffmpeg
SUSE:Linux Enterprise Workstation Extension 15
From an advisory covering 4 CVEs
before 3.4.2-4.12.4
3.4.2-4.12.4
ffmpeg
Ubuntu:16.04:LTS
before 7:2.8.15-0ubuntu0.16.04.1, plus listed versions
7:2.7.2-1build17:2.8.1-1ubuntu17:2.8.2-1ubuntu17:2.8.3-17:2.8.4-1
Show 10 moreShow less
7:2.8.4-1ubuntu17:2.8.4-1ubuntu27:2.8.4-1ubuntu37:2.8.4-1ubuntu47:2.8.6-1ubuntu17:2.8.6-1ubuntu27:2.8.8-0ubuntu0.16.04.17:2.8.10-0ubuntu0.16.04.17:2.8.11-0ubuntu0.16.04.17:2.8.14-0ubuntu0.16.04.1
7:2.8.15-0ubuntu0.16.04.1
ffmpeg
Ubuntu:18.04:LTS
before 7:3.4.4-0ubuntu0.18.04.1, plus listed versions
7:3.3.4-27:3.3.4-2build37:3.4-2ubuntu27:3.4-47:3.4-4build1
Show 5 moreShow less
7:3.4.1-17:3.4.1-1build17:3.4.2-17:3.4.2-1build17:3.4.2-2
7:3.4.4-0ubuntu0.18.04.1

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2018-12458 is a medium vulnerability (CVSS 6.5) in Ffmpeg, published June 15, 2018. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.51%, the 74th percentile. Fixed in ffmpeg 7:3.4.3-1.

References

Show 16 moreShow less
MoveEnter Open