CVE-2025-0825
JSON

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 packageVersionsReported by
cpp-httplibfrom v0.17.3 up to v0.18.3CVE List
yhirose cpp-httplibfrom 0.17.3 before 0.18.4NVD

All scores

Checkmarx6.9medium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
NVD5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Classification

CWE-113

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

SourceRecordLicence
CVE ListCVE-2025-0825 changed 2025-05-23CVE Terms of Use
NVDCVE-2025-0825 changed 2026-06-17Public domain