CVE-2026-63387: libevent Stack-based Buffer Overflow
Vulnerability summary
CVE-2026-63387 is a high (CVSS 7.0) Stack-based Buffer Overflow vulnerability in libevent. EPSS estimates a 0.42% chance of exploitation in the next 30 days, higher than 34.7% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 6 · Related 1Timeline
- 20-08-2026PublishedVulnerability first disclosed.
- 25-08-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 4 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated7.0HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H
- OSV · DebianEcosystem advisory · calculated7.0HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H
- NVDNIST7.0HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H
EPSS trend
Probability
0.42%
Chance of exploitation in the next 30 days
Percentile
35%
Versus all other CVEs
30-day change
0.00 pp
From 0.42% on 21-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-121Stack-based Buffer OverflowA stack-based buffer overflow condition is a condition where the buffer being overwritten is allocated on the stack (i.e., is a local variable or, rarely, a parameter to a function).
- CWE-193Off-by-one ErrorA product calculates or uses an incorrect maximum or minimum value that is 1 more, or 1 less, than the correct value.
- CWE-787Out-of-bounds WriteThe product writes data past the end, or before the beginning, of the intended buffer.
Affected systems
Debian1 product
- libevent< 2.1.12-stable-8+deb12u1 | < 2.1.13-stable-1~deb13u1 | < 2.1.13-stable-1
Libevent1 product
- libevent≥ 2.2.0-alpha, < 2.2.2-alpha | < 2.1.13
Ubuntu1 product
- libeventAll versions (No fix recorded) | < 2.1.12-stable-10ubuntu0.2
3 vendors · 3 products
References
8 links- github.com/libevent/libevent/security/advisories/GHSA-58rx-7448-jw47X Refsource CONFIRM
- github.com/libevent/libevent/releases/tag/release-2.1.13-stableX Refsource MISC
- github.com/libevent/libevent/releases/tag/release-2.2.2-alphaX Refsource MISC