Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-63381

MEDIUM 5.8EPSS 1%

Libevent: Dangling Pointer in `evbuffer_add_buffer_reference`

Mitigation

  • Upgrade libevent to 2.1.13 or later.

Who should check

  • Anyone running libevent >= 2.2.0-alpha, < 2.2.2-alpha; < 2.1.13

Vulnerability facts

Affected
libevent >= 2.2.0-alpha, < 2.2.2-alpha; < 2.1.13
Fixed in
libevent 2.2.2-alpha, libevent 2.1.13
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
5.8 (v4.0, CNA)CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:NOpen in CVSS calculator
Show all 11 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Attack requirements: Present
  • Privileges required: Low
  • User interaction: None
  • Confidentiality impact: Low
  • Integrity impact: Low
  • Availability impact: High
  • Confidentiality impact on other systems: None
  • Integrity impact on other systems: None
  • Availability impact on other systems: None
EPSS
0.12% chance of exploitation in 30 days (percentile 1, 2026-11-26)
CWE
CWE-908
Published
Modified

Description

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.

Affected and fixed versions

Package / productAffectedFixedSource
libevent>= 2.2.0-alpha, < 2.2.2-alpha; < 2.1.13—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-63381. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-63381.md
Affected: libevent >= 2.2.0-alpha, < 2.2.2-alpha; < 2.1.13
Fixed in: libevent 2.2.2-alpha, libevent 2.1.13

Steps:
1. Search this machine and project for libevent: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2026-63381 being exploited?

There is no confirmed exploitation: CVE-2026-63381 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.12% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2026-63381?

Medium: CVSS 5.8 (v4.0, scored by CNA). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2026-63381?

libevent >= 2.2.0-alpha, < 2.2.2-alpha; < 2.1.13.

Is there a fix for CVE-2026-63381?

Yes. Fixed in libevent 2.2.2-alpha, libevent 2.1.13. Upgrade libevent to 2.1.13 or later.

How do I check if I'm affected by CVE-2026-63381?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors