LiveActive security incident?Get immediate response
CVE Record

CVE-2020-21697: A heap-use-after-free in the mpeg_mux_write_packet function in libavformat/mpegenc.c of FFmpeg 4.2 allows t...

A heap-use-after-free in the mpeg_mux_write_packet function in libavformat/mpegenc.c of FFmpeg 4.2 allows to cause a denial of service (DOS) via a crafted avi file.

UnknownCVSS not scoredNot KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

CVE-2020-21697 is a denial-of-service issue in FFmpeg 4.2. A specially crafted AVI file can trigger a memory-use bug while FFmpeg handles MPEG muxing, potentially crashing the process. Business risk is highest where FFmpeg processes untrusted media uploads or third-party files.

Executive priority

Prioritize if FFmpeg processes user-supplied media in production. The known impact is denial of service, so urgency depends on service criticality, isolation, and whether processing failures can disrupt customer workflows.

Technical view

The CVE describes a heap-use-after-free in FFmpeg 4.2, specifically mpeg_mux_write_packet in libavformat/mpegenc.c. The stated impact is denial of service via a crafted AVI file. The source bundle does not provide CVSS, CWE, affected CPEs, or detailed fixed-version data.

Likely exposure

Exposure is most likely in systems running FFmpeg 4.2 or downstream packages that process untrusted AVI/media files, including upload pipelines, transcoding workers, and content ingestion services. The provided affected-product metadata is incomplete.

Exploitation context

The bundle does not report active exploitation, and KEV is false. Public sources describe a crafted-file denial-of-service condition, not confirmed remote code execution. Treat exposure as input-driven service disruption risk.

Researcher notes

Evidence is limited to the CVE description and linked FFmpeg/Debian references. No CVSS, CWE, CPE, exploit-in-the-wild, or precise upstream fixed-version details are present in the supplied bundle.

Mitigation direction

  • Inventory FFmpeg 4.2 usage across hosts, containers, and media-processing services.
  • Apply applicable vendor or distribution FFmpeg updates, including Debian DSA-4998 where relevant.
  • Restrict untrusted media processing to isolated, resource-limited workers.
  • Monitor FFmpeg ticket 8188 and package advisories for version-specific guidance.
  • Avoid processing unexpected AVI uploads until affected deployments are updated or isolated.

Validation and detection

  • Check deployed FFmpeg versions and package provenance on media-processing systems.
  • Review whether public upload or ingestion paths accept AVI files.
  • Confirm patched package versions against vendor advisories, not only application lockfiles.
  • Verify worker isolation, timeout, restart, and resource-limit controls for FFmpeg jobs.
  • Search logs for unexplained FFmpeg crashes during AVI processing.
Prepared
Confidence
medium
Sources
4

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cve · low confidence lookup

CVE-2020-21697 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Unknown
CVSS
Not scored
Known Exploited
No
Published
Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

0CVSS vectors
0Timeline events
0ADP providers
3Source links

CVSS and timeline data

No CVSS vectors or timeline events were available in the normalized CVE source material.

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
n/an/an/aListed
Weakness

CWE details

No CWE listed

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.