CVE-2025-53629 Details
Description
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.
A vulnerability exists in cpp-httplib versions prior to 0.23.0, where incoming HTTP requests using Transfer-Encoding: chunked can lead to arbitrary memory allocation on the server. This behavior can cause memory exhaustion, potentially crashing the server or making it unresponsive. The issue arises because chunked requests can be sent without a defined size limit, allowing for an indefinite number of chunks to be processed. Additionally, this vulnerability is related to HTTP header smuggling, as trailer headers can be improperly merged into the main header collection, creating opportunities for cache poisoning and bypassing access controls.
Users are advised to update to cpp-httplib version 0.23.0, which addresses both the unbounded memory allocation in chunked requests and the HTTP header smuggling vulnerability by properly managing trailer headers.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 10, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/yhirose/cpp-httplib/security/advisories/GHSA-qjmq-h3cc-qv6w | CISA-ADP | ExploitVendor Advisory |
| https://github.com/yhirose/cpp-httplib/commit/17ba303889b8d4d719be3879a70639ab653efb99 | [email protected] | Patch |
| https://github.com/yhirose/cpp-httplib/security/advisories/GHSA-j6p8-779x-p5pw | [email protected] | Not Applicable |
| https://github.com/yhirose/cpp-httplib/security/advisories/GHSA-qjmq-h3cc-qv6w | [email protected] | ExploitVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-770 | Allocation of Resources Without Limits or Throttling | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| yhirose cpp-httplib | < 0.23.0 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Aug 6, 2025 | Initial Analysis | [email protected] |
| Jul 10, 2025 | CVE Modified | CISA-ADP |
| Jul 10, 2025 | New CVE Received | [email protected] |