ubuntu-cve-2025-12343
Vulnerability from osv_ubuntu
Published
2026-02-18 21:16
Modified
2026-06-24 22:05
Summary
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.


{
  "affected": [
    {
      "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"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:24.04:LTS",
        "name": "ffmpeg",
        "purl": "pkg:deb/ubuntu/ffmpeg@7:6.1.1-3ubuntu5+esm10?arch=source\u0026distro=esm-apps/noble"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "7:6.1.1-3ubuntu5+esm10"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "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": {
        "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"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:25.10",
        "name": "ffmpeg",
        "purl": "pkg:deb/ubuntu/ffmpeg@7:7.1.1-1ubuntu4.2?arch=source\u0026distro=questing"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "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"
      ]
    }
  ],
  "aliases": [],
  "details": "A flaw was found in FFmpeg\u2019s 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.",
  "id": "UBUNTU-CVE-2025-12343",
  "modified": "2026-06-24T22:05:52Z",
  "published": "2026-02-18T21:16:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2025-12343"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2025-12343"
    },
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-8469-1"
    }
  ],
  "related": [
    "USN-8469-1"
  ],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L",
      "type": "CVSS_V3"
    },
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "negligible",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2025-12343"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…