cve.bz

CVE-2026-63387 libevent libevent: Stack-based Buffer Overflow

7.0 highEPSS 0.4%

High (7.0) in libevent libevent. EPSS 0.4% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.0 high
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 36th percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2026-08-25. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-121 Stack-based Buffer Overflow
CWE-193 Off-by-one Error
CWE-787 Out-of-bounds Write
Published
Modified
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-63387 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-63387?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-63387?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-63387 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

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

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12libevent2.1.12-stable-8+deb12u1DEBIAN-CVE-2026-63387
Debian13libevent2.1.13-stable-1~deb13u1DEBIAN-CVE-2026-63387
Debian14libevent2.1.13-stable-1DEBIAN-CVE-2026-63387
Ubuntu22.04:LTS, 24.04:LTS, Pro:14.04:LTS and 3 morelibeventno fix listedUBUNTU-CVE-2026-63387 USN-8840-1
Ubuntu26.04:LTSlibevent2.1.12-stable-10ubuntu0.2UBUNTU-CVE-2026-63387 USN-8840-1
Red Hatenterprise_linux:8::appstreamlibevent-devel, libevent-debuginfo, libevent-debugsource0:2.1.8-11.el8_10RHSA-2026:67908
Red Hatenterprise_linux:8::baseoslibevent, libevent-doc, libevent-debuginfo and 1 more0:2.1.8-11.el8_10RHSA-2026:67908
Red Hatenterprise_linux:9::appstreamlibevent-doc, libevent-devel, libevent-debuginfo and 1 more0:2.1.13-1.el9_8RHSA-2026:67910
Red Hatenterprise_linux:9::baseoslibevent, libevent-debuginfo, libevent-debugsource0:2.1.13-1.el9_8RHSA-2026:67910
Red Hatenterprise_linux:10.2libevent, libevent-doc, libevent-devel and 2 more0:2.1.13-1.el10_2RHSA-2026:67909
Red Hathummingbird:1libevent, libevent-doc, libevent-devel0:2.1.13-0.1.hum1RHSA-2026:63388
openSUSETumbleweedlibevent2.1.13-1.1openSUSE-SU-2026:12330-1
AlmaLinux8libevent, libevent-doc, libevent-devel2.1.8-11.el8_10ALSA-2026:67908
AlmaLinux9libevent, libevent-doc, libevent-devel2.1.13-1.el9_8ALSA-2026:67910
AlmaLinux10libevent-doc2.1.13-1.el10_2ALSA-2026:67909
Rocky Linux8libevent0:2.1.8-11.el8_10RLSA-2026:67908
Rocky Linux9libevent0:2.1.13-1.el9_8RLSA-2026:67910
Rocky Linux10libevent0:2.1.13-1.el10_2RLSA-2026:67909
Azure Linux3libevent2.1.13-1AZL-96950
Azure Linux3libteventno fix listedAZL-96918
Azure Linux3mysql8.0.46-2AZL-97530
Azure Linux3ntp4.2.8p17-3AZL-97548
Alpaquita23, 25, streamlibevent2.1.13-r0BELL-CVE-2026-63387
BellSoft Hardened Containers23, 25, streamlibevent2.1.13-r0BELL-CVE-2026-63387

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · openSUSE · Alpaquita · BellSoft Hardened Containers.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This Important vulnerability in the libevent library's DNS parsing component can lead to a denial of service or data corruption due to an off-by-one stack buffer overflow. A remote attacker can exploit this flaw with low attack complexity by providing a specially crafted DNS server response to services utilizing libevent for DNS resolution.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10libevent-0:2.1.13-1.el10_2Fixed 2026-09-16RHSA-2026:67909
Red Hat Enterprise Linux 8libevent-0:2.1.8-11.el8_10Fixed 2026-09-16RHSA-2026:67908
Red Hat Enterprise Linux 9libevent-0:2.1.13-1.el9_8Fixed 2026-09-16RHSA-2026:67910
Red Hat OpenShift Container Platform 4.22openshift/ose-rhel-coreos-9:4.22.9.8.202610241758-0Fixed 2026-10-27RHSA-2026:89197
Cert Manager support for Red Hat OpenShift release 1.20cert-manager/jetstack-cert-manager-rhel9:1790223279Fixed 2026-09-28RHSA-2026:72394
Cert Manager support for Red Hat OpenShift release 1.20cert-manager/cert-manager-istio-csr-rhel9:1790223719Fixed 2026-09-28RHSA-2026:72395
Cert Manager support for Red Hat OpenShift release 1.20cert-manager/cert-manager-operator-rhel9:1790272426Fixed 2026-09-28RHSA-2026:72399
Cert Manager support for Red Hat OpenShift release 1.20cert-manager/jetstack-cert-manager-acmesolver-rhel9:1790589998Fixed 2026-09-28RHSA-2026:72470
Cert Manager support for Red Hat OpenShift release 1.20cert-manager/jetstack-cert-manager-rhel9:1790589912Fixed 2026-09-28RHSA-2026:72470
Cert Manager support for Red Hat OpenShift release 1.20cert-manager/cert-manager-istio-csr-rhel9:1790589914Fixed 2026-09-28RHSA-2026:72475
Cert Manager support for Red Hat OpenShift release 1.20cert-manager/cert-manager-operator-rhel9:1790589855Fixed 2026-09-28RHSA-2026:72476
Red Hat Hardened Imageslibevent-main-2.1.13-0.1.hum1Fixed 2026-09-03RHSA-2026:63388
Red Hat Update Infrastructure 5rhui5/cds-kubernetes-rhel9:1790241897Fixed 2026-09-24RHSA-2026:71603
Red Hat Update Infrastructure 5rhui5/cds-rhel9:1790241954Fixed 2026-09-24RHSA-2026:71603
Red Hat Update Infrastructure 5rhui5/haproxy-rhel9:1790241900Fixed 2026-09-24RHSA-2026:71603
Red Hat Enterprise Linux 6libeventAffected
Red Hat Enterprise Linux 6libevent2Will not fix
Red Hat Enterprise Linux 7libeventAffected
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-8Affected
Red Hat OpenShift Container Platform 5openshift/ose-rhel-coreos-9Affected
2 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-63387.

References

Check your stackJSON