CVE-2026-63385
JSON

9.2critical

Libevent: HTTP header handling bugs create risk of access control bypass.

Severity
9.2critical CVSS:4.0 by GitHub_M
Exploit likelihood
1.29% (higher than 71% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M

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.

Affected

Product or packageVersionsReported by
libevent libevent>= 2.2.0-alpha, < 2.2.2-alpha, < 2.1.13CVE List

Classification

CWE-444

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Libevent es una biblioteca de notificación de eventos. Antes de 2.1.13 y 2.2.2-alpha, libevent tiene dos debilidades de análisis HTTP en http.c. evhttp_decode_uri_internal decodifica bytes %00 codificados por porcentaje en caracteres NUL literales, lo que puede causar que las operaciones de cadena C posteriores trunquen una ruta y omitan la validación realizada en una representación diferente. evhttp_header_is_valid_value también acepta el plegado de línea obsoleto en valores de encabezado que contienen caracteres de retorno de carro o salto de línea, lo que permite que un proxy y libevent interpreten los encabezados de manera diferente y habilita la inyección de encabezados o la omisión del control de acceso. La aceptación de encabezados CRLF está corregida en las versiones 2.1.13 y 2.2.2-alpha, pero los parches revisados no remedian claramente la condición de truncamiento NUL de URI.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-63385 changed 2026-08-21CVE Terms of Use
NVDCVE-2026-63385 changed 2026-10-26Public domain