CVE-2026-63387
High · 7.0CVSS
7.0
EPSS
0.4%
Published
Aug 20, 2026
CISA due date
—
Cloudanix analysis
A bug in a widely used networking library can let attackers crash or slightly damage programs by sending specially crafted network messages.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- High
- Impact
- Denial Of Service
- Component
- Library
- Class
- Buffer Overflow
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
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, allowing a single null byte write past the buffer boundary on PTR, CNAME, MX, NS, or SOA records.
Why it matters to the business
Applications relying on libevent for event-driven DNS handling face risk of crashes or memory corruption, potentially disrupting services; Red Hat systems require prompt patching across EL8/EL9/EL10 to avoid operational downtime.
How an attack unfolds
An attacker-controlled DNS server returns a crafted response containing a long label sequence in supported record types; when libevent parses and formats the response, the final-label check fails to prevent the one-byte overflow, leading to crash or corruption.
How to fix it
Upgrade libevent to the fixed versions: 2.1.13-1.el10_2 on Red Hat EL10, 2.1.8-11.el8_10 on EL8, 2.1.13-1.el9_8 on EL9, and 2.1.13-0.1.hum1 for libevent-main; rebuild dependent applications against the updated library.
How to confirm the fix worked
Confirm installed package versions match or exceed the listed fixed releases via rpm/dnf; recompile or test applications with crafted DNS responses to verify absence of the off-by-one condition.
Typical attack path
- Position a malicious DNS server or MITM to respond to queries
- Send a DNS response with oversized PTR/CNAME/MX/NS/SOA data
- Trigger evdns_server_request_format_response processing
- Trigger one-byte out-of-bounds write and process instability
How to detect it
Review system and application logs for abrupt process terminations or segmentation faults in libevent-using binaries during DNS activity; inspect core dumps or stack traces for evdns.c involvement.
What your security team should do
- Apply the RHSA-2026:67910 updates to all affected Red Hat systems without delay
- Inventory and update downstream packages that depend on libevent
- Monitor for unexpected process crashes in DNS-handling services
- Consider temporary network controls to limit untrusted DNS responses if patching is delayed
The record
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.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|
Related vulnerabilities
- CVE-2026-121249 Buffer overflow in ANGLE in Google Chrome prior to 157.0.8103.38 allowed a remote… CWE-121
- CVE-2026-120752 PyMuPDF 1.25.3 before 2.0 contains a stack-based buffer overflow vulnerability in… CWE-121
- CVE-2026-29508 ReadyMedia (formerly MiniDLNA) versions 1.3.0 through 1.3.3 contain a stack-based buffer… CWE-121
- CVE-2026-58966 In multiple functions of hppsfilter.c, there is a possible out-of-bounds write due to a… CWE-121
- CVE-2026-120067 For updatable cursors, which are enabled by default, psqlODBC adds hidden ctid and, for… CWE-121
- CVE-2026-120061 The psqlODBC parser for ODBC escape sequences in application SQL text writes the argument… CWE-121
- CVE-2026-120063 When psqlODBC quotes a schema or table name into a 128-byte stack buffer, its length… CWE-121
- CVE-2026-106808 OpenAirInterface Core Network v2.2.1 has a stack-based buffer overflow vulnerability in… CWE-121