Skip to main content
VulnerabilityPublished Updated

CVE-2025-12343: ffmpeg · Double Free

Affects ffmpegSource CVE Database V5

0

Not known to be exploited · CVSS 3.3 Low : upgrade to 8.1 when convenient.

Data as of 26 Oct 2026, 11:07 UTC

CVSS 3.1 base score
3.3Low
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.1% chance of exploitation in 30 days – higher than 6% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 8.1
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 18 Feb 2026

  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 26 Oct 2026.

What to do

Upgrade ffmpeg to 8.1.

Affected software

ProductAffectedFixed in
GitHubffmpegpkg:github/ffmpegOther threatsAffected
  • >=6.1 <8.1
Fixed in
  • 8.1

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

AI-suggested

To mitigate CVE-2025-12343, organizations should upgrade FFmpeg to a version where this double-free flaw is patched once available. If you cannot patch yet, consider disabling or avoiding the use of the TensorFlow backend filter (libavfilter/dnn_backend_tf.c) in FFmpeg, especially in environments processing untrusted or user-supplied TensorFlow DNN models. Implement strict access controls to limit local user permissions and reduce the risk of exploitation via user interaction. Employ application whitelisting and monitoring to detect abnormal FFmpeg crashes or unusual TensorFlow model processing activity. In containerized or virtualized environments, isolate FFmpeg processes to minimize impact scope. Regularly audit and update all dependencies related to FFmpeg and TensorFlow integration. Finally, maintain robust incident response procedures to quickly recover from any denial-of-service events caused by this vulnerability.

Description

A flaw was found in FFmpeg’s TensorFlow backend within the libavfilter/dnn_backend_tf.c source file. The issue occurs in the dnn_execute_model_tf() function, where a task object is freed multiple times in certain error-handling paths. This redundant memory deallocation can lead to a double-free condition, potentially causing FFmpeg or any application using it to crash when processing TensorFlow-based DNN models. This results in a denial-of-service scenario but does not allow arbitrary code execution under normal conditions.

References

Community reviews

Loading reviews…