CVE-2025-53628

cpp-httplib does not limit the length of a line

State
Published
Severity
6.3 Medium
Published
Jul 10, 2025
Updated
Jul 10, 2025
Reserved
Jul 7, 2025

Read the record on cve.org

Description

cpp-httplib is a C++11 single-file header-only cross platform HTTP/HTTPS library. Prior to 0.20.1, cpp-httplib does not have a limit for a unique line, permitting an attacker to explore this to allocate memory arbitrarily. This vulnerability is fixed in 0.20.1. NOTE: This vulnerability is related to CVE-2025-53629.

Scores

CVSSScoreVectorSource
4.06.3 MediumCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:NGitHub_M

Weaknesses

  • CWE-835 Loop with Unreachable Exit Condition ('Infinite Loop')
  • CWE-770 Allocation of Resources Without Limits or Throttling

Affected Products

ProductVersions
cpp-httplibyhirose
  • < 0.20.1Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.