{"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-135712 in the wild and no public exploit code.","exposure":"An affected version is only exploitable if your software calls write_packet(). Many projects that include it are not exposed.","fix":"Upgrade ffmpeg/ffmpeg to 9.1 or later.","what":"CVE-2026-135712 is a medium-severity integer overflow 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-135712 and fix it if it is affected.\n\nWhat it is: CVE-2026-135712 is a medium-severity integer overflow 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-135712 in the wild and no public exploit code.\nExposure: An affected version is only exploitable if your software calls write_packet(). 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 write_packet() 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-135712/ (Markdown: https://insights.sbomify.com/CVE-2026-135712/index.md)","id":"CVE-2026-135712","markdown":"https://insights.sbomify.com/CVE-2026-135712/index.md","name":"CVE-2026-135712","record":{"aliases":["DEBIAN-CVE-2026-135712","ECHO-5ea4-23aa-18b8","GHSA-rw2g-gjp9-8mpr","UBUNTU-CVE-2026-135712"],"analysis":{"component_type":"library","exploitable_when_present":false,"fix_type":"upgrade","impacts":["data_read","denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"multimedia library","requires_auth":"none","requires_specific_call":true,"summary":"Crafted video remuxed into image files can leak heap memory or crash FFmpeg's img2enc tool; users processing untrusted media should care.","user_interaction":"required","vuln_class":"integer_overflow","vulnerable_functions":["write_packet()"]},"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":6.9,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-190","name":"Integer Overflow or Wraparound"}],"description":"FFmpeg before 9.1 contains an integer overflow vulnerability in the split_planes size check of write_packet() in libavformat/img2enc.c that allows out-of-bounds heap reads. Attackers can supply a crafted input whose rawvideo stream declares very large width and height, remuxed into .y image files, to leak heap memory into output files or crash the application.","ecosystems":["GitHub"],"exploits":{"exploitdb":0,"first_seen":"2026-11-24","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-11-24T10:50:11Z","kind":"github_poc","ref":"https://github.com/googlesky/CVE-2026-135712","stars":0,"title":"FFmpeg \u003c9.1: img2enc split_planes size check uses 32-bit int — oversized frame dimensions overflow and allow out-of-bounds reads. Verbatim arithmetic from ff53919^ vs int64 fix with UBSan: overflow/check-pass on vuln, rejected on fixed"}],"tier":"poc_unverified"},"has_fix":true,"headline":"FFmpeg before 9.1 Integer Overflow Out-of-Bounds Read via img2enc.c write_packet()","id":"CVE-2026-135712","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"GitHub","product":"ffmpeg:ffmpeg","products":["ffmpeg:ffmpeg"],"type":"integer_overflow","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 MMS-over-TCP ASF Header Handling","id":"CVE-2026-135713"},"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-135712"}],"prev":{"headline":"FFmpeg before 9.1 XML Injection via TTML Muxer xml:lang Attribute","id":"CVE-2026-135711"},"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":"partial"},"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":"Crafted video remuxed into image files can leak heap memory or crash FFmpeg's img2enc tool; users processing untrusted media should care.","url":"https://insights.sbomify.com/CVE-2026-135712/"}