What’s Vulnerable › Vulnerabilities

CVE-2025-53628: cpp-httplib does not limit the length of a line

Description

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.

Affected products

How to fix

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

References

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