{
  "id": "CVE-2026-63387",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-63387",
  "published_at": "2026-08-20T17:53:41.863Z",
  "title": "Libevent: Off-by-one stack buffer overflow in dnsname_to_labels via crafted DNS server response",
  "vendor": "libevent",
  "product": "libevent",
  "cvss": {
    "score": 7,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H"
  },
  "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": "Libevent is an event notification library. Prior to 2.1.13 and 2.2.2-alpha, libevent has an off-by-one stack buffer overflow in evdns.c when dnsname_to_labels formats a name-bearing DNS record at the end of the 64 KB stack buffer allocated by evdns_server_request_format_response. The final-label check permits j plus label_len plus one to equal buf_len, after which the terminating null byte is written to buf[buf_len]. A crafted DNS server response containing PTR, CNAME, MX, NS, or SOA data can trigger the one-byte out-of-bounds write and crash or corrupt the process. This issue is fixed in versions 2.1.13 and 2.2.2-alpha.",
  "cwe": "CWE-121",
  "cvss_by_source": {
    "cna": 7
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "libevent",
        "product": "libevent",
        "ranges": [
          "\u003e= 2.2.0-alpha, \u003c 2.2.2-alpha",
          "\u003c 2.1.13"
        ],
        "fixed_in": [
          "2.2.2-alpha",
          "2.1.13"
        ]
      }
    ],
    "upgrade": [
      "Upgrade libevent to 2.2.2-alpha or 2.1.13 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/libevent/libevent/security/advisories/GHSA-58rx-7448-jw47"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/libevent/libevent/releases/tag/release-2.1.13-stable"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/libevent/libevent/releases/tag/release-2.2.2-alpha"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
