CVE-2026-63387
Reported by github_m · Published August 20, 2026
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| libevent-debuginfo | errata.rockylinux.org | 2.1.13-1.el9, 2.1.13-1.el10, 2.1.8-11.el8 |
| libevent-doc | errata.rockylinux.org | 2.1.13-1.el9, 2.1.13-1.el10, 2.1.8-11.el8 |
| libevent | errata.rockylinux.org | 2.1.13-1.el9, 2.1.13-1.el10, 2.1.8-11.el8 |
| libevent-debugsource | errata.rockylinux.org | 2.1.13-1.el9, 2.1.13-1.el10, 2.1.8-11.el8 |
| libevent-devel | errata.rockylinux.org | 2.1.13-1.el9, 2.1.13-1.el10, 2.1.8-11.el8 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| libevent | libevent | >= 2.2.0-alpha, < 2.2.2-alpha, < 2.1.13 |
| libevent | libevent | 2.2.0-alpha, 0 |
Timeline
- Aug 20, 2026 CVE Published
- Aug 22, 2026 Coalition ESS Score
- Aug 24, 2026 EPSS Score (30 in total, the first dated here)
- Aug 25, 2026 CVE Updated
- Sep 3, 2026 Security Advisory (2 in total, the first dated here)
- Sep 28, 2026 Distribution Patch (4 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-63387
vulnetix vdb fixes CVE-2026-63387
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-63387/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/libevent/libevent/security/advisories/GHSA-58rx-7448-jw47 x_refsource_CONFIRM
- https://github.com/libevent/libevent/releases/tag/release-2.1.13-stable x_refsource_MISC
- https://github.com/libevent/libevent/releases/tag/release-2.2.2-alpha x_refsource_MISC