{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "0.8.5.1"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "1d8badb713579419a29a494bb463a1af59707e98"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "832524f3c4c215f1007fe9f190dbf052ee965b55"
            },
            {
              "fixed": "1d8badb713579419a29a494bb463a1af59707e98"
            }
          ],
          "repo": "https://github.com/ettercap/ettercap",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-w5ch-7c4x-crcc"
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-124"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/125xxx/CVE-2026-125406.json"
  },
  "details": "Ettercap before 0.8.5.1 contains a stack buffer underwrite vulnerability in the telnet dissector in src/dissectors/ec_telnet.c that decrements the output pointer on backspace without a lower bound check. Attackers can send a telnet stream with more backspaces than preceding characters to write below the stack buffer, corrupting the stack of the Ettercap process that normally runs as root.",
  "id": "CVE-2026-125406",
  "modified": "2026-11-21T20:45:37.009325468Z",
  "published": "2026-11-09T23:28:07.044Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/125xxx/CVE-2026-125406.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/Ettercap/ettercap/security/advisories/GHSA-w5ch-7c4x-crcc"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-125406"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/ettercap-through-0.8.4.1-stack-buffer-underwrite-via-telnet-dissector-backspace-handling"
    },
    {
      "type": "FIX",
      "url": "https://github.com/Ettercap/ettercap/commit/1d8badb713579419a29a494bb463a1af59707e98"
    },
    {
      "type": "FIX",
      "url": "https://github.com/Ettercap/ettercap/pull/1330"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/Ettercap/ettercap"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/Ettercap/ettercap/blob/v0.8.4.1/src/dissectors/ec_telnet.c#L150-L159"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Ettercap before 0.8.5.1 Stack Buffer Underwrite via Telnet Dissector Backspace Handling"
}