{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2020-27347 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2020-27347 is a high-severity memory corruption vulnerability in Ubuntu tmux, published on 6 Nov 2020. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2020-27347 and fix it if it is affected.\n\nWhat it is: CVE-2020-27347 is a high-severity memory corruption vulnerability in Ubuntu tmux, published on 6 Nov 2020. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2020-27347 in the wild and no public exploit code.\n\nAffected product: Ubuntu tmux. 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-2020-27347/ (Markdown: https://insights.sbomify.com/CVE-2020-27347/index.md)","id":"CVE-2020-27347","markdown":"https://insights.sbomify.com/CVE-2020-27347/index.md","name":"CVE-2020-27347","record":{"aliases":["ALPINE-CVE-2020-27347","DEBIAN-CVE-2020-27347","GHSA-xp5q-c655-9565","JLSEC-2026-528","UBUNTU-CVE-2020-27347","USN-4618-1"],"analysis":{"component_type":"desktop_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"terminal multiplexer","requires_auth":"low_privilege","summary":"A stack-based buffer overflow in tmux allows attackers to execute arbitrary code via malicious terminal output.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"canonical","cpe":[{"product":"tmux","vendor":"tmux_project"}],"cvss":{"score":8.8,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"},{"id":"CWE-121","name":"Stack-based Buffer Overflow"}],"description":"In tmux before version 3.1c the function input_csi_dispatch_sgr_colon() in file input.c contained a stack-based buffer-overflow that can be exploited by terminal output.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2025-05-16","github_poc":1,"max_poc_stars":1,"metasploit":0,"nuclei":0,"refs":[{"date":"2025-05-16T08:46:17Z","kind":"github_poc","ref":"https://github.com/lucadibello/tmux-fuzzing","stars":1,"title":"Enhanced fuzzing for tmux using OSS-Fuzz. Includes custom `cmd-fuzzer` and `argument-fuzzer` harnesses for improved code coverage and a PoC for `CVE-2020-27347`"}],"tier":"poc_unverified"},"has_fix":true,"headline":"tmux stack buffer overflow in function input_csi_dispatch_sgr_colon","id":"CVE-2020-27347","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"memory_corruption","year":"2020"},"n_packages":0,"n_references":4,"next":{"headline":"snapcraft may build snaps with incorrect LD_LIBRARY_PATH","id":"CVE-2020-27348"},"packages":[],"prev":{"headline":"DO NOT USE THIS CANDIDATE NUMBER.","id":"CVE-2020-27346"},"products":["tmux"],"published":"2020-11-06","related":[],"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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-09-17","vendors":["Ubuntu","tmux"]},"summary":"A stack-based buffer overflow in tmux allows attackers to execute arbitrary code via malicious terminal output.","url":"https://insights.sbomify.com/CVE-2020-27347/"}