UBUNTU-CVE-2025-12343

Source
https://ubuntu.com/security/CVE-2025-12343
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-12343.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2025-12343
Upstream
Downstream
Related
Published
2026-02-18T21:16:00Z
Modified
2026-06-25T00:15:10Z
Severity
  • 3.3 (Low) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L CVSS Calculator
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H CVSS Calculator
  • Ubuntu - negligible
Summary
[none]
Details

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

Affected packages

Ubuntu:Pro:24.04:LTS / ffmpeg

Package

Name
ffmpeg
Purl
pkg:deb/ubuntu/ffmpeg?arch=source&distro=esm-apps%2Fnoble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
7:6.1.1-3ubuntu5+esm10

Affected versions

7:6.*
7:6.0-6ubuntu1
7:6.0-9ubuntu1
7:6.1-2ubuntu1
7:6.1-3ubuntu1
7:6.1-4ubuntu1
7:6.1-5ubuntu1
7:6.1.1-1ubuntu1
7:6.1.1-3ubuntu1
7:6.1.1-3ubuntu5
7:6.1.1-3ubuntu5+esm1
7:6.1.1-3ubuntu5+esm2
7:6.1.1-3ubuntu5+esm3
7:6.1.1-3ubuntu5+esm4
7:6.1.1-3ubuntu5+esm5
7:6.1.1-3ubuntu5+esm6
7:6.1.1-3ubuntu5+esm7
7:6.1.1-3ubuntu5+esm8

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_name": "ffmpeg",
            "binary_version": "7:6.1.1-3ubuntu5+esm10"
        },
        {
            "binary_name": "libavcodec-extra",
            "binary_version": "7:6.1.1-3ubuntu5+esm10"
        },
        {
            "binary_name": "libavcodec-extra60",
            "binary_version": "7:6.1.1-3ubuntu5+esm10"
        },
        {
            "binary_name": "libavcodec60",
            "binary_version": "7:6.1.1-3ubuntu5+esm10"
        },
        {
            "binary_name": "libavdevice60",
            "binary_version": "7:6.1.1-3ubuntu5+esm10"
        },
        {
            "binary_name": "libavfilter-extra",
            "binary_version": "7:6.1.1-3ubuntu5+esm10"
        },
        {
            "binary_name": "libavfilter-extra9",
            "binary_version": "7:6.1.1-3ubuntu5+esm10"
        },
        {
            "binary_name": "libavfilter9",
            "binary_version": "7:6.1.1-3ubuntu5+esm10"
        },
        {
            "binary_name": "libavformat-extra",
            "binary_version": "7:6.1.1-3ubuntu5+esm10"
        },
        {
            "binary_name": "libavformat-extra60",
            "binary_version": "7:6.1.1-3ubuntu5+esm10"
        },
        {
            "binary_name": "libavformat60",
            "binary_version": "7:6.1.1-3ubuntu5+esm10"
        },
        {
            "binary_name": "libavutil58",
            "binary_version": "7:6.1.1-3ubuntu5+esm10"
        },
        {
            "binary_name": "libpostproc57",
            "binary_version": "7:6.1.1-3ubuntu5+esm10"
        },
        {
            "binary_name": "libswresample4",
            "binary_version": "7:6.1.1-3ubuntu5+esm10"
        },
        {
            "binary_name": "libswscale7",
            "binary_version": "7:6.1.1-3ubuntu5+esm10"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-12343.json"

Ubuntu:25.10 / ffmpeg

Package

Name
ffmpeg
Purl
pkg:deb/ubuntu/ffmpeg?arch=source&distro=questing

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

7:7.*
7:7.1.1-1ubuntu1
7:7.1.1-1ubuntu2
7:7.1.1-1ubuntu3
7:7.1.1-1ubuntu4
7:7.1.1-1ubuntu4.1
7:7.1.1-1ubuntu4.2

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "ffmpeg",
            "binary_version": "7:7.1.1-1ubuntu4.2"
        },
        {
            "binary_name": "libavcodec-extra",
            "binary_version": "7:7.1.1-1ubuntu4.2"
        },
        {
            "binary_name": "libavcodec-extra61",
            "binary_version": "7:7.1.1-1ubuntu4.2"
        },
        {
            "binary_name": "libavcodec61",
            "binary_version": "7:7.1.1-1ubuntu4.2"
        },
        {
            "binary_name": "libavdevice61",
            "binary_version": "7:7.1.1-1ubuntu4.2"
        },
        {
            "binary_name": "libavfilter-extra",
            "binary_version": "7:7.1.1-1ubuntu4.2"
        },
        {
            "binary_name": "libavfilter-extra10",
            "binary_version": "7:7.1.1-1ubuntu4.2"
        },
        {
            "binary_name": "libavfilter10",
            "binary_version": "7:7.1.1-1ubuntu4.2"
        },
        {
            "binary_name": "libavformat-extra",
            "binary_version": "7:7.1.1-1ubuntu4.2"
        },
        {
            "binary_name": "libavformat-extra61",
            "binary_version": "7:7.1.1-1ubuntu4.2"
        },
        {
            "binary_name": "libavformat61",
            "binary_version": "7:7.1.1-1ubuntu4.2"
        },
        {
            "binary_name": "libavutil59",
            "binary_version": "7:7.1.1-1ubuntu4.2"
        },
        {
            "binary_name": "libpostproc58",
            "binary_version": "7:7.1.1-1ubuntu4.2"
        },
        {
            "binary_name": "libswresample5",
            "binary_version": "7:7.1.1-1ubuntu4.2"
        },
        {
            "binary_name": "libswscale8",
            "binary_version": "7:7.1.1-1ubuntu4.2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-12343.json"