Package status and fixes
Description
Versions of the package yhirose/cpp-httplib before 0.12.4 are vulnerable to CRLF Injection when untrusted user input is used to set the content-type header in the HTTP .Patch, .Post, .Put and .Delete requests. This can lead to logical errors and other misbehaviors. **Note:** This issue is present due to an incomplete fix for [CVE-2020-11709](https://security.snyk.io/vuln/SNYK-UNMANAGED-YHIROSECPPHTTPLIB-2366507).
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- snyk · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | yhirose/cpp-httplib | 0 to < 0.12.4 (affected · semver) | snyk · cna |
| yhirose | cpp-httplib | 0 to < 0.12.4 (affected · semver)Default: unknown | CISA-ADP · adp |
Weaknesses
2- CWE-93 CRLF Injection
- CWE-77 CWE-77 Improper Neutralization of Special Elements used in a Command ('Command Injection')
References
8- https://gist.github.com/dellalibera/094aece17a86069a7d27f93c8aba2280
- https://github.com/yhirose/cpp-httplib/commit/5b397d455d25a391ba346863830c1949627b4d08
- https://github.com/yhirose/cpp-httplib/releases/tag/v0.12.4
- https://lists.fedoraproject.org/archives/list/[email protected]/message/2RY6PKBU73I45L6YWNYCUK2XBEXEFX7L/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/JY2E7EIRWQMKH6GY4OZOWWBZBY3Q7CGS/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/NYODHZECXYFC2BNODZPZXZAXOKGMCYAP/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/U6MO4FSKYNSAJVUXYP7LRY7ARUIGKBFL/
- https://security.snyk.io/vuln/SNYK-UNMANAGED-YHIROSECPPHTTPLIB-5591194
Provider assertions
3snyk · cna
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 4e13ab653408c811c2ee086fd647aa5d417199ca68d4e2eb9b0328d81f8632f3
- Ingested
- 23 Sep 2026, 08:07:05 UTC
- Source record
- Official CVE record