Ffmpeg: double-free vulnerability in ffmpeg tensorflow dnn backend
Summary
Ffmpeg: double-free vulnerability in ffmpeg tensorflow dnn backend
Original description
The description as published by the source.
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.
Fix status by distribution
Fixed packages published by each distribution for this CVE
- Debian DEBIAN-CVE-2025-12343 ffmpeg Fixed in: 7:7.1.2-0+deb13u1
- Ubuntu UBUNTU-CVE-2025-12343 libav
References
- advisory access.redhat.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- report bugzilla.redhat.com