{"id":"CVE-2025-0825","state":"PUBLISHED","title":"CRLF injection in Cpp-httplib","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.","publishedAt":"2025-02-04T14:11:51.741Z","updatedAt":"2025-05-23T12:50:55.298Z","severity":{"score":6.9,"label":"Medium","version":"4.0","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","source":"Checkmarx"},"assigner":"Checkmarx","products":["cpp-httplib"],"affected":[{"packageName":"cpp-httplib","defaultStatus":"unaffected","versions":[{"version":"v0.17.3","status":"affected","lessThanOrEqual":"v0.18.3","versionType":"git"}],"collectionURL":"https://github.com/yhirose/cpp-httplib","repo":"https://github.com/yhirose/cpp-httplib"}],"references":["https://github.com/yhirose/cpp-httplib/commit/9c36aae4b73e2b6e493f4133e4173103c9266289","https://advisory.checkmarx.net/advisory/CVE-2025-0825/"],"weaknesses":["CWE-113"],"ingestedAt":"2026-10-29T20:08:20.985Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/0xxx/CVE-2025-0825.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2025-0825","state":"PUBLISHED","datePublished":"2025-02-04T14:11:51.741Z","dateUpdated":"2025-05-23T12:50:55.298Z","assignerShortName":"Checkmarx","assignerOrgId":"596c5446-0ce5-4ba2-aa66-48b3b757a647","dateReserved":"2025-01-29T11:05:58.180Z"},"containers":{"cna":{"title":"CRLF injection in Cpp-httplib","descriptions":[{"lang":"en","value":"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":[{"packageName":"cpp-httplib","defaultStatus":"unaffected","versions":[{"version":"v0.17.3","status":"affected","lessThanOrEqual":"v0.18.3","versionType":"git"}],"collectionURL":"https://github.com/yhirose/cpp-httplib","repo":"https://github.com/yhirose/cpp-httplib"}],"references":[{"url":"https://github.com/yhirose/cpp-httplib/commit/9c36aae4b73e2b6e493f4133e4173103c9266289","tags":["patch"]},{"url":"https://advisory.checkmarx.net/advisory/CVE-2025-0825/"}],"metrics":[{"cvssV4_0":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"NETWORK","baseScore":6.9,"baseSeverity":"MEDIUM","privilegesRequired":"NONE","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"ACTIVE","valueDensity":"NOT_DEFINED","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"HIGH","vulnerabilityResponseEffort":"NOT_DEFINED"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-113","description":"CWE-113 Improper Neutralization of CRLF Sequences in HTTP Headers ('HTTP Request/Response Splitting')","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"Checkmarx","orgId":"596c5446-0ce5-4ba2-aa66-48b3b757a647","dateUpdated":"2025-05-23T12:50:55.298Z"},"credits":[{"lang":"en","type":"finder","value":"Ori Ron from Cx Security Research Group"}],"source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"Vulnogram 0.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-02-04T15:41:49.353379Z","id":"CVE-2025-0825","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-02-04T15:41:56.869Z"}}]}}}