REDHAT-BUG-2520659: High severity libevent libevent vulnerability

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 to a fixed release to a version that resolves this vulnerability.

    Fixed in 2.2.2-alpha

Event History

Aug 20, 2026
Data Sourced
via Red Hat·06:05 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

Which deployments are exposed to this issue?

Deployments using the libevent WebSocket server implementation in ws.c are exposed if they run a version from 2.2.0-alpha-dev through 2.2.2-alpha. The issue concerns handling of fragmented WebSocket frames.

2

What does an attacker need to exploit it?

An attacker only needs unauthenticated remote access to the affected WebSocket server. They can repeatedly send fragmented frames below WS_MAX_RECV_FRAME_SZ with FIN set to 0.

3

What is the impact of successful exploitation?

Incomplete fragmented frames accumulate without a total message-size limit, allowing the evbuffer to grow until process or host memory is exhausted. This can cause a denial of service.

4

What version fixes the issue?

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