{"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-135740 in the wild and no public exploit code.","exposure":"An affected version is only exploitable if your software calls build_histogram. Many projects that include it are not exposed.","fix":"Upgrade ffmpeg/ffmpeg to 9.1 or later.","what":"CVE-2026-135740 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-135740 and fix it if it is affected.\n\nWhat it is: CVE-2026-135740 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-135740 in the wild and no public exploit code.\nExposure: An affected version is only exploitable if your software calls build_histogram. 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 build_histogram 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-135740/ (Markdown: https://insights.sbomify.com/CVE-2026-135740/index.md)","id":"CVE-2026-135740","markdown":"https://insights.sbomify.com/CVE-2026-135740/index.md","name":"CVE-2026-135740","record":{"aliases":["DEBIAN-CVE-2026-135740","ECHO-9f53-0a1d-f947","GHSA-mrgq-3vwh-575j","UBUNTU-CVE-2026-135740"],"analysis":{"component_type":"library","exploitable_when_present":false,"fix_type":"upgrade","impacts":["denial_of_service","code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"multimedia library","requires_auth":"none","requires_specific_call":true,"summary":"Crafted video processed by FFmpeg's readeia608 filter can corrupt heap memory, crashing or possibly executing code.","user_interaction":"required","vuln_class":"memory_corruption","vulnerable_functions":["build_histogram"]},"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-787","name":"Out-of-bounds Write"}],"description":"FFmpeg before 9.1 contains a heap out-of-bounds write vulnerability in libavfilter/vf_readeia608.c because build_histogram() does not clamp high bit depth luma samples to the nominal maximum. Attackers can supply crafted 9, 10, 12 or 14 bit gray or YUV video to corrupt heap memory, causing crashes or possibly code execution.","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-24T14:12:52Z","kind":"github_poc","ref":"https://github.com/googlesky/CVE-2026-135740","stars":0,"title":"FFmpeg \u003c9.1: readeia608 build_histogram() indexes a fixed histogram with unclamped high-bit-depth luma — OOB heap write. Verbatim clamp from 34dce12^ vs fix with ASan: heap OOB on vuln, clamped on fixed"},{"date":"2026-11-24T16:00:34Z","kind":"github_poc","ref":"https://github.com/cveForge/CVE-2026-135740","stars":0,"title":"PoC for CVE-2026-135740 — FFmpeg vf_readeia608 Heap OOB Read (CVSS 7.8)"}],"tier":"poc_unverified"},"has_fix":true,"headline":"FFmpeg before 9.1 Heap Out-of-Bounds Write via readeia608 Filter Histogram","id":"CVE-2026-135740","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 Heap Out-of-Bounds Read via lut2 Filter","id":"CVE-2026-135741"},"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-135740"}],"prev":{"headline":"FFmpeg 7.1 before 9.1 Out-of-Bounds Read via Scale Filter process_command","id":"CVE-2026-135739"},"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-28","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 processed by FFmpeg's readeia608 filter can corrupt heap memory, crashing or possibly executing code.","url":"https://insights.sbomify.com/CVE-2026-135740/"}