6.9medium
CRLF injection in Cpp-httplib
- Severity
- 6.9medium CVSS:4.0 by Checkmarx
- Exploit likelihood
- 0.58% (higher than 42% of CVEs)
- Published
- Last changed
- Assigned by
- Checkmarx
Description
cpp-httplib version v0.17.3 through v0.18.3 fails to filter CRLF characters ("\r\n") when those are prefixed with a null byte. This enables attackers to exploit CRLF injection that could further lead to HTTP Response Splitting, XSS, and more.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| cpp-httplib | from v0.17.3 up to v0.18.3 | CVE List |
| yhirose cpp-httplib | from 0.17.3 before 0.18.4 | NVD |
All scores
| Checkmarx | 6.9medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N |
| NVD | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
cpp-httplib version v0.17.3 through v0.18.3 fails to filter CRLF characters ("\r\n") when those are prefixed with a null byte. This enables attackers to exploit CRLF injection that could further lead to HTTP Response Splitting, XSS, and more.
NVD (es)
La versión v0.17.3 a v0.18.3 de cpp-httplib no filtra los caracteres CRLF ("\r\n") cuando tienen como prefijo un byte nulo. Esto permite a los atacantes aprovechar la inyección CRLF que podría conducir a la división de la respuesta HTTP, XSS y más.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-0825 changed 2025-05-23 | CVE Terms of Use |
| NVD | CVE-2025-0825 changed 2026-06-17 | Public domain |