Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2020-27347

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2020-27347
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 12:36 UTC · Revision 1

Source evidence

CVE-2020-27347

core-osv · Original source

Published 6 Nov 2020, 03:15 UTC

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.

osv:CVE-2020-27347
Complete source record
{
  "id": "61a5c8f14003fcca76d56b1524dc4d33e84be7ac3b98a06c077f0737ed38c626",
  "url": "https://osv.dev/vulnerability/CVE-2020-27347",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2020-27347",
    "summary": "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.",
    "evidence": "osv:CVE-2020-27347",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2020-27347",
      "aliases": [
        "CVE-2020-27347"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/tmux/tmux",
              "type": "GIT",
              "events": [
                {
                  "introduced": "4cb13d95bac1c7a14f216a0fd1644d8b5e389258"
                },
                {
                  "last_affected": "25cae5d86f01d0deb050243842ed5d967b3dc411"
                },
                {
                  "fixed": "a868bacb46e3c900530bed47a1c6f85b0fbe701c"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:tmux_project:tmux:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.9"
                      },
                      {
                        "last_affected": "3.1b"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "a868bacb46e3c900530bed47a1c6f85b0fbe701c"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-27347.json",
            "vanir_signatures": [
              {
                "id": "CVE-2020-27347-4e35a636",
                "digest": {
                  "length": 1720,
                  "function_hash": "170732737008620410805361164261211254853"
                },
                "source": "https://github.com/tmux/tmux/commit/a868bacb46e3c900530bed47a1c6f85b0fbe701c",
                "target": {
                  "file": "input.c",
                  "function": "input_csi_dispatch_sgr_colon"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2020-27347-c15704b2",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "240113919815530745566403619576218062793",
                    "77253474740385740734274446039228610202",
                    "174889705706748848756308818781097816062",
                    "12643815915660841977168808069864222592",
                    "125294518473082047418332633995689035105"
                  ]
                },
                "source": "https://github.com/tmux/tmux/commit/a868bacb46e3c900530bed47a1c6f85b0fbe701c",
                "target": {
                  "file": "input.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-20T13:59:09Z"
          }
        }
      ],
      "modified": "2026-10-20T13:59:09.297696655Z",
      "provider": "osv",
      "references": [
        "https://raw.githubusercontent.com/tmux/tmux/3.1c/CHANGES",
        "https://security.gentoo.org/glsa/202011-10",
        "https://github.com/tmux/tmux/commit/a868bacb46e3c900530bed47a1c6f85b0fbe701c",
        "https://www.openwall.com/lists/oss-security/2020/11/05/3"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2020-27347",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 388471,
  "published_at": "2020-11-06T03:15:17.137+00:00"
}