{
  "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-vrjv-f8gv-2h35"
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-122"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/125xxx/CVE-2026-125401.json"
  },
  "details": "Ettercap before 0.8.5.1 contains a heap buffer overflow vulnerability in gg_get_version() in src/dissectors/ec_gg.c that writes up to 44 bytes into a 30-byte allocation. Remote attackers can send Gadu-Gadu traffic on TCP port 8074 with a crafted version field through a monitored network to corrupt heap memory in the Ettercap process, which normally runs as root.",
  "id": "CVE-2026-125401",
  "modified": "2026-11-21T20:45:33.703849391Z",
  "published": "2026-11-09T23:28:03.530Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/125xxx/CVE-2026-125401.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/Ettercap/ettercap/security/advisories/GHSA-vrjv-f8gv-2h35"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-125401"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/ettercap-through-0.8.4.1-heap-buffer-overflow-via-gadu-gadu-dissector"
    },
    {
      "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_gg.c#L599"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Ettercap before 0.8.5.1 Heap Buffer Overflow via Gadu-Gadu Dissector"
}