CVE-2025-53629: cpp-httplib Unbounded Memory Allocation in Chunked/No-Length Requests Vulnerability

Published Jul 10, 2025
·
Updated

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 Software

2 affected components
cpp-httplib cpp-httplib<0.23.0
Yhirose Cpp-httplib<0.23.0

Event History

Jul 10, 2025
CVE Published
via MITRE·07:46 PM
Data Sourced
via MITRE·07:46 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:15 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-53629?

CVE-2025-53629 has a severity level that can potentially lead to memory exhaustion on affected servers.

2

How do I fix CVE-2025-53629?

To fix CVE-2025-53629, you should upgrade to version 0.23.0 or later of the cpp-httplib library.

3

Which versions of cpp-httplib are affected by CVE-2025-53629?

CVE-2025-53629 affects all versions of cpp-httplib prior to 0.23.0.

4

What type of vulnerability is CVE-2025-53629?

CVE-2025-53629 is a memory allocation vulnerability that arises from handling chunked Transfer-Encoding requests.

5

What are the potential consequences of CVE-2025-53629?

The potential consequences of CVE-2025-53629 include server memory exhaustion, which may lead to denial-of-service conditions.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203