Command injection in yhirose/cpp-httplib
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA. Impact type from CWE-77.
Summary
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).
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | yhirose/cpp-httplib | before 0.12.4 | 0.12.4 | Patch available | CNA |
- yhirose/cpp-httplib Vendor— Affected before 0.12.4 Fixed in 0.12.4 Patch available CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:cpp-httplib_project:cpp-httplib:*:*:*:*:*:*:*:* | before 0.12.4 | Vulnerable | Cpp-httplib Project |
- cpe:2.3:a:cpp-httplib_project:cpp-httplib:*:*:*:*:*:*:*:* Versions before 0.12.4 Vulnerable ·Cpp-httplib Project
Remediation
- Fix · CNA yhirose/cpp-httplib Fixed in 0.12.4
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2023-26130
- 2026-10-03 Alias added: GHSA-599g-p68q-2rxv
References
Other 5
- https://github.com/yhirose/cpp-httplib/releases/tag/v0.12.4
- https://lists.fedoraproject.org/archives/list/[email protected]/message/JY2E7EIRWQMKH6GY4OZOWWBZBY3Q7CGS/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/U6MO4FSKYNSAJVUXYP7LRY7ARUIGKBFL/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/2RY6PKBU73I45L6YWNYCUK2XBEXEFX7L/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/NYODHZECXYFC2BNODZPZXZAXOKGMCYAP/
More Cpp-httplib Project Cpp-httplib vulnerabilities
- TI-2025-29399 cpp-httplib has Unbounded Memory Allocation in Chunked/No-Length Requests CVSS 3.1HIGH 7.5
Sources
- CVE-2023-26130 · CVE Program
- CVE-2023-26130 · NVD
- FIRST EPSS
- GHSA-599g-p68q-2rxv · GitHub Advisory Database · CC BY 4.0
- CVE-2023-26130 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences