{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "last_affected": "0.8.5.1"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "56101d9ebae0179a53fea6778759ed60c970dbed"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "56101d9ebae0179a53fea6778759ed60c970dbed"
            }
          ],
          "repo": "https://github.com/ettercap/ettercap",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-r2hv-j478-3cfg"
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-125"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/131xxx/CVE-2026-131854.json"
  },
  "details": "Ettercap through 0.8.5.1 contains a heap out-of-bounds read vulnerability in dissector_mysql() in src/dissectors/ec_mysql.c that copies seed and password bytes without bounds checks. A malicious MySQL server or client can send truncated greeting or login packets to leak adjacent heap memory through hex-encoded output in the interface and log.",
  "id": "CVE-2026-131854",
  "modified": "2026-11-18T20:45:44.189614313Z",
  "published": "2026-11-17T23:42:26.829Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/131xxx/CVE-2026-131854.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/Ettercap/ettercap/security/advisories/GHSA-r2hv-j478-3cfg"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-131854"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/ettercap-through-0.8.5.1-heap-out-of-bounds-read-via-mysql-dissector"
    },
    {
      "type": "FIX",
      "url": "https://github.com/Ettercap/ettercap/commit/56101d9ebae0179a53fea6778759ed60c970dbed"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/Ettercap/ettercap"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/Ettercap/ettercap/blob/v0.8.5.1/src/dissectors/ec_mysql.c#L131-L163"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Ettercap through 0.8.5.1 Heap Out-of-Bounds Read via MySQL Dissector"
}