Skip to content
Fencer Intel
medium 6.5

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 8y ago modified 4mo 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

Is CVE-2018-12458 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Exploit prediction

1.51% chance of exploitation in the next 30 days, higher than 74% of all scored CVEs (FIRST EPSS, 2026-11-09).

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

Sources

Fencer Intel 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.