CVEfocus › CVE database › CVE-2026-63387

CVE-2026-63387Libevent: Off-by-one stack buffer overflow in dnsname_to_labels via crafted DNS server…

CVSS 7.0 HighEPSS 0.4% (higher than 28% of CVEs)Published 2026-08-20Updated 2026-08-25Assigner: GitHub_M

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-121CWE-193CWE-787

What to do

Fixed builds are available from AlmaLinux, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

23Fixed
11Fix pending
5Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04libeventFixed2.1.12-stable-10ubuntu0.2UBUNTU-CVE-2026-63387
Ubuntu 24.04libeventWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2026-63387
Ubuntu 22.04libeventWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2026-63387
Ubuntu 20.04libeventFix pendingUBUNTU-CVE-2026-63387
Ubuntu 18.04libeventFix pendingUBUNTU-CVE-2026-63387
Ubuntu 16.04libeventFix pendingUBUNTU-CVE-2026-63387
Ubuntu 14.04libeventFix pendingUBUNTU-CVE-2026-63387
Debian 14libeventFixed2.1.13-stable-1DEBIAN-CVE-2026-63387
Debian 13libeventFixed2.1.13-stable-1~deb13u1DEBIAN-CVE-2026-63387
Debian 12libeventFixed2.1.12-stable-8+deb12u1DEBIAN-CVE-2026-63387
Red Hat Enterprise Linux 10libeventFixed0:2.1.13-1.el10_2RHSA-2026:67909
Red Hat Enterprise Linux 10libevent-develFixed0:2.1.13-1.el10_2RHSA-2026:67909
Red Hat Enterprise Linux 10libevent-docFixed0:2.1.13-1.el10_2RHSA-2026:67909
Red Hat Enterprise Linux 9libeventFixed0:2.1.13-1.el9_8RHSA-2026:67910
Red Hat Enterprise Linux 9libevent-develFixed0:2.1.13-1.el9_8RHSA-2026:67910
Red Hat Enterprise Linux 9libevent-docFixed0:2.1.13-1.el9_8RHSA-2026:67910
Red Hat Enterprise Linux 8libeventFixed0:2.1.8-11.el8_10RHSA-2026:67908
Red Hat Enterprise Linux 8libevent-develFixed0:2.1.8-11.el8_10RHSA-2026:67908
Red Hat Enterprise Linux 8libevent-docFixed0:2.1.8-11.el8_10RHSA-2026:67908
Red Hat Enterprise Linux 7libeventFix pending
Affected
Red Hat Enterprise Linux 7libevent-develFix pending
Affected
Red Hat Enterprise Linux 7libevent-docFix pending
Affected
Red Hat Enterprise Linux 6libeventFix pending
Affected
Red Hat Enterprise Linux 6libevent-develFix pending
Affected
Red Hat Enterprise Linux 6libevent-docFix pending
Affected
Red Hat Enterprise Linux 6libevent-headersFix pending
Affected
Red Hat Enterprise Linux 6libevent2Will not fix
Will not fix
Red Hat Enterprise Linux 6libevent2-develWill not fix
Will not fix
Red Hat Enterprise Linux 6libevent2-docWill not fix
Will not fix
AlmaLinux 10libevent-docFixed2.1.13-1.el10_2ALSA-2026:67909
AlmaLinux 9libeventFixed2.1.13-1.el9_8ALSA-2026:67910
AlmaLinux 9libevent-develFixed2.1.13-1.el9_8ALSA-2026:67910
AlmaLinux 9libevent-docFixed2.1.13-1.el9_8ALSA-2026:67910
AlmaLinux 8libeventFixed2.1.8-11.el8_10ALSA-2026:67908
AlmaLinux 8libevent-develFixed2.1.8-11.el8_10ALSA-2026:67908
AlmaLinux 8libevent-docFixed2.1.8-11.el8_10ALSA-2026:67908
Rocky Linux 10libeventFixed0:2.1.13-1.el10_2RLSA-2026:67909
Rocky Linux 9libeventFixed0:2.1.13-1.el9_8RLSA-2026:67910
Rocky Linux 8libeventFixed0:2.1.8-11.el8_10RLSA-2026:67908

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.