CVE-2025-12343
Last modified
CVE-2025-12343 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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. EPSS estimates a 0.15% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Ffmpeg | Ffmpeg | >= 6.1, < 8.1 |
References
- https://access.redhat.com/security/cve/CVE-2025-12343Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2406533Issue Tracking, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2025-12343?
How severe is CVE-2025-12343?
How do I fix CVE-2025-12343?
Are you affected by CVE-2025-12343?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
