CVE-2025-0825 in Yhirose Cpp-Httplib
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.
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Yhirose | Cpp-Httplib | ≥ 0.17.3, < 0.18.4 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2025-0825 |
|---|---|
| BreachSpider ID | BS-2025-GLOBAL-043166-M |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| Published | 2025-02-04 |
| Last modified | 2025-08-04 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-113: CWE-113
Related attack patterns (CAPEC)
CAPEC-31 Accessing/Intercepting/Modifying HTTP Cookies via CWE-113
CAPEC-34 HTTP Response Splitting via CWE-113
CAPEC-85 AJAX Footprinting via CWE-113
CAPEC-105 HTTP Request Splitting via CWE-113
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A medium severity vulnerability affects Yhirose systems (CVE-2025-0825). No public exploit code is currently available. Review vendor advisories and apply patches during the next maintenance window.
Vulnerability details: 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. CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N.
Questions
What is CVE-2025-0825?
A medium severity vulnerability affects Yhirose systems (CVE-2025-0825). No public exploit code is currently available. Review vendor advisories and apply patches during the next maintenance window.
What is the CVSS score for CVE-2025-0825?
CVE-2025-0825 has CVSS 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N. EPSS: 0.6%.
Is CVE-2025-0825 actively exploited?
No confirmed active exploitation of CVE-2025-0825 as of 2026-05-30.
How do I remediate CVE-2025-0825?
Priority: LOW.
What systems are affected by CVE-2025-0825?
CVE-2025-0825 affects Yhirose Cpp-Httplib.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Yhirose","product":"Cpp-Httplib","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2025-08-04.