CRLF Injection Affecting libcpp-httplib0_22 package, versions <0.22.0-160000.5.1


Severity

Recommended
0.0
high
0
10

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

EPSS
0.4% (34th 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-SLES1600-LIBCPPHTTPLIB022-16742568
  • published18 May 2026
  • disclosed8 May 2026

Introduced: 8 May 2026

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

How to fix?

Upgrade SLES:16.0.0 libcpp-httplib0_22 to version 0.22.0-160000.5.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libcpp-httplib0_22 package and not the libcpp-httplib0_22 package as distributed by SLES. See How to fix? for SLES:16.0.0 relevant fixed versions and status.

cpp-httplib is a C++11 single-file header-only cross platform HTTP/HTTPS library. Prior to version 0.30.0, the write_headers function does not check for CR & LF characters in user supplied headers, allowing untrusted header value to escape header lines. This vulnerability allows attackers to add extra headers, modify request body unexpectedly & trigger an SSRF attack. When combined with a server that supports http1.1 pipelining (springboot, python twisted etc), this can be used for server side request forgery (SSRF). Version 0.30.0 fixes this issue.

CVSS Base Scores

version 3.1