Resource exhaustion in Cpp-httplib - CVE-2025-46728

 

Resource exhaustion in Cpp-httplib - CVE-2025-46728

Published: June 10, 2025


Vulnerability identifier: #VU110691
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2025-46728
CWE-ID: CWE-400
Exploitation vector: Remote access
Exploit availability: No public exploit available

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

Cpp-httplib
Debian Linux
openEuler
cpp-httplib
cpp-httplib-debuginfo
cpp-httplib-debugsource
cpp-httplib (Debian package)

How to mitigate CVE-2025-46728

Install updates from vendor's website.

Cpp-httplib - update to 0.20.1
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

External References

Related Security Bulletins