What’s Vulnerable › Vulnerabilities

CVE-2025-0825: CRLF injection in Cpp-httplib

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 products

How to fix

Upgrade to a fixed version: yhirose cpp-httplib 0.18.4. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-0825 or the next vulnerability affects your stack