Skip to content
OpenAdvisories
Critical SUSE-SU-2026:20090-1 2 CVEs

Security update for cpp-httplib

Published Jan 15, 2026 · Updated Mar 23, 2026

Summary

This update for cpp-httplib fixes the following issues:

- CVE-2025-66570: IP spoofing, log poisoning, and authorization bypass via header shadowing due to acceptance and
parsing of client-controlled injected HTTP headers in incoming requests (bsc#1254734).
- CVE-2025-66577: access and error log poisoning with spoofed client IPs due to unconditional acceptance of
client-controlled `X-Forwarded-For` and `X-Real-IP` headers (bsc#1254735).

Fixed packages 2

ReleasePackageFixed in
SUSE · SLES 16.0 Linux Enterprise Server 16.0 cpp-httplib 0.22.0-160000.3.1
SUSE · SLES for SAP 16.0 Linux Enterprise Server for SAP applications 16.0 cpp-httplib 0.22.0-160000.3.1

Vulnerabilities 2

  • Critical 10.0

    cpp-httplib Untrusted HTTP Header Handling: Internal Header Shadowing (REMOTE*/LOCAL*)

    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 inject heade…

  • Medium 5.3

    cpp-httplib Untrusted HTTP Header Handling: X-Forwarded-For/X-Real-IP Trust

    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-For…

References

  • report
    https://bugzilla.suse.com/1254734
  • report
    https://bugzilla.suse.com/1254735
  • web
    https://www.suse.com/security/cve/CVE-2025-66570
  • web
    https://www.suse.com/security/cve/CVE-2025-66577