What’s Vulnerable › Vulnerabilities

CVE-2025-53629: cpp-httplib Unbounded Memory Allocation in Chunked/No-Length Requests Vulnerability

Description

cpp-httplib is a C++11 single-file header-only cross platform HTTP/HTTPS library. Prior to 0.23.0, incoming requests using Transfer-Encoding: chunked in the header can allocate memory arbitrarily in the server, potentially leading to its exhaustion. This vulnerability is fixed in 0.23.0. NOTE: This vulnerability is related to CVE-2025-53628.

Affected products

How to fix

Upgrade to a fixed version: yhirose cpp-httplib 0.23.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-53629 or the next vulnerability affects your stack