VDB

CVE-2026-63381

CVE-2026-63381 PUBLISHED CVSS 5.8 MEDIUM

Libevent: Dangling Pointer in `evbuffer_add_buffer_reference`

Reported by github_m · Published August 20, 2026

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
libevent-docerrata.rockylinux.org2.1.13-1.el10
libevent-debugsourceerrata.rockylinux.org2.1.13-1.el9
libevent-debuginfoerrata.rockylinux.org2.1.13-1.el9, 2.1.13-1.el10
libeventerrata.rockylinux.org2.1.13-1.el9

Risk scores

CVSS 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

Affected products

VendorProductVersions
libeventlibevent>= 2.2.0-alpha, < 2.2.2-alpha, < 2.1.13
libeventlibevent2.2.0-alpha, 0

Timeline

  • Aug 20, 2026 CVE Published
  • Aug 22, 2026 Coalition ESS Score
  • Aug 24, 2026 EPSS Score (7 in total, the first dated here)
  • Sep 3, 2026 Security Advisory (2 in total, the first dated here)
  • Sep 28, 2026 Distribution Patch (3 in total, the first dated here)
  • Oct 26, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-63381
vulnetix vdb fixes CVE-2026-63381

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-63381/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›