Description
Libevent is an event notification library. Prior to 2.1.13 and 2.2.2-alpha, libevent processes chunked HTTP trailers in http.c through evhttp_read_trailer and merges them into request headers. The fix introduces evhttp_parse_headers_impl_ and a temporary trailer header list. An unauthenticated remote attacker can place security-sensitive fields in trailers so that an upstream proxy and the libevent application interpret different effective headers, enabling header smuggling, authorization bypass, proxy-header spoofing, or cache poisoning. The fix parses trailers into a temporary header list and discards them instead of merging them into req->input_headers. This issue is fixed in versions 2.1.13 and 2.2.2-alpha.
Published: 2026-08-20
Score: 6.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

This vulnerability occurs when libevent processes HTTP chunked trailers by incorrectly merging them into request headers via evhttp_read_trailer. An unauthenticated remote attacker can inject security‑critical fields into those trailers. Because the library treats the merged trailers as regular headers, the attacker can alter the effective headers that the application and any upstream proxy see. This manipulation permits header smuggling, authorization bypass, proxy‑header spoofing, or cache poisoning, depending on how the target application interprets the headers. The weakness is classified as CWE‑444.

Affected Systems

The issue affects the libevent library across all releases prior to 2.1.13 and 2.2.2‑alpha. Users that employ libevent 2.1.x older than 2.1.13 or libevent 2.2.x before 2.2.2‑alpha are vulnerable. Upstream projects or applications that link to these vulnerable versions and expose HTTP endpoints can be compromised.

Risk and Exploitability

The vulnerability scores a 6.3 on the CVSS base. An attacker does not need authentication or elevated privileges to exploit the flaw; they simply need to send an HTTP request that includes chunked transfer encoding trailers. The exploitation path is straightforward: compose a request that carries malicious trailer fields, deliver it to the target, and the library will translate them into actual request headers that the application processes. Because the flaw is not listed in CISA’s KEV catalog and no EPSS data is available, the overall exploitation probability is unclear but the vector and required control are minimal, warranting rapid mitigation.

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 or later, including 2.2.2-alpha and newer releases, to ensure the trailer parsing code is fixed.
  • Rebuild any applications that link against libevent, ensuring they compile and link to the patched library version, and remove any older library files from the deployment environment.
  • If an immediate upgrade is infeasible, disable chunked transfer encoding trailers in your web server configuration or filter them out at a reverse‑proxy, preventing libevent from processing harmful trailer data.

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 processes chunked HTTP trailers in http.c through evhttp_read_trailer and merges them into request headers. The fix introduces evhttp_parse_headers_impl_ and a temporary trailer header list. An unauthenticated remote attacker can place security-sensitive fields in trailers so that an upstream proxy and the libevent application interpret different effective headers, enabling header smuggling, authorization bypass, proxy-header spoofing, or cache poisoning. The fix parses trailers into a temporary header list and discards them instead of merging them into req->input_headers. This issue is fixed in versions 2.1.13 and 2.2.2-alpha.
Title Libevent: HTTP Header smuggling
Weaknesses CWE-444
References
Metrics cvssV4_0

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


Subscriptions

Libevent Project Libevent
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

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

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

Link: CVE-2026-63379

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

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

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

Link: CVE-2026-63379

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

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

Weaknesses
  • CWE-444

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