{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2025-12343 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2025-12343 is a low-severity use after free vulnerability in Ffmpeg Ffmpeg, published on 18 Feb 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2025-12343 and fix it if it is affected.\n\nWhat it is: CVE-2025-12343 is a low-severity use after free vulnerability in Ffmpeg Ffmpeg, published on 18 Feb 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2025-12343 in the wild and no public exploit code.\n\nAffected product: Ffmpeg Ffmpeg. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-12343/ (Markdown: https://insights.sbomify.com/CVE-2025-12343/index.md)","id":"CVE-2025-12343","markdown":"https://insights.sbomify.com/CVE-2025-12343/index.md","name":"CVE-2025-12343","record":{"aliases":["DEBIAN-CVE-2025-12343","GHSA-2g52-f4rf-8vm9","JLSEC-2026-642","MINI-6p56-2x6q-73q9","UBUNTU-CVE-2025-12343"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"FFmpeg multimedia library","requires_auth":"none","summary":"A double-free flaw in FFmpeg's TensorFlow backend allows attackers to cause a denial of service via crafted DNN models.","user_interaction":"required","vuln_class":"use_after_free"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"fedora","cpe":[{"product":"ffmpeg","vendor":"ffmpeg"}],"cvss":{"score":3.3,"severity":"low","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L","version":"3.1"},"cwes":[{"id":"CWE-415","name":"Double Free"}],"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Ffmpeg: double-free vulnerability in ffmpeg tensorflow dnn backend","id":"CVE-2025-12343","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"ffmpeg:ffmpeg","products":["ffmpeg:ffmpeg"],"type":"use_after_free","year":"2025"},"n_packages":0,"n_references":2,"next":{"headline":"Yonyou U8 Cloud Request Header NCloudGatewayServlet unrestricted upload","id":"CVE-2025-12344"},"packages":[],"prev":{"headline":"Serdar Bayram Ghost Hot Spot Login Auth.php sql injection","id":"CVE-2025-12342"},"products":["ffmpeg:ffmpeg"],"published":"2026-02-18","related":[{"cvss_score":10,"headline":"Memory corruption in n/a","id":"CVE-2013-0864","kev_date_added":null,"published":"2013-11-23"},{"cvss_score":10,"headline":"Memory corruption in n/a","id":"CVE-2013-0872","kev_date_added":null,"published":"2013-11-23"},{"cvss_score":10,"headline":"Memory corruption in n/a","id":"CVE-2013-0873","kev_date_added":null,"published":"2013-11-23"},{"cvss_score":10,"headline":"Null dereference in n/a","id":"CVE-2013-4265","kev_date_added":null,"published":"2013-11-23"},{"cvss_score":10,"headline":"Memory corruption in n/a","id":"CVE-2011-3937","kev_date_added":null,"published":"2013-01-05"},{"cvss_score":10,"headline":"Memory corruption in n/a","id":"CVE-2012-2772","kev_date_added":null,"published":"2012-09-10"},{"cvss_score":10,"headline":"Memory corruption in n/a","id":"CVE-2012-2775","kev_date_added":null,"published":"2012-09-10"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-02-25","vendors":["ffmpeg"]},"summary":"A double-free flaw in FFmpeg's TensorFlow backend allows attackers to cause a denial of service via crafted DNN models.","url":"https://insights.sbomify.com/CVE-2025-12343/"}