{"answers":{"affected":"1 open source package ship an affected version, including ffmpeg/ffmpeg. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-135725 in the wild and no public exploit code.","exposure":"An affected version is only exploitable if your software calls ff_rtmp_packet_write() or handle_chunk_size(). Many projects that include it are not exposed.","fix":"Upgrade ffmpeg/ffmpeg to 9.1 or later.","what":"CVE-2026-135725 is a high-severity memory corruption vulnerability in FFmpeg, published on 24 Nov 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-2026-135725 and fix it if it is affected.\n\nWhat it is: CVE-2026-135725 is a high-severity memory corruption vulnerability in FFmpeg, published on 24 Nov 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-2026-135725 in the wild and no public exploit code.\nExposure: An affected version is only exploitable if your software calls ff_rtmp_packet_write() or handle_chunk_size(). Many projects that include it are not exposed.\n\nAffected packages and fixed versions:\n- ffmpeg/ffmpeg (GitHub): affected all versions; fixed in 9.1\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.\n   If an affected version is present, also search the code for calls to ff_rtmp_packet_write() or handle_chunk_size() and report whether any exist.\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-2026-135725/ (Markdown: https://insights.sbomify.com/CVE-2026-135725/index.md)","id":"CVE-2026-135725","markdown":"https://insights.sbomify.com/CVE-2026-135725/index.md","name":"CVE-2026-135725","record":{"aliases":["DEBIAN-CVE-2026-135725","ECHO-f9c5-d162-61a5","GHSA-crqc-2c84-mx98","UBUNTU-CVE-2026-135725"],"analysis":{"component_type":"library","exploitable_when_present":false,"fix_type":"upgrade","impacts":["code_execution","denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"multimedia framework","requires_auth":"none","requires_specific_call":true,"summary":"A malicious RTMP server can overflow a stack buffer in FFmpeg publishing clients, potentially executing code; FFmpeg users publishing to RTMP should care.","user_interaction":"required","vuln_class":"memory_corruption","vulnerable_functions":["ff_rtmp_packet_write()","handle_chunk_size()"]},"analysis_generated_by":"sbomify/insights-2b-fp8","assigner":"VulnCheck","component":null,"cpe":[{"criteria":[{"cpe":"cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*","source":"nvd","version_end_excluding":"9.1"}],"n_criteria":1,"name":"FFmpeg","product":"ffmpeg","vendor":"ffmpeg"}],"cvss":{"score":8.5,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-121","name":"Stack-based Buffer Overflow"}],"description":"FFmpeg before 9.1 contains a stack-based buffer overflow vulnerability in ff_rtmp_packet_write() in libavformat/rtmppkt.c that allows malicious RTMP servers to overflow a 16-byte header buffer. Attackers can send a Set Chunk Size packet on a high channel id with an extended timestamp, which handle_chunk_size() echoes back, corrupting the publishing client's stack.","ecosystems":["GitHub"],"exploits":{"exploitdb":0,"first_seen":"2026-11-24","github_poc":2,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-11-24T12:14:15Z","kind":"github_poc","ref":"https://github.com/googlesky/CVE-2026-135725","stars":0,"title":"FFmpeg \u003c9.1: ff_rtmp_packet_write() uses a 16-byte stack buffer for an 18-byte RTMP header — extended timestamp packets overflow the stack. Verbatim buffer size from 041098a^ vs fix with ASan: stack WRITE overflow on vuln, clean on fixed"},{"date":"2026-11-24T16:01:21Z","kind":"github_poc","ref":"https://github.com/cveForge/CVE-2026-135725","stars":0,"title":"PoC for CVE-2026-135725 — FFmpeg RTMP Stack Overflow ff_rtmp_packet_write (CVSS 7.8)"}],"tier":"poc_unverified"},"has_fix":true,"headline":"FFmpeg before 9.1 Stack-Based Buffer Overflow via ff_rtmp_packet_write()","id":"CVE-2026-135725","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"GitHub","product":"ffmpeg:ffmpeg","products":["ffmpeg:ffmpeg"],"type":"memory_corruption","year":"2026"},"main_cpe":null,"main_fixed":["9.1"],"main_package":"ffmpeg/ffmpeg","n_packages":1,"n_references":5,"n_vendor_status":1,"next":{"headline":"FFmpeg before 9.1 NULL Pointer Dereference via rdt_parse_packet()","id":"CVE-2026-135726"},"nickname":null,"packages":[{"ecosystem":"GitHub","fixed":["9.1"],"introduced":["0"],"last_affected":[],"name_kind":null,"package":"ffmpeg/ffmpeg","purl":"pkg:github/ffmpeg/ffmpeg","purl_source":"cna","scope":"upstream","source":"CVE-2026-135725"}],"prev":{"headline":"FFmpeg before 9.1 NULL Pointer Dereference via avformat_stream_group_create()","id":"CVE-2026-135724"},"products":["FFmpeg"],"published":"2026-11-24","related":[{"cvss_score":10,"headline":"Memory corruption in ffmpeg:ffmpeg","id":"CVE-2013-0864","kev_date_added":null,"published":"2013-11-23"},{"cvss_score":10,"headline":"Memory corruption in ffmpeg:ffmpeg","id":"CVE-2013-0872","kev_date_added":null,"published":"2013-11-23"},{"cvss_score":10,"headline":"Memory corruption in ffmpeg:ffmpeg","id":"CVE-2013-0873","kev_date_added":null,"published":"2013-11-23"},{"cvss_score":10,"headline":"Null dereference in ffmpeg:ffmpeg","id":"CVE-2013-4265","kev_date_added":null,"published":"2013-11-23"},{"cvss_score":10,"headline":"Other in ffmpeg:ffmpeg","id":"CVE-2011-3937","kev_date_added":null,"published":"2013-01-05"},{"cvss_score":10,"headline":"Other in ffmpeg:ffmpeg","id":"CVE-2012-2772","kev_date_added":null,"published":"2012-09-10"},{"cvss_score":10,"headline":"Memory corruption in ffmpeg:ffmpeg","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)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","text_fixes":[],"updated":"2026-11-24","vendor_status":[{"n_packages":1,"name":"Upstream","packages":[{"fixed":["9.1"],"name":"ffmpeg:ffmpeg","sources":["NVD"],"status":"fixed"}],"release":null,"scope":"upstream","status":"fixed","statuses":{"fixed":1},"vendor":null}],"vendors":["FFmpeg"]},"summary":"A malicious RTMP server can overflow a stack buffer in FFmpeg publishing clients, potentially executing code; FFmpeg users publishing to RTMP should care.","url":"https://insights.sbomify.com/CVE-2026-135725/"}