CVE-2026-63387 json
Libevent: Off-by-one stack buffer overflow in dnsname_to_labels via crafted DNS server response
published 2026-08-20 2 mo ago modified 2026-10-26 14 d ago also EUVD-2026-63508
- cvss
- 7.0
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 36%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- libevent_project libevent 2.1.13, 2.2.2-alpha
- libevent Debian 12 2.1.12-stable-8+deb12u1
- libevent Debian 13 2.1.13-stable-1~deb13u1
- libevent Debian 14 2.1.13-stable-1
debian advisories DEBIAN-CVE-2026-63387
- libevent Ubuntu 26.04 LTS 2.1.12-stable-10ubuntu0.2
ubuntu advisories UBUNTU-CVE-2026-63387
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- libevent RHEL 9 2.1.13-1.el9_8
- libevent RHEL 8 2.1.8-11.el8_10
- libevent RHEL 10.2 2.1.13-1.el10_2
- libevent hummingbird 1 2.1.13-0.1.hum1
red hat advisories RHSA-2026:67910RHSA-2026:67908RHSA-2026:67909RHSA-2026:63388
- libevent openSUSE Tumbleweed 2.1.13-1.1
opensuse advisories openSUSE-SU-2026:12330-1
- libevent AlmaLinux 8 2.1.8-11.el8_10
- libevent AlmaLinux 10 2.1.13-1.el10_2
- libevent AlmaLinux 9 2.1.13-1.el9_8
almalinux advisories ALSA-2026:67908ALSA-2026:67909ALSA-2026:67910
- libevent Rocky Linux 10 2.1.13-1.el10_2
- libevent Rocky Linux 8 2.1.8-11.el8_10
- libevent Rocky Linux 9 2.1.13-1.el9_8
rocky linux advisories RLSA-2026:67909RLSA-2026:67908RLSA-2026:67910
- libevent Azure Linux 3.0 2.1.13-1
- mysql Azure Linux 3.0 8.0.46-2
- ntp Azure Linux 3.0 4.2.8p17-3
azure linux advisories AZL-96950AZL-97530AZL-97548
Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-63387 updated cvss 8.6
libevent: Libevent: Off-by-one stack buffer overflow leading to denial of service or data corruption
-
Red Hat Enterprise Linux 6 libevent 1.4.13-4.el6, libevent2 2.0.21-2.el6affected: workaround, no fix available, no fix planned “Will not fix”
-
Red Hat Enterprise Linux 7 libevent 1.4.13-4.el6 Red Hat OpenShift Container Platform 4 openshift/ose-rhel-coreos-8 Red Hat OpenShift Container Platform 5 openshift/ose-rhel-coreos-9affected: workaround, no fix available
-
Red Hat Cert Manager support for Red Hat OpenShift release 1.20 cert-manager/cert-manager-operator-rhel9 1790272426, cert-manager/cert-manager-operator-rhel9 1790589855, cert-manager/jetstack-cert-manager-rhel9 1790223279, cert-manager/jetstack-cert-manager-rhel9 1790589912, cert-manager/cert-manager-istio-csr-rhel9 1790223719, cert-manager/cert-manager-istio-csr-rhel9 1790589914, +1 morefixed: vendor fix RHSA-2026:72475
-
Red Hat Enterprise Linux AppStream (v. 8) libevent-devel 2.1.8-11.el8_10, libevent-debuginfo 2.1.8-11.el8_10, libevent-debugsource 2.1.8-11.el8_10fixed: vendor fix RHSA-2026:67908
-
Red Hat Enterprise Linux AppStream (v. 9) libevent-doc 2.1.13-1.el9_8, libevent-devel 2.1.13-1.el9_8, libevent-debuginfo 2.1.13-1.el9_8, libevent-debugsource 2.1.13-1.el9_8fixed: vendor fix RHSA-2026:67910
-
Red Hat Enterprise Linux AppStream (v. 10) libevent-doc 2.1.13-1.el10_2, libevent-devel 2.1.13-1.el10_2, libevent-debuginfo 2.1.13-1.el10_2, libevent-debugsource 2.1.13-1.el10_2fixed: vendor fix RHSA-2026:67909
-
Red Hat Enterprise Linux BaseOS (v. 8) libevent 2.1.8-11.el8_10fixed: vendor fix RHSA-2026:67908
-
Red Hat Enterprise Linux BaseOS (v. 9) libevent 2.1.13-1.el9_8fixed: vendor fix RHSA-2026:67910
show 5 moreshow fewer
-
Red Hat Enterprise Linux BaseOS (v. 10) libevent 2.1.13-1.el10_2fixed: vendor fix RHSA-2026:67909
-
Red Hat Hardened Images libevent 2.1.13-0.1.hum1fixed: vendor fix RHSA-2026:63388
-
Red Hat OpenShift Container Platform 4.22 rhcos 4.22.9.8.202610241758fixed: vendor fix RHSA-2026:89197
-
Red Hat Update Infrastructure 5 rhui5/cds-rhel9 1790241954, rhui5/rhua-rhel9 1790242004, rhui5/haproxy-rhel9 1790241900, rhui5/installer-rhel9 1790241922, rhui5/cds-kubernetes-rhel9 1790241897fixed: vendor fix RHSA-2026:71603
-
Red Hat Cert Manager support for Red Hat OpenShift release 1.20 cert-manager/jetstack-cert-manager-acmesolver-rhel9 1790223630 Red Hat OpenShift AI (RHOAI) rhoai/odh-llama-stack-k8s-operator-rhel9not affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 mo ago
Exploit prediction
0.42% chance of exploitation in the next 30 days, higher than 36% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/libevent/libevent/security/advisories/GHSA-58rx-7448-jw47 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.0 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H |
Affected products
- libevent libevent
Classification
References
Sources
- CVE List CVE-2026-63387
- NVD CVE-2026-63387
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.