Improper Output Neutralization for Logs Affecting libcpp-httplib0_22 package, versions <0.22.0-160000.3.1


Severity

Recommended
0.0
medium
0
10

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

EPSS
0.27% (20th 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-15054059
  • published22 Jan 2026
  • disclosed15 Jan 2026

Introduced: 15 Jan 2026

CVE-2025-66577  (opens in a new tab)
CWE-117  (opens in a new tab)
CWE-807  (opens in a new tab)

How to fix?

Upgrade SLES:16.0.0 libcpp-httplib0_22 to version 0.22.0-160000.3.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 0.27.0, a vulnerability allows attacker-controlled HTTP headers to influence server-visible metadata, logging, and authorization decisions. An attacker can supply X-Forwarded-For or X-Real-IP headers which get accepted unconditionally by get_client_ip() in docker/main.cc, causing access and error logs (nginx_access_logger / nginx_error_logger) to record spoofed client IPs (log poisoning / audit evasion). This vulnerability is fixed in 0.27.0.

CVSS Base Scores

version 3.1