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

Published Feb 4, 2025
·
Updated

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 Software

2 affected components
cpp-httplib cpp-httplib>=v0.17.3<=v0.18.3
Yhirose Cpp-httplib>=0.17.3<0.18.4

Event History

Feb 4, 2025
CVE Published
via MITRE·02:11 PM
Data Sourced
via MITRE·02:11 PM
DescriptionWeakness
Data Sourced
via NVD·03:15 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-0825?

The severity of CVE-2025-0825 is considered high due to the potential for HTTP Response Splitting and subsequent attacks such as XSS.

2

How do I fix CVE-2025-0825?

To fix CVE-2025-0825, upgrade cpp-httplib to version v0.18.4 or later, which addresses the CRLF injection vulnerability.

3

What is CRLF injection in the context of CVE-2025-0825?

CRLF injection in CVE-2025-0825 refers to the ability to manipulate HTTP response headers by injecting CRLF characters due to improper filtering.

4

What are the potential exploits of CVE-2025-0825?

Potential exploits of CVE-2025-0825 include HTTP Response Splitting and Cross-Site Scripting (XSS), which can compromise application security.

5

Which versions of cpp-httplib are affected by CVE-2025-0825?

CVE-2025-0825 affects cpp-httplib versions v0.17.3 through v0.18.3.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203