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

 

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

Published: July 3, 2025


Vulnerability identifier: #VU112128
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-52887
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 limit the number of headers to process within a single HTTP request. A remote attacker can send very large HTTP requests to trigger memory exhaustion and perform a denial of service (DoS) attack.


Affected software

Cpp-httplib
openEuler
cpp-httplib-debugsource
cpp-httplib-devel
cpp-httplib-debuginfo
cpp-httplib

How to mitigate CVE-2025-52887

Install updates from vendor's website.

Cpp-httplib - update to 0.22.0
cpp-httplib-debugsource - update to 0.22.0-1
cpp-httplib-devel - update to 0.22.0-1
cpp-httplib-debuginfo - update to 0.22.0-1
cpp-httplib - update to 0.22.0-1

External References

Related Security Bulletins