{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-63387","id":"CVE-2026-63387","title":"Libevent: Off-by-one stack buffer overflow in dnsname_to_labels via crafted DNS server response","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 writ","descriptionLong":"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.","published":"2026-08-20T17:53:41.863Z","updated":"2026-10-29T12:27:01.947041909Z","reserved":"2026-07-16T17:39:30.171Z","status":"PUBLISHED","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H","rating":"high","source":"GitHub_M"},{"version":"3.1","score":7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["libevent"],"affectedProducts":[{"vendor":"libevent","product":"libevent","defaultStatus":null,"versions":[{"version":">= 2.2.0-alpha, < 2.2.2-alpha","status":"affected"},{"version":"< 2.1.13","status":"affected"}],"platforms":[]}],"packages":[],"cwes":["CWE-121","CWE-193","CWE-787"],"aliases":["GHSA-58rx-7448-jw47"],"references":[{"url":"https://github.com/libevent/libevent/security/advisories/GHSA-58rx-7448-jw47","tags":["x_refsource_CONFIRM","exploit","advisory"]},{"url":"https://github.com/libevent/libevent/releases/tag/release-2.1.13-stable","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/libevent/libevent/releases/tag/release-2.2.2-alpha","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/63xxx/CVE-2026-63387.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-63387","tags":["advisory"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.00416,"epssPercentile":0.36752,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-63387","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-63387","ok":false,"note":"unavailable (rate limited?)"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-63387","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-63387","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}