CVE-2025-53628
Yhirose Cpp-httplib vulnerability
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
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-j6p8-779x-p5pw · Exploit
- github.com/yhirose/cpp-httplib/commit/7b752106ac42bd5b907793950d9125a0972c8e8e · Patch
- github.com/yhirose/cpp-httplib/security/advisories/GHSA-qjmq-h3cc-qv6w
- nvd.nist.gov/vuln/detail/CVE-2025-53628
- cve.org/CVERecord?id=CVE-2025-53628
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.