# CVE-2023-26130: 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 con…

- Severity: High 7.5 (CVSS:3.1, scored by snyk) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.14%, higher than 67% of CVEs (2026-12-01)
- Published: 2023-05-30T05:00:02.254Z
- Modified: 2026-06-17T05:42:44.627Z
- Weaknesses: CWE-74, CWE-77, CWE-93
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: snyk

## 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).

(As written by CVE List.)

## Affected

- yhirose/cpp-httplib: before 0.12.4
- yhirose cpp-httplib: before 0.12.4
- cpp-httplib_project cpp-httplib: before 0.12.4

## Every score

- snyk: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://security.snyk.io/vuln/SNYK-UNMANAGED-YHIROSECPPHTTPLIB-5591194> (third-party-advisory)
- <https://gist.github.com/dellalibera/094aece17a86069a7d27f93c8aba2280> (third-party-advisory)
- <https://github.com/yhirose/cpp-httplib/releases/tag/v0.12.4> (release-notes)
- <https://github.com/yhirose/cpp-httplib/commit/5b397d455d25a391ba346863830c1949627b4d08> (patch)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/JY2E7EIRWQMKH6GY4OZOWWBZBY3Q7CGS/>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/U6MO4FSKYNSAJVUXYP7LRY7ARUIGKBFL/>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2RY6PKBU73I45L6YWNYCUK2XBEXEFX7L/>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NYODHZECXYFC2BNODZPZXZAXOKGMCYAP/>

## Sources

- CVE List: [CVE-2023-26130](https://www.cve.org/CVERecord?id=CVE-2023-26130), CVE Terms of Use, modified 2025-02-13
- NVD: [CVE-2023-26130](https://nvd.nist.gov/vuln/detail/CVE-2023-26130), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-26130 · Whole record: https://cve.day/CVE-2023-26130.json · Rebuilt by cve.day 2026-11-25T22:58:24.439Z
