PoC Monitor
← All CVEs
CVE-2026-63387published 20 Aug 2026 17:53 UTCData: JSON · API

Libevent

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

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.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.0high · scored by CNA · CWE-121
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

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

Fixed in 2.2.2-alpha, 2.1.13

Mitigation

Upgrade libevent to 2.2.2-alpha or 2.1.13 or later.

References

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published20 Aug 2026 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.