CVE-2025-53629
JSON

7.5high

cpp-httplib Unbounded Memory Allocation in Chunked/No-Length Requests Vulnerability

Severity
7.5high CVSS:3.1 by GitHub_M
Exploit likelihood
1.01% (higher than 62% of CVEs)
Published
Last changed
Assigned by
GitHub_M

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.

Affected

Product or packageVersionsReported by
yhirose cpp-httplib< 0.23.0, before 0.23.0CVE List, NVD

Classification

CWE-770

SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.

What each source says

CVE List

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.

NVD (es)

cpp-httplib es una librería HTTP/HTTPS multiplataforma de un solo archivo de encabezado para C++11. Antes de la versión 0.23.0, las solicitudes entrantes que usaban Transfer-Encoding: fragmentadas en el encabezado podían asignar memoria arbitrariamente en el servidor, lo que podría provocar su agotamiento. Esta vulnerabilidad se corrigió en la versión 0.23.0. NOTA: Esta vulnerabilidad está relacionada con CVE-2025-53628.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-53629 changed 2025-07-10CVE Terms of Use
NVDCVE-2025-53629 changed 2026-06-17Public domain