CVE-2026-63387CWE-121CWE-193CWE-787

CVE-2026-63387

High · published August 20, 2026

CVSS v3.1
7.0
EPSS
0%
Percentile
34.8
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.0 · HIGH
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H
CVSS v4.0
Not supplied
EPSS
0.00416 · 34.8th percentile
Weaknesses
CWE-121 · Stack-based Buffer Overflow; CWE-193 · Off-by-one Error; CWE-787 · Out-of-bounds Write
Published
2026-08-20T22:16Z
References (4)
EPSS history
Timeline
  • 20 AUG 17:53Z
    Libevent: Off-by-one stack buffer overflow in dnsname_to_labels via crafted DNS server response
    cvelistv5