Skip to main content
CVE-2024-31578VulnerabilityPublished Updated

CVE-2024-31578: ffmpeg · n/a

Affects ffmpegSource CVE Database V5

0

Not known to be exploited · CVSS 7.5 High.

Data as of 25 Oct 2026, 19:02 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
1.1% chance of exploitation in 30 days – higher than 67% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 17 Apr 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.

What to do

Affected software

ProductAffectedFixed in
GitHubffmpeg/ffmpegpkg:github/ffmpeg/ffmpegOther threatsAffected
  • =6.1.1
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

1. Monitor FFmpeg project communications and security advisories closely to apply patches immediately once they are released for this vulnerability. 2. Until patches are available, consider isolating or sandboxing media processing components that use FFmpeg to limit potential damage from exploitation. 3. Implement strict input validation and filtering on all media inputs to reduce the risk of processing maliciously crafted files. 4. Employ runtime protections such as AddressSanitizer or similar memory error detection tools during development and testing to identify use-after-free issues. 5. Use application-layer firewalls or media gateways to inspect and block suspicious media streams. 6. Maintain up-to-date backups and incident response plans tailored to media processing infrastructure. 7. Conduct security audits of third-party products incorporating FFmpeg to ensure they have addressed this vulnerability. 8. Educate development and operations teams about the risks associated with heap use-after-free vulnerabilities and safe media handling practices.

Description

FFmpeg version n6.1.1 was discovered to contain a heap use-after-free via the av_hwframe_ctx_init function.

References

Community reviews

Loading reviews…