# JLSEC-2026-642: A flaw was found in FFmpeg’s TensorFlow backend within the libavfilter/dnnbackendtf.c source file.

- Severity: Medium 5.5 (CVSS:3.1, scored by Julia Security Advisories) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2026-06-26T20:24:16.337Z
- Modified: 2026-07-25T18:24:42.936Z
- Related: CVE-2025-12343

## 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.

(As written by Julia Security Advisories.)

## Affected

- FFMPEG_jll (Julia): from 6.1.1+0 before 8.1.0+0
- FFMPEG_nogpl_jll (Julia): before 8.1.0+0
- FFplay_jll (Julia): from 7.1.0+0 before 8.1.2+0

## References

- <https://access.redhat.com/security/cve/CVE-2025-12343> (web)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2406533> (web)

## Sources

- Julia Security Advisories: [JLSEC-2026-642](https://osv.dev/vulnerability/JLSEC-2026-642), CC-BY-4.0, modified 2026-07-25

---

Page: https://cve.day/JLSEC-2026-642 · Whole record: https://cve.day/JLSEC-2026-642.json · Rebuilt by cve.day 2026-11-25T22:56:26.186Z
