Skip to content
Heist/ feed
Back to feed
High

cpp-httplib — security advisory

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

cpp-httplib is a C++11 single-file header-only cross platform HTTP/HTTPS library. In affected Mbed TLS backend versions from 0.31.0 through 0.46.1 and wolfSSL backend versions from 0.33.0 through 0.46.1, when cpp-httplib is built with CPPHTTPLIB_MBEDTLS_SUPPORT or CPPHTTPLIB_WOLFSSL_SUPPORT and a client connects to an IP-literal host with server certificate verification enabled, SSLClient and Client in HTTPS mode skip certificate chain validation and WebSocketClient on the Mbed TLS backend skips verification altogether, allowing a man-in-the-middle attacker positioned to intercept traffic to present a crafted certificate and read or modify the traffic. This issue is fixed in version 0.47.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-54919
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 12:22 UTC · Revision 2

Source evidence

DEBIAN-CVE-2026-54919

core-osv · Original source

Published 10 Jul 2026, 17:16 UTC

cpp-httplib is a C++11 single-file header-only cross platform HTTP/HTTPS library. In affected Mbed TLS backend versions from 0.31.0 through 0.46.1 and wolfSSL backend versions from 0.33.0 through 0.46.1, when cpp-httplib is built with CPPHTTPLIB_MBEDTLS_SUPPORT or CPPHTTPLIB_WOLFSSL_SUPPORT and a client connects to an IP-literal host with server certificate verification enabled, SSLClient and Client in HTTPS mode skip certificate chain validation and WebSocketClient on the Mbed TLS backend skips verification altogether, allowing a man-in-the-middle attacker positioned to intercept traffic to present a crafted certificate and read or modify the traffic. This issue is fixed in version 0.47.0.

osv:DEBIAN-CVE-2026-54919

cpp-httplib

Fixed versions: Not specified

cpp-httplib

Fixed versions: Not specified

cpp-httplib

Fixed versions: Not specified

Complete source record
{
  "id": "e44d55c6e757b327b98699cc0a419758f7c20022e2f75c5ce9d4bead138c53e0",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2026-54919",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2026-54919",
    "summary": "cpp-httplib is a C++11 single-file header-only cross platform HTTP/HTTPS library. In affected Mbed TLS backend versions from 0.31.0 through 0.46.1 and wolfSSL backend versions from 0.33.0 through 0.46.1, when cpp-httplib is built with CPPHTTPLIB_MBEDTLS_SUPPORT or CPPHTTPLIB_WOLFSSL_SUPPORT and a client connects to an IP-literal host with server certificate verification enabled, SSLClient and Client in HTTPS mode skip certificate chain validation and WebSocketClient on the Mbed TLS backend skips verification altogether, allowing a man-in-the-middle attacker positioned to intercept traffic to present a crafted certificate and read or modify the traffic. This issue is fixed in version 0.47.0.",
    "evidence": "osv:DEBIAN-CVE-2026-54919",
    "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": "high",
    "structured": {
      "id": "DEBIAN-CVE-2026-54919",
      "aliases": [
        "DEBIAN-CVE-2026-54919"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/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-54919.json"
          },
          "ecosystem_specific": {
            "urgency": "unimportant"
          }
        },
        {
          "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-54919.json"
          },
          "ecosystem_specific": {
            "urgency": "unimportant"
          }
        },
        {
          "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-54919.json"
          },
          "ecosystem_specific": {
            "urgency": "unimportant"
          }
        }
      ],
      "modified": "2026-10-26T11:47:35.084034844Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-54919"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2026-54919"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-54919",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 450915,
  "published_at": "2026-07-10T17:16:58.7+00:00"
}