CVEfocus › CVE database › CVE-2026-63381

CVE-2026-63381Libevent: Dangling Pointer in `evbuffer_add_buffer_reference`

CVSS 5.8 MediumEPSS 0.1% (higher than 1% of CVEs)Published 2026-08-20Updated 2026-08-21Assigner: GitHub_M

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.

CWE-908

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

18Fixed
8Fix pending
7Will 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.1UBUNTU-CVE-2026-63381
Ubuntu 24.04libeventFixed2.1.12-stable-9ubuntu2.1UBUNTU-CVE-2026-63381
Ubuntu 22.04libeventFixed2.1.12-stable-1ubuntu0.1UBUNTU-CVE-2026-63381
Ubuntu 20.04libeventFix pending2.1.11-stable-1ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2026-63381
Ubuntu 18.04libeventFix pending2.1.8-stable-4ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2026-63381
Debian 14libeventFixed2.1.13-stable-1DEBIAN-CVE-2026-63381
Debian 13libeventFixed2.1.13-stable-1~deb13u1DEBIAN-CVE-2026-63381
Debian 12libeventFixed2.1.12-stable-8+deb12u1DEBIAN-CVE-2026-63381
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 8libeventFix pending
Fix deferred
Red Hat Enterprise Linux 8libevent-develFix pending
Fix deferred
Red Hat Enterprise Linux 8libevent-docFix pending
Fix deferred
Red Hat Enterprise Linux 7libeventFix pending
Fix deferred
Red Hat Enterprise Linux 7libevent-develFix pending
Fix deferred
Red Hat Enterprise Linux 7libevent-docFix pending
Fix deferred
Red Hat Enterprise Linux 6libeventWill not fix
Out of support scope
Red Hat Enterprise Linux 6libevent-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6libevent-docWill not fix
Out of support scope
Red Hat Enterprise Linux 6libevent-headersWill not fix
Out of support scope
Red Hat Enterprise Linux 6libevent2Will not fix
Out of support scope
Red Hat Enterprise Linux 6libevent2-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6libevent2-docWill not fix
Out of support scope
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
Rocky Linux 10libeventFixed0:2.1.13-1.el10_2RLSA-2026:67909
Rocky Linux 9libeventFixed0:2.1.13-1.el9_8RLSA-2026:67910

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.