Resource exhaustion in Cpp-httplib - CVE-2025-46728
Published: June 10, 2025
Vulnerability details
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to application does not properly control consumption of internal resources when handling requests with "Transfer-Encoding: chunked" is used and no Content-Length header is provided. A remote attacker can send specially crafted HTTP requests to trigger resource exhaustion and perform a denial of service (DoS) attack.
Affected software
Debian Linux
openEuler
cpp-httplib
cpp-httplib-debuginfo
cpp-httplib-debugsource
cpp-httplib (Debian package)
How to mitigate CVE-2025-46728
cpp-httplib - addressed in versions 0.12.4-4, 0.14.0-4
cpp-httplib-debuginfo - update to 0.14.0-4
cpp-httplib-debugsource - update to 0.14.0-4
cpp-httplib (Debian package) - update to 0.18.7-1+deb13u1