CVE-2018-12458 json
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 asserti…
published 2018-06-15 8 y ago modified 2026-06-17 4 mo ago also EUVD-2018-4428
- cvss
- 6.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.5%
- EPSS 1.5% chance of exploitation in 30 days, percentile 74%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- ffmpeg Debian 14, Debian 13, Debian 12 7:3.4.3-1
debian advisories DEBIAN-CVE-2018-12458
- ffmpeg Ubuntu 16.04 LTS 7:2.8.15-0ubuntu0.16.04.1
- ffmpeg Ubuntu 18.04 LTS 7:3.4.4-0ubuntu0.18.04.1
ubuntu advisories UBUNTU-CVE-2018-12458
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- ffmpeg SLE Workstation Extension 15, SLE Module for Package Hub 15, SLE Module for Desktop Applications 15 3.4.2-4.12.4
suse advisories SUSE-SU-2018:3609-1
- ffmpeg Alpine 3.24, Alpine 3.23, Alpine 3.22 +14 more 3.4.3-r0
- ffmpeg4 Alpine 3.22, Alpine 3.21, Alpine 3.20 +4 more 3.4.3-r0
alpine advisories ALPINE-CVE-2018-12458
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Exploit prediction
1.51% chance of exploitation in the next 30 days, higher than 74% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:N/A:P |
Classification
- Weakness
-
- CWE-20 Improper Input Validation
References
-
github.com
/FFmpeg/FFmpeg/commit/e1182fac1afba92a4975917823a5f644bee7e6e8
issue-tracking, patch, third-party-advisory
-
github.com
/FFmpeg/FFmpeg/commit/6bbef938839adc55e8e048bc9cc2e0fafe2064df
patch, third-party-advisory
-
debian.org
/security/2018/dsa-4249
vendor-advisory, third-party-advisory
Sources
- CVE List CVE-2018-12458
- NVD CVE-2018-12458
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.