Skip to main content
EPSS 0.1%top 97%

Prior to 2.1.13 and 2.2.2-alpha, libevent has a heap out-of-bounds write in bufferevent_sock.c when bufferevent_socket_set_conn_address_ copies a… (CVE-2026-63388)

0
Medium
Published: 08/20/2026 (08/20/2026, 18:16:00 UTC)
Source: GCVE Database
Product: libevent

Description

Libevent versions prior to 2.1.13 and 2.2.2-alpha contain a heap out-of-bounds write vulnerability in bufferevent_sock.c. This occurs when bufferevent_socket_set_conn_address_ copies a kernel-supplied AF_UNIX peer address into a buffer that is too small, potentially causing memory corruption. The flaw allows an unauthenticated local peer connecting to an AF_UNIX listener to overwrite adjacent heap data, impacting confidentiality, integrity, and availability. The issue is fixed in versions 2.1.13 and 2.2.2-alpha.

CVSS v3.1

Score 8.4high

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected software

Ubuntu:14.04:LTSmore threats →ghsa
libevent
pkg:deb/ubuntu/libevent?arch=source&distro=trusty
Affected versions
=2.0.21-stable-1=2.0.21-stable-1ubuntu1=2.0.21-stable-1ubuntu1.14.04.1=2.0.21-stable-1ubuntu1.14.04.2
Ubuntu:16.04:LTSmore threats →ghsa
libevent
pkg:deb/ubuntu/libevent?arch=source&distro=xenial
Affected versions
=2.0.21-stable-2=2.0.21-stable-2ubuntu0.16.04.1
Ubuntu:18.04:LTSmore threats →ghsa
libevent
pkg:deb/ubuntu/libevent?arch=source&distro=bionic
Affected versions
=2.1.8-stable-4=2.1.8-stable-4build1
Ubuntu:20.04:LTSmore threats →ghsa
libevent
pkg:deb/ubuntu/libevent?arch=source&distro=focal
Affected versions
=2.1.8-stable-4build1=2.1.11-stable-1~exp0=2.1.11-stable-1
Ubuntu:22.04:LTSmore threats →ghsa
libevent
pkg:deb/ubuntu/libevent?arch=source&distro=jammy
Affected versions
=2.1.12-stable-1=2.1.12-stable-1build1=2.1.12-stable-1build2=2.1.12-stable-1build3=2.1.12-stable-1ubuntu0.1=2.1.12-stable-1ubuntu0.2
Ubuntu:24.04:LTSmore threats →ghsa
libevent
pkg:deb/ubuntu/libevent?arch=source&distro=noble
Affected versions
=2.1.12-stable-9=2.1.12-stable-9ubuntu2=2.1.12-stable-9ubuntu2.1=2.1.12-stable-9ubuntu2.2
Ubuntu:26.04:LTSmore threats →ghsa
libevent
pkg:deb/ubuntu/libevent?arch=source&distro=resolute
Affected versions
=2.1.12-stable-10build1=2.1.12-stable-10build2=2.1.12-stable-10ubuntu0.1=2.1.12-stable-10ubuntu0.2
Ubuntu:Pro:18.04:LTSmore threats →ghsa
libevent
pkg:deb/ubuntu/libevent?arch=source&distro=esm-infra/bionic
Affected versions
=2.1.8-stable-4=2.1.8-stable-4build1=2.1.8-stable-4ubuntu0.1~esm1=2.1.8-stable-4ubuntu0.1~esm2
Ubuntu:Pro:20.04:LTSmore threats →ghsa
libevent
pkg:deb/ubuntu/libevent?arch=source&distro=esm-infra/focal
Affected versions
=2.1.8-stable-4build1=2.1.11-stable-1~exp0=2.1.11-stable-1=2.1.11-stable-1ubuntu0.1~esm1=2.1.11-stable-1ubuntu0.1~esm2

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/29/2026, 05:10:29 UTC

Technical Analysis

Libevent, an event notification library, has a heap out-of-bounds write vulnerability in versions prior to 2.1.13 and 2.2.2-alpha. The vulnerability arises in bufferevent_sock.c when bufferevent_socket_set_conn_address_ copies an AF_UNIX peer address from the kernel into a fixed-size buffer without adequate bounds checking. Release builds compiled with NDEBUG disable the EVUTIL_ASSERT length guard, allowing a 110-byte sockaddr from accept() to overflow a 28-byte buffer. An unauthenticated local peer connecting to an AF_UNIX listener can exploit this to overwrite the adjacent dns_request pointer and other heap data, leading to memory corruption with potential confidentiality, integrity, and availability impacts. This vulnerability is resolved in libevent versions 2.1.13 and 2.2.2-alpha.

Potential Impact

An unauthenticated local attacker able to connect to an AF_UNIX listener can trigger a heap out-of-bounds write, causing memory corruption. This can compromise confidentiality, integrity, and availability of the affected system. The vulnerability affects local privilege boundaries and requires local access to the AF_UNIX socket.

Mitigation Recommendations

This vulnerability is fixed in libevent versions 2.1.13 and 2.2.2-alpha. Users should upgrade to these or later versions to remediate the issue. No vendor advisory indicating alternative mitigations or 'no action required' was provided. Patch status is confirmed by the version fix information.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
UBUNTU-CVE-2026-63388
Osv Schema Version
1.7.0
Ecosystems
["Ubuntu:14.04:LTS","Ubuntu:16.04:LTS","Ubuntu:18.04:LTS","Ubuntu:20.04:LTS","Ubuntu:22.04:LTS","Ubuntu:24.04:LTS","Ubuntu:26.04:LTS"]
Cvss Version
3.1

Threat ID: 6a8c4c52acd9273b499be790

Added to database: 08/24/2026, 13:51:14 UTC

Last enriched: 09/29/2026, 05:10:29 UTC

Last updated: 10/08/2026, 18:48:47 UTC

Views: 66

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses