# CVE-2025-53628: cpp-httplib does not limit the length of a line

- Severity: Medium 6.3 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.52%, higher than 45% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-07-10T19:45:54.960Z
- Modified: 2026-06-17T09:38:36.060Z
- Weaknesses: CWE-444, CWE-770, CWE-835
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- yhirose cpp-httplib: < 0.20.1; before 0.20.1

## Every score

- GitHub_M: CVSS:4.0 6.3 Medium `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://github.com/yhirose/cpp-httplib/security/advisories/GHSA-j6p8-779x-p5pw> (exploit, vendor-advisory)
- <https://github.com/yhirose/cpp-httplib/security/advisories/GHSA-qjmq-h3cc-qv6w> (not-applicable)
- <https://github.com/yhirose/cpp-httplib/commit/7b752106ac42bd5b907793950d9125a0972c8e8e> (patch)

## Sources

- CVE List: [CVE-2025-53628](https://www.cve.org/CVERecord?id=CVE-2025-53628), CVE Terms of Use, modified 2025-07-10
- NVD: [CVE-2025-53628](https://nvd.nist.gov/vuln/detail/CVE-2025-53628), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-53628 · Whole record: https://cve.day/CVE-2025-53628.json · Rebuilt by cve.day 2026-11-25T22:59:01.116Z
