Home

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.

PUBLISHED Reserved 2025-10-27 | Published 2026-02-18 | Updated 2026-02-18 | Assigner fedora




LOW: 3.3CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L

Problem types

Double Free

Product status

Default status
unaffected

6.1 (semver) before 8.1
affected

Timeline

2025-10-27:Reported to Red Hat.
2025-10-27:Made public.

Credits

Red Hat would like to thank Jiasheng Jiang for reporting this issue.

References

access.redhat.com/security/cve/CVE-2025-12343 vdb-entry

bugzilla.redhat.com/show_bug.cgi?id=2406533 (RHBZ#2406533) issue-tracking

cve.org (CVE-2025-12343)

nvd.nist.gov (CVE-2025-12343)

Download JSON