{
  "id": "CVE-2025-11678",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-11678",
  "published_at": "2025-10-20T13:51:17.328Z",
  "title": "Stack-based Buffer Overflow in libwebsockets DNS response parsing",
  "vendor": "warmcat",
  "product": "libwebsocket",
  "cvss": {
    "score": 7.5,
    "source": "cna",
    "vector": "CVSS:4.0/AV:A/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "Stack-based Buffer Overflow in lws_adns_parse_label in warmcat libwebsockets allows, when the LWS_WITH_SYS_ASYNC_DNS flag is enabled during compilation, to overflow the label_stack, when the attacker is able to sniff a DNS request in order to craft a response with a matching id containing a label longer than the maximum.",
  "cwe": "CWE-121",
  "cvss_by_source": {
    "cna": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "warmcat",
        "product": "libwebsocket",
        "ranges": [
          "\u003e= 4.0, \u003c= 4.4.2",
          "\u003e= 4.0, \u003c= 4.3.6"
        ],
        "fixed_in": null
      }
    ],
    "solutions": [
      "Update the library to its latest stable release, if not possible backport the fix commit 2bb9598562b37c942ba5b04bcde3f7fdf66a9d3a"
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://libwebsockets.org/git/libwebsockets/commit?id=2bb9598562b37c942ba5b04bcde3f7fdf66a9d3a"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
