---
title: "CVE-2025-66577"
canonical_url: "https://pkgseek.com/security/CVE-2025-66577"
locale: "en"
source: "pkgseek"
entity_type: "cve"
severity: "medium"
---

# CVE-2025-66577

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.

CVE-2025-66577 is rated MEDIUM (5.3), with 2 indexed affected package builds across 1 distributions.

- **Severity / Score**: MEDIUM (5.3)
- **Affected builds**: 2
- **Affected distros**: 1
- **Distros with fixed_in**: None recorded in sample

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Debian | trixie | libcpp-httplib0.18 | 0.18.7-1+deb13u1 | — |
| Debian | trixie | libcpp-httplib-dev | 0.18.7-1+deb13u1 | — |
