CVE-2025-53629
Yhirose Cpp-httplib vulnerability
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
Cpp-httplib. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Yhirose Cpp-httplib runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/yhirose/cpp-httplib/security/advisories/GHSA-qjmq-h3cc-qv6w · Exploit
- github.com/yhirose/cpp-httplib/commit/17ba303889b8d4d719be3879a70639ab653efb99 · Patch
- github.com/yhirose/cpp-httplib/security/advisories/GHSA-j6p8-779x-p5pw
- nvd.nist.gov/vuln/detail/CVE-2025-53629
- cve.org/CVERecord?id=CVE-2025-53629
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.