---
title: CVE-2026-77341
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2026-77341
---

# CVE-2026-77341

Publication date 28 August 2026

Last updated 2 September 2026

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

Toggle side navigation

## Description

cpp-httplib is a C++ header-only HTTP/HTTPS library. In version 0.49.0, the
chunked-response trailer output path writes trailer header names and values
directly to the socket without validating them, allowing CRLF sequences in
a trailer field to inject additional headers or split the HTTP response.
Unlike every other header-writing path in the library, the trailer-writing
code applies none of the field-name and field-value checks that reject
carriage return and line feed, so an application that places
attacker-influenced data into a chunked response trailer emits
attacker-controlled CRLF onto the wire. This enables HTTP response
splitting, letting an attacker forge response headers or inject a second
response. This issue is fixed in version 0.50.0.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| cpp-httplib | 26.10 stonking | Needs evaluation |
| 26.04 LTS resolute | Needs evaluation |
| 24.04 LTS noble | Needs evaluation |
| 22.04 LTS jammy | Needs evaluation |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)

## Severity score breakdown

CVSS version:
CVSS v4.0

**Base score**

5.3 · Medium

* Base metrics

  | Parameter | Value |
  | --- | --- |
  | Attack vector | Network |
  | Attack complexity | Low |
  | Attack requirements | None |
  | Privileges required | None |
  | User interaction | Passive |
  | Vulnerable system - Confidentiality impact | None |
  | Vulnerable system - Integrity impact | Low |
  | Vulnerable system - Availability impact | None |
  | Subsequent system - Confidentiality impact | Low |
  | Subsequent system - Integrity impact | Low |
  | Subsequent system - Availability impact | None |
* Scores

  | Parameter | Value |
  | --- | --- |
  | Base score | 5.3 · Medium |
  | Base + Threat score | - |
  | Base + Environmental score | - |
  | Base + Threat + Environmental score | - |

**Vector:** CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:L/SI:L/SA:N

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-77341)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2026-77341)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2026-77341)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2026-77341)

### Other references

* <https://www.cve.org/CVERecord?id=CVE-2026-77341>
* <https://github.com/yhirose/cpp-httplib/security/advisories/GHSA-2r2h-jc8w-w66c>
* <https://github.com/yhirose/cpp-httplib/commit/568d434e72fc51729d0ad33abffb181e5f7a453d>
