CRLF Injection Affecting cpp-httplib package, versions *


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.3% (21st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIANUNSTABLE-CPPHTTPLIB-17099866
  • published30 May 2026
  • disclosed29 May 2026

Introduced: 29 May 2026

CVE-2026-45372  (opens in a new tab)
CWE-93  (opens in a new tab)
CWE-444  (opens in a new tab)

How to fix?

There is no fixed version for Debian:unstable cpp-httplib.

NVD Description

Note: Versions mentioned in the description apply only to the upstream cpp-httplib package and not the cpp-httplib package as distributed by Debian. See How to fix? for Debian:unstable relevant fixed versions and status.

cpp-httplib is a C++11 single-file header-only cross platform HTTP/HTTPS library. Prior to 0.44.0, when cpp-httplib's server parses an incoming request, it applies percent-decoding to every header value except Location and Referer. The validity check (is_field_value) is run before decoding, so encoded %0D%0A passes the check and is then expanded to a literal \r\n byte pair inside the stored header value. This vulnerability is fixed in 0.44.0.