Off-by-One Stack Buffer Overflow in Libevent Affects Multiple DNS Record Types
CVE-2026-63387

7HIGH

Key Information:

Vendor

Libevent

Status
Vendor
CVE Published:
20 August 2026

What is CVE-2026-63387?

Libevent, an event notification library, is affected by an off-by-one stack buffer overflow vulnerability in the 'evdns.c' file. This issue arises when the 'dnsname_to_labels' function processes a name-bearing DNS record, potentially causing a crash or corruption. The vulnerability allows for a crafted DNS server response with record types such as PTR, CNAME, MX, NS, or SOA to trigger an out-of-bounds write. The flaw is present in versions prior to 2.1.13 and 2.2.2-alpha. Users are strongly advised to upgrade to secure versions to mitigate this risk.

Affected Version(s)

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

libevent < 2.1.13 < 2.1.13

References

CVSS V3.1

Score:
7
Severity:
HIGH
Confidentiality:
Low
Integrity:
Low
Availability:
Low
Attack Vector:
Network
Attack Complexity:
High
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.