Skip to content
Heist/ feed
Back to feed
Low

cpp-httplib — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2026-103930

cpp-httplib is a C++ header-only HTTP/HTTPS library. From 0.29.0 until 0.51.0, Client::open_stream in httplib.h accepts a caller-controlled path that reaches detail::write_request_line() without the detail::encode_path() protection used by the ordinary buffered request path. Raw carriage-return and line-feed bytes in the path can therefore split the outbound HTTP/1.1 request line and inject attacker-shaped request metadata. Exploitation requires an embedding application to pass remote user input into the open_stream path and a backend or intermediary that interprets the injected bytes; the established impact is modification of backend-visible request data, not direct confidentiality or availability impact. This issue is fixed in version 0.51.0.

Products
cpp-httplib
Affected versions
0.11.4+ds-1, 0.11.4+ds-1+deb12u1, 0.11.4+ds-2, 0.11.4+ds-3, 0.13.1+ds-1, 0.14.0+ds-1, 0.14.1+ds-1, 0.14.1+ds-2, 0.14.2+ds-1, 0.14.3+ds-1, 0.14.3+ds-1.1, 0.14.3+ds-1.1~exp1, 0.15.3+ds-1, 0.15.3+ds-2, 0.15.3+ds-3, 0.16.0+ds-1, 0.16.3+ds-1, 0.16.3+ds-2, 0.18.0+ds-1, 0.18.7-1, 0.18.7-1+deb13u1, 0.20.1+ds-3, 0.25.0+ds-1, 0.26.0+ds-2, 0.41.0+ds-1, 0.41.0+ds-2, 0.41.0+ds-3, 0.41.0+ds-3~bpo13+1
Fixed versions
Not specified
CVEs
CVE-2026-103930
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 23:30 UTC · Revision 1

Source evidence

DEBIAN-CVE-2026-103930

core-osv · Original source

Published 14 Oct 2026, 19:17 UTC

cpp-httplib is a C++ header-only HTTP/HTTPS library. From 0.29.0 until 0.51.0, Client::open_stream in httplib.h accepts a caller-controlled path that reaches detail::write_request_line() without the detail::encode_path() protection used by the ordinary buffered request path. Raw carriage-return and line-feed bytes in the path can therefore split the outbound HTTP/1.1 request line and inject attacker-shaped request metadata. Exploitation requires an embedding application to pass remote user input into the open_stream path and a backend or intermediary that interprets the injected bytes; the established impact is modification of backend-visible request data, not direct confidentiality or availability impact. This issue is fixed in version 0.51.0.

osv:DEBIAN-CVE-2026-103930

cpp-httplib

Fixed versions: Not specified

cpp-httplib

Fixed versions: Not specified

cpp-httplib

Fixed versions: Not specified

Complete source record
{
  "id": "a25901992b2006960049930cc946dc764d9234d2f600732ab432570f95425948",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2026-103930",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2026-103930",
    "summary": "cpp-httplib is a C++ header-only HTTP/HTTPS library. From 0.29.0 until 0.51.0, Client::open_stream in httplib.h accepts a caller-controlled path that reaches detail::write_request_line() without the detail::encode_path() protection used by the ordinary buffered request path. Raw carriage-return and line-feed bytes in the path can therefore split the outbound HTTP/1.1 request line and inject attacker-shaped request metadata. Exploitation requires an embedding application to pass remote user input into the open_stream path and a backend or intermediary that interprets the injected bytes; the established impact is modification of backend-visible request data, not direct confidentiality or availability impact. This issue is fixed in version 0.51.0.",
    "evidence": "osv:DEBIAN-CVE-2026-103930",
    "products": [
      {
        "name": {
          "value": "cpp-httplib",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.11.4+ds-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.11.4+ds-1+deb12u1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.11.4+ds-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.11.4+ds-3",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.13.1+ds-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.14.0+ds-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.14.1+ds-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.14.1+ds-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.14.2+ds-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.14.3+ds-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.14.3+ds-1.1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.14.3+ds-1.1~exp1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.15.3+ds-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.15.3+ds-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.15.3+ds-3",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.16.0+ds-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.16.3+ds-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.16.3+ds-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.18.0+ds-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.18.7-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.20.1+ds-3",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.25.0+ds-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.26.0+ds-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.41.0+ds-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.41.0+ds-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.41.0+ds-3",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.41.0+ds-3~bpo13+1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "cpp-httplib",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.18.7-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "0.18.7-1+deb13u1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "0.20.1+ds-3",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "0.25.0+ds-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "0.26.0+ds-2",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "0.41.0+ds-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "0.41.0+ds-2",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "0.41.0+ds-3",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "0.41.0+ds-3~bpo13+1",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "cpp-httplib",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.18.7-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "0.20.1+ds-3",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "0.25.0+ds-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "0.26.0+ds-2",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "0.41.0+ds-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "0.41.0+ds-2",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "0.41.0+ds-3",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "0.41.0+ds-3~bpo13+1",
            "evidence": "/affected/2/versions"
          }
        ]
      }
    ],
    "severity": "low",
    "structured": {
      "id": "DEBIAN-CVE-2026-103930",
      "aliases": [
        "DEBIAN-CVE-2026-103930"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "cpp-httplib",
            "purl": "pkg:deb/debian/cpp-httplib?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "versions": [
            "0.11.4+ds-1",
            "0.11.4+ds-1+deb12u1",
            "0.11.4+ds-2",
            "0.11.4+ds-3",
            "0.13.1+ds-1",
            "0.14.0+ds-1",
            "0.14.1+ds-1",
            "0.14.1+ds-2",
            "0.14.2+ds-1",
            "0.14.3+ds-1",
            "0.14.3+ds-1.1",
            "0.14.3+ds-1.1~exp1",
            "0.15.3+ds-1",
            "0.15.3+ds-2",
            "0.15.3+ds-3",
            "0.16.0+ds-1",
            "0.16.3+ds-1",
            "0.16.3+ds-2",
            "0.18.0+ds-1",
            "0.18.7-1",
            "0.20.1+ds-3",
            "0.25.0+ds-1",
            "0.26.0+ds-2",
            "0.41.0+ds-1",
            "0.41.0+ds-2",
            "0.41.0+ds-3",
            "0.41.0+ds-3~bpo13+1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-103930.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "cpp-httplib",
            "purl": "pkg:deb/debian/cpp-httplib?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "versions": [
            "0.18.7-1",
            "0.18.7-1+deb13u1",
            "0.20.1+ds-3",
            "0.25.0+ds-1",
            "0.26.0+ds-2",
            "0.41.0+ds-1",
            "0.41.0+ds-2",
            "0.41.0+ds-3",
            "0.41.0+ds-3~bpo13+1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-103930.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "cpp-httplib",
            "purl": "pkg:deb/debian/cpp-httplib?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "versions": [
            "0.18.7-1",
            "0.20.1+ds-3",
            "0.25.0+ds-1",
            "0.26.0+ds-2",
            "0.41.0+ds-1",
            "0.41.0+ds-2",
            "0.41.0+ds-3",
            "0.41.0+ds-3~bpo13+1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-103930.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-23T17:47:45.513096186Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-103930"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2026-103930"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-103930",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 418757,
  "published_at": "2026-10-14T19:17:07.657+00:00"
}