Stack-based Buffer Overflow Affecting libevent-devel package, versions <2.1.13-150600.3.3.1


Severity

Recommended
0.0
high
0
10

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

EPSS
0.42% (34th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-SLES157-LIBEVENTDEVEL-23187023
  • published1 Dec 2026
  • disclosed30 Nov 2026

Introduced: 30 Nov 2026

NewCVE-2026-63387  (opens in a new tab)
CWE-121  (opens in a new tab)
CWE-193  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade SLES:15.7 libevent-devel to version 2.1.13-150600.3.3.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libevent-devel package and not the libevent-devel package as distributed by SLES. See How to fix? for SLES:15.7 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1