CVE-2026-63385: Libevent: HTTP header handling bugs create risk of access control bypass.

Published Aug 20, 2026
·
Updated

Last updated 2 September 2026

Other sources

Libevent is an event notification library. Prior to 2.1.13 and 2.2.2-alpha, libevent has two HTTP parsing weaknesses in http.c. evhttpdecodeuriinternal decodes percent-encoded %00 bytes into literal NUL characters, which can cause downstream C string operations to truncate a path and bypass validation performed on a different representation. evhttpheaderisvalidvalue also accepts obsolete line folding in header values containing carriage return or line feed characters, allowing a proxy and libevent to interpret headers differently and enabling header injection or access control bypass. The CRLF header acceptance is fixed in versions 2.1.13 and 2.2.2-alpha, but the reviewed patches do not clearly remediate the URI NUL-truncation condition.

MITRE

Affected Software

3 affected componentsFixes available
libevent libevent>2.1.13<2.1.13, >0<=2.1.13
libevent libevent>2.2.2-alpha<2.2.2-alpha, >0<=2.2.2-alpha
debian/libevent<=2.1.12-stable-8, <=2.1.12-stable-10
2.1.13-stable-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/libevent to a version that resolves this vulnerability.

    Fixed in 2.1.13-stable-1
  2. Upgrade

    Upgrade libevent to a version that resolves this vulnerability.

    Fixed in 2.1.13
  3. Upgrade

    Upgrade libevent to a version that resolves this vulnerability.

    Fixed in 2.2.2-alpha

Event History

Aug 20, 2026
CVE Published
via MITRE·05:55 PM
Data Sourced
via MITRE·05:55 PM
DescriptionWeakness
Data Sourced
via NVD·06:16 PM
DescriptionSeverityWeakness
Sep 2, 2026
Data Sourced
via Launchpad·07:50 PM
Description
Data Sourced
via Debian·07:50 PM
DescriptionAffected Software
Sep 3, 2026
Data Sourced
via Ubuntu·07:49 PM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

Which deployments are most exposed to the URI parsing issue?

Deployments that decode request URIs with libevent and then pass the decoded path to downstream C string-based validation or authorization logic are exposed. A percent-encoded %00 can become a literal NUL, causing downstream operations to see only the path prefix while another component validated a different representation.

2

What does an attacker need to send to exploit these weaknesses?

For the URI issue, an attacker needs to supply a request URI containing a percent-encoded NUL byte (%00) in a location where differing path representations affect validation or access control. For the header issue, the attacker needs to submit header values containing carriage return or line feed characters so that a proxy and libevent can parse the headers differently.

3

Are fixed versions available for both issues?

Versions 2.1.13 and 2.2.2-alpha fix the CRLF header-value acceptance issue. The reviewed patches do not clearly remediate the URI NUL-truncation condition, so upgrading to those versions should not be assumed to address the %00 URI handling risk.

4

What can be done if patching is not immediately possible?

Reject request URIs containing percent-encoded NUL bytes before they reach libevent-dependent routing or authorization logic. Also reject header values containing carriage return or line feed characters and avoid relying on inconsistent proxy/backend header parsing for access-control decisions.

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