# CVE-2018-12458

- Priority: **Routine**
- Reason: Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2018-06-15 · Modified: 2024-08-05
- Aliases: UBUNTU-CVE-2018-12458, DEBIAN-CVE-2018-12458, ALPINE-CVE-2018-12458
- Record: https://cvemate.com/vulnerability/CVE-2018-12458 · JSON: https://cvemate.com/vulnerability/CVE-2018-12458/json

## Description

```text
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.
```

## Signals

- CVSS: 6.5 medium (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- EPSS: 1.499%, percentile 75.139%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine ffmpeg (Alpine Linux): \< 3.4.3-r0
- alpine ffmpeg4 (Alpine Linux): \< 3.4.3-r0
- debian ffmpeg (Debian): \< 7:3.4.3-1
- ubuntu ffmpeg (Ubuntu): \< 7:2.8.15-0ubuntu0.16.04.1 \| \< 7:3.4.4-0ubuntu0.18.04.1
- debian debian\_linux: 9.0
- ffmpeg ffmpeg: 2.8 \| 4.0

## References

- <https://www.debian.org/security/2018/dsa-4249>
- <https://github.com/FFmpeg/FFmpeg/commit/e1182fac1afba92a4975917823a5f644bee7e6e8>
- <https://github.com/FFmpeg/FFmpeg/commit/6bbef938839adc55e8e048bc9cc2e0fafe2064df>
- <https://ubuntu.com/security/CVE-2018-12458>
- <https://www.cve.org/CVERecord?id=CVE-2018-12458>
- <https://security-tracker.debian.org/tracker/CVE-2018-12458>
- <https://security.alpinelinux.org/vuln/CVE-2018-12458>

---

Data as of 2026-12-05T05:31:07.337Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
