CVE catalog

CVE-2025-66577

cpp-httplib: CVE-2025-66577

[CVE catalog]

Severity
Medium · CVSS 5.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Published
Source
[NVD] · [CVE record]
EPSS
0.27% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiancpp-httplibsid0.41.0+ds-3fixed
Debiancpp-httplibforky0.41.0+ds-3fixed
Debiancpp-httplibtrixie0.18.7-1+deb13u1vulnerable
Debiancpp-httplibtrixie-security0.18.7-1+deb13u1vulnerable
Debiancpp-httplibbookworm0.11.4+ds-1+deb12u1vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiancpp-httplibsourcesid0.41.0+ds-3not yet assignedNot reported[1122027]
Debiancpp-httplibsourceforky0.41.0+ds-3not yet assignedNot reported[1122027]
Debiancpp-httplibsourcetrixie(unfixed)not yet assignedNot reported[1122027]
Debiancpp-httplibsourcebookworm(unfixed)not yet assignedNot reported[1122027]

[Debian bug #1122027]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Source package: [cpp-httplib]

    Details (2)
    • 0.11.4+ds-1+deb12u1 · amd64 · bookworm

      Affected

      dsa · cpp-httplib · debian · bookworm; dsa · cpp-httplib · debian · 12

    • 0.11.4+ds-1+deb12u1 · arm64 · bookworm

      Affected

      dsa · cpp-httplib · debian · bookworm; dsa · cpp-httplib · debian · 12

  • Source package: [cpp-httplib]

    Details (2)
    • 0.11.4+ds-1+deb12u1 · amd64 · bookworm

      Affected

      dsa · cpp-httplib · debian · bookworm; dsa · cpp-httplib · debian · 12

    • 0.11.4+ds-1+deb12u1 · arm64 · bookworm

      Affected

      dsa · cpp-httplib · debian · bookworm; dsa · cpp-httplib · debian · 12

[Debian 13 (Trixie)]

  • Source package: [cpp-httplib]

    Details (4)
    • 0.18.7-1+deb13u1 · amd64 · trixie

      Affected

      dsa · cpp-httplib · debian · 13

    • 0.18.7-1+deb13u1 · arm64 · trixie

      Affected

      dsa · cpp-httplib · debian · 13

    • 0.18.7-1+deb13u1 · amd64 · trixie-security

      Affected

      dsa · cpp-httplib · debian · 13

    • 0.18.7-1+deb13u1 · arm64 · trixie-security

      Affected

      dsa · cpp-httplib · debian · 13

  • Source package: [cpp-httplib]

    Details (2)
    • 0.41.0+ds-3~bpo13+1 · amd64 · trixie-backports

      Affected

      dsa · cpp-httplib · debian · 13

    • 0.41.0+ds-3~bpo13+1 · arm64 · trixie-backports

      Affected

      dsa · cpp-httplib · debian · 13

  • Source package: [cpp-httplib]

    Details (6)
    • 0.18.7-1+deb13u1 · amd64 · trixie

      Affected

      dsa · cpp-httplib · debian · 13

    • 0.18.7-1+deb13u1 · arm64 · trixie

      Affected

      dsa · cpp-httplib · debian · 13

    • 0.41.0+ds-3~bpo13+1 · amd64 · trixie-backports

      Affected

      dsa · cpp-httplib · debian · 13

    • 0.41.0+ds-3~bpo13+1 · arm64 · trixie-backports

      Affected

      dsa · cpp-httplib · debian · 13

    • 0.18.7-1+deb13u1 · amd64 · trixie-security

      Affected

      dsa · cpp-httplib · debian · 13

    • 0.18.7-1+deb13u1 · arm64 · trixie-security

      Affected

      dsa · cpp-httplib · debian · 13

Observed:

References