CVE-2026-63495: Libevent: Unbounded memory accumulation in WebSocket server via fragmented frames

Published Aug 20, 2026
·
Updated

Libevent is an event notification library. From 2.2.0-alpha-dev until 2.2.2-alpha, the libevent WebSocket server in ws.c accumulates fragmented frames in evws->incompleteframes without enforcing a total message-size limit. An unauthenticated remote client can repeatedly send fragmented WebSocket frames below WSMAXRECVFRAMESZ with FIN=0, causing the evbuffer to grow without bound until the process or host exhausts memory. This issue is fixed in version 2.2.2-alpha.

Affected Software

1 affected component
libevent libevent>=2.2.0-alpha-dev<2.2.2-alpha

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade libevent WebSocket server (ws.c) to a version that resolves this vulnerability.

    Fixed in 2.2.2-alpha

Event History

Aug 20, 2026
CVE Published
via MITRE·05:49 PM
Data Sourced
via MITRE·05:49 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed to this issue?

Deployments using the libevent WebSocket server implementation in ws.c are affected if they run a version from 2.2.0-alpha-dev through 2.2.1-alpha. The issue is reachable by an unauthenticated remote client, so WebSocket endpoints accessible to untrusted clients are exposed.

2

What does an attacker need to do to trigger the denial of service?

An attacker can send repeated fragmented WebSocket frames with FIN=0 while keeping each frame below WS_MAX_RECV_FRAME_SZ. Libevent accumulates these fragments without a total message-size limit, eventually exhausting process or host memory.

3

Is there a fixed version?

Yes. The issue is fixed in libevent version 2.2.2-alpha.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203