Skip to content
OpenAdvisories
Medium · 6.9 CVE-2025-0825 EUVD-2025-1886GHSA-65rj-829h-6g8x

CRLF injection in Cpp-httplib

Published Feb 4, 2025 · Updated May 23, 2025 · 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.

Affected products

VendorProductAffectedFixed
— cpp-httplib — —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 cpp-httplib 0.18.7-1 —
Debian 13 cpp-httplib 0.18.7-1 —
Debian 12 cpp-httplib No fix yet —

References