Description
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. evhttp_decode_uri_internal 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. evhttp_header_is_valid_value 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.
Published: 2026-08-20
Score: 9.2 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Libevent contains two HTTP parsing weaknesses in http.c. One flaw allows percent-encoded %00 bytes to be decoded into literal NUL characters, which can truncate a path string and let an attacker bypass validation performed on a different representation. The other flaw accepts obsolete CRLF line folding in header values, enabling a proxy that uses libevent to interpret header values differently and permitting header injection or access control bypass. These weaknesses are linked to CWE-444.

Affected Systems

The issue affects all installations of the libevent library earlier than version 2.1.13 stable and 2.2.2-alpha. Vulnerable builds include those delivered with the releases identified in the advisory references.

Risk and Exploitability

The vulnerability has a high CVSS score of 9.2, indicating severe impact. EPSS data is not currently available, and the vulnerability is not listed in the CISA KEV catalog. An attacker could craft HTTP requests containing %00 sequences or CRLF-folded headers to send to a server or proxy that employs an affected libevent build. This would likely be a remote, network-based attack that could lead to unauthorized access or control of protected resources, assuming the impacted application performs path or header validation that the attacker can subvert.

Generated by OpenCVE AI on August 21, 2026 at 02:11 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade libevent to version 2.1.13 stable or later (e.g., 2.2.2-alpha) which fixes the header-folding issue.
  • Apply the specific patches referenced in the advisory commits (758be0c0f69c1934ef9a84ab39e9f9e5fde2e6d0 and 9170dd35e64714613e8d13b290587cfc28e258e2) to resolve the CRLF handling issue.
  • Implement upstream input filtering that rejects percent-encoded %00 bytes and CRLF line folding before passing requests to libevent, or modify application configuration to avoid using libevent for HTTP request parsing when older versions must remain in use.
  • Monitor application logs for anomalous header or URI patterns that might indicate exploitation attempts and investigate any such events promptly.

Generated by OpenCVE AI on August 21, 2026 at 02:11 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 21 Aug 2026 13:30:00 +0000

Type Values Removed Values Added
First Time appeared Libevent Project
Libevent Project libevent
Vendors & Products Libevent Project
Libevent Project libevent

Thu, 20 Aug 2026 18:15:00 +0000

Type Values Removed Values Added
Description 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. evhttp_decode_uri_internal 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. evhttp_header_is_valid_value 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.
Title Libevent: HTTP header handling bugs create risk of access control bypass.
Weaknesses CWE-444
References
Metrics cvssV4_0

{'score': 9.2, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:L/SC:L/SI:L/SA:N'}


Subscriptions

Libevent Project Libevent
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-20T17:55:36.214Z

Reserved: 2026-07-16T17:39:30.171Z

Link: CVE-2026-63385

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-20T18:16:36.543

Modified: 2026-08-20T18:16:36.543

Link: CVE-2026-63385

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-21T13:01:01Z

Weaknesses
  • CWE-444

    Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling')