CVE-2026-63381 json
Libevent: Dangling Pointer in `evbuffer_add_buffer_reference`
published 4mo ago modified 16d ago also EUVD-2026-63504 , GHSA-c2pj-cg4r-88c8
Unreviewed: the maintainers' own advisory
Published by the maintainers on their GitHub repository libevent/libevent. GitHub has not reviewed it into the GitHub Advisory Database, so the affected packages and versions are the maintainers' word. Read the full advisory on GitHub.
- cvss
- 5.8
- version 4.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.1%
- EPSS 0.1% chance of exploitation in 30 days, percentile 1%
- public exploits
- 0
- none known
Summary
Libevent is an event notification library. Prior to 2.1.13 and 2.2.2-alpha, libevent has a use-after-free in buffer.c when evbuffer_add_buffer_reference processes an output buffer whose out_total_len is zero. evbuffer_free_all_chains frees the initial empty chain without resetting outbuf->first, outbuf->last, or outbuf->last_with_datap, and APPEND_CHAIN_MULTICAST subsequently dereferences the dangling chain pointer. A caller that can drive this buffer state can cause memory corruption or a process crash. 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-63381
- libevent Ubuntu 22.04 LTS 2.1.12-stable-1ubuntu0.1
- libevent Ubuntu 24.04 LTS 2.1.12-stable-9ubuntu2.1
- libevent Ubuntu 26.04 LTS 2.1.12-stable-10ubuntu0.1
- libevent Ubuntu Pro 18.04 LTS 2.1.8-stable-4ubuntu0.1~esm1
- libevent Ubuntu Pro 20.04 LTS 2.1.11-stable-1ubuntu0.1~esm1
ubuntu advisories UBUNTU-CVE-2026-63381
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 10.2 2.1.13-1.el10_2
- libevent hummingbird 1 2.1.12-19.1.hum1
red hat advisories RHSA-2026:67910RHSA-2026:67909RHSA-2026:60853
- libevent openSUSE Tumbleweed 2.1.13-1.1
opensuse advisories openSUSE-SU-2026:12330-1
- libevent AlmaLinux 10 2.1.13-1.el10_2
- libevent AlmaLinux 9 2.1.13-1.el9_8
almalinux advisories ALSA-2026:67909ALSA-2026:67910
- libevent Rocky Linux 10 2.1.13-1.el10_2
- libevent Rocky Linux 9 2.1.13-1.el9_8
rocky linux advisories RLSA-2026:67909RLSA-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-96953AZL-97527AZL-97545
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
Is CVE-2026-63381 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor 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-63381 updated cvss 6.6
libevent: Libevent: Memory corruption due to use-after-free
-
Red Hat Enterprise Linux 6 libevent 1.4.13-4.el6, libevent2 2.0.21-2.el6affected: workaround, no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 7 libevent 1.4.13-4.el6 Red Hat Enterprise Linux 8 libevent, libevent 1.4.13-4.el6 Red Hat OpenShift Container Platform 4 openshift/ose-rhel-coreos-8, openshift/ose-rhel-coreos-9 Red Hat OpenShift Container Platform 5 openshift/ose-rhel-coreos-9affected: workaround, no fix available “Fix deferred”
-
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. 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. 9) libevent 2.1.13-1.el9_8fixed: vendor fix RHSA-2026:67910
-
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.12-19.1.hum1fixed: vendor fix RHSA-2026:60853
show 2 moreshow fewer
-
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
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2mo ago
Exploit prediction
0.12% chance of exploitation in the next 30 days, higher than 1% of all scored CVEs (FIRST EPSS, 2026-11-11).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 5.8 | CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N |
| CNA | 4.0 | 5.8 | CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
Affected products
- libevent libevent
Classification
- Weakness
-
- CWE-908 Use of Uninitialized Resource
References
- github.com /libevent/libevent/commit/5cb95ba2f804f8aff46f88d58391c71e1251cd1c
- github.com /libevent/libevent/commit/9db091b04f569be3a700fa9860ef02f90b830af9
-
github.com
/libevent/libevent/security/advisories/GHSA-c2pj-cg4r-88c8
advisory
- github.com /libevent/libevent/releases/tag/release-2.1.13-stable
- github.com /libevent/libevent/releases/tag/release-2.2.2-alpha
Sources
- CVE List CVE-2026-63381
- NVD CVE-2026-63381
- Maintainer advisory GHSA-c2pj-cg4r-88c8
Fencer Intel 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.
The maintainers of libevent/libevent published their own advisory on GitHub. Reviewed sources take precedence over it.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.