p PatchFirst

PatchFirst · Latest vulnerabilities

cpp-httplib vulnerabilities · Page 2

Vulnerabilities published for cpp-httplib in the last 30 days: 2. Listed in the KEV catalogue: 0.

Filter vulnerabilities
Clear filters

Vulnerabilities: 24

  1. CVE-2025-53628

    Medium · CVSS 6.3EPSS 0.52%No fix published

    cpp-httplib does not limit the length of a line

    cpp-httplib is a C++11 single-file header-only cross platform HTTP/HTTPS library. Prior to 0.20.1, cpp-httplib does not have a limit for a unique line, permitting an attacker to explore this to allocate memory arbitrarily. This vulnerability is fixed in 0.20.1. NOTE: This vulnerability is related to CVE-2025-53629.

    Published Updated
  2. CVE-2025-52887

    High · CVSS 7.5EPSS 0.49%No fix published

    cpp-httplib has unlimited number of http header fields, which causes memory leak

    cpp-httplib is a C++11 single-file header-only cross platform HTTP/HTTPS library. In version 0.21.0, when many http headers fields are passed in, the library does not limit the number of headers, and the memory associated with the headers will not be released when the connection is disconnected. This leads to potential exhaustion of system memory and results in a server crash or unresponsiveness. Version 0.22.0 contains a patch for the issue.

    Published Updated
  3. CVE-2025-46728

    High · CVSS 7.5EPSS 0.66%No fix published

    cpp-httplib has Unbounded Memory Allocation in Chunked/No-Length Requests

    cpp-httplib is a C++ header-only HTTP/HTTPS server and client library. Prior to version 0.20.1, the library fails to enforce configured size limits on incoming request bodies when `Transfer-Encoding: chunked` is used or when no `Content-Length` header is provided. A remote attacker can send a chunked request without the terminating zero-length chunk, causing uncontrolled memory allocation on the server. This leads to potential exhaustion of system memory and results in a server crash or unresponsiveness. Version 0.20.1 fixes the issue by enforcing limits during parsing. If the limit is exceeded at any point during reading, the connection is t

  4. CVE-2023-26130

    High · CVSS 7.5EPSS 1.14%No fix published

    CVE-2023-26130

    Versions of the package yhirose/cpp-httplib before 0.12.4 are vulnerable to CRLF Injection when untrusted user input is used to set the content-type header in the HTTP .Patch, .Post, .Put and .Delete requests. This can lead to logical errors and other misbehaviors. **Note:** This issue is present due to an incomplete fix for [CVE-2020-11709](https://security.snyk.io/vuln/SNYK-UNMANAGED-YHIROSECPPHTTPLIB-2366507).

    Published Updated

Check your server

Check your installed stack and versions against the current vulnerability feeds.

Check your server →