๐Ÿ” CVE Alert

CVE-2026-63387

HIGH 7.0

Libevent: Off-by-one stack buffer overflow in dnsname_to_labels via crafted DNS server response

CVSS Score
7.0
EPSS Score
0.0%
EPSS Percentile
0th

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 CWE-193 CWE-787
Vendor libevent
Product libevent
Published Aug 20, 2026
Stay Ahead of the Next One

Get instant alerts for libevent libevent

Be the first to know when new high vulnerabilities affecting libevent libevent are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H
Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
High

Affected Versions

libevent / libevent
>= 2.2.0-alpha, < 2.2.2-alpha < 2.1.13

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/libevent/libevent/security/advisories/GHSA-58rx-7448-jw47 github.com: https://github.com/libevent/libevent/releases/tag/release-2.1.13-stable github.com: https://github.com/libevent/libevent/releases/tag/release-2.2.2-alpha