cpp-httplib is a C++11 single-file header-only cross platform HTTP/HTTPS library. In version 0.21.0, when many http headers fields are passed in, the library does not limit the number of headers, and the memory associated with the headers will not be released when the connection is disconnected. This leads to potential exhaustion of system memory and results in a server crash or unresponsiveness. Version 0.22.0 contains a patch for the issue.
Metrics
Affected Vendors & Products
References
History
Fri, 27 Jun 2025 00:30:00 +0000
Type | Values Removed | Values Added |
---|---|---|
References |
| |
Metrics |
threat_severity
|
threat_severity
|
Thu, 26 Jun 2025 15:15:00 +0000
Type | Values Removed | Values Added |
---|---|---|
Metrics |
ssvc
|
Thu, 26 Jun 2025 14:45:00 +0000
Type | Values Removed | Values Added |
---|---|---|
Description | cpp-httplib is a C++11 single-file header-only cross platform HTTP/HTTPS library. In version 0.21.0, when many http headers fields are passed in, the library does not limit the number of headers, and the memory associated with the headers will not be released when the connection is disconnected. This leads to potential exhaustion of system memory and results in a server crash or unresponsiveness. Version 0.22.0 contains a patch for the issue. | |
Title | cpp-httplib has unlimited number of http header fields, which causes memory leak | |
Weaknesses | CWE-400 | |
References |
| |
Metrics |
cvssV3_1
|

Status: PUBLISHED
Assigner: GitHub_M
Published: 2025-06-26T14:31:52.092Z
Updated: 2025-06-26T14:46:31.045Z
Reserved: 2025-06-20T17:42:25.709Z
Link: CVE-2025-52887

Updated: 2025-06-26T14:46:20.189Z

Status : Awaiting Analysis
Published: 2025-06-26T15:15:23.350
Modified: 2025-06-26T18:57:43.670
Link: CVE-2025-52887
