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

- Severity: Medium 6.9 (CVSS:4.0, scored by Checkmarx) `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`
- 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.58%, higher than 42% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-02-04T14:11:51.741Z
- Modified: 2026-06-17T08:27:12.473Z
- Weaknesses: CWE-113
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- cpp-httplib: from v0.17.3 up to v0.18.3
- yhirose cpp-httplib: from 0.17.3 before 0.18.4

## Every score

- Checkmarx: CVSS:4.0 6.9 Medium `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: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`

## References

- <https://advisory.checkmarx.net/advisory/CVE-2025-0825/> (exploit, third-party-advisory)
- <https://github.com/yhirose/cpp-httplib/commit/9c36aae4b73e2b6e493f4133e4173103c9266289> (patch)

## Sources

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

---

Page: https://cve.day/CVE-2025-0825 · Whole record: https://cve.day/CVE-2025-0825.json · Rebuilt by cve.day 2026-11-25T22:58:53.782Z
