cve.bz

CVE-2018-12458 Improper Input Validation

6.5 mediumEPSS 1.5%Fix available

Medium (6.5). EPSS 1.5% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS
1.5% (unchanged from 1.5% a week ago; 1.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 75th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-20 Improper Input Validation
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2018-12458 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-12458?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-12458?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2018-12458 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
ffmpeg:ffmpeg2.8
ffmpeg:ffmpeg4.0
debian:debian_linux9.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9ffmpeg7:3.2.11-1~deb9u1DSA-4249-1
Debian12, 13, 14ffmpeg7:3.4.3-1DEBIAN-CVE-2018-12458
Ubuntu16.04:LTSffmpeg7:2.8.15-0ubuntu0.16.04.1UBUNTU-CVE-2018-12458
Ubuntu18.04:LTSffmpeg7:3.4.4-0ubuntu0.18.04.1UBUNTU-CVE-2018-12458
SUSELinux Enterprise Module for Desktop Applications 15, Linux Enterprise Module for Package Hub 15, Linux Enterprise Workstation Extension 15ffmpeg3.4.2-4.12.4SUSE-SU-2018:3609-1
Alpinev3.8, v3.9, v3.10 and 7 moreffmpeg3.4.3-r0ALPINE-CVE-2018-12458
Alpinev3.16, v3.17, v3.18 and 4 moreffmpeg, ffmpeg43.4.3-r0ALPINE-CVE-2018-12458

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · Alpine.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-20 (51).

References

Check your stackJSON