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.
Problem types
CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop')
CWE-770: Allocation of Resources Without Limits or Throttling
Product status
References
github.com/...ttplib/security/advisories/GHSA-j6p8-779x-p5pw
github.com/...ttplib/security/advisories/GHSA-j6p8-779x-p5pw
github.com/...ttplib/security/advisories/GHSA-qjmq-h3cc-qv6w
github.com/...ommit/7b752106ac42bd5b907793950d9125a0972c8e8e