Skip to content
Heist/ feed
Unrated

DEBIAN-CVE-2026-77341

Type: advisorySource: OSV1 source record

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.

Announced Source revision 1
Original source ↗

DEBIAN-CVE-2026-77341

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: osv:DEBIAN-CVE-2026-77341

cpp-httplib

Source reference: /affected/0/package/name

Affected versions
0.11.4+ds-1

Source reference: /affected/0/versions

0.11.4+ds-1+deb12u1

Source reference: /affected/0/versions

0.11.4+ds-2

Source reference: /affected/0/versions

0.11.4+ds-3

Source reference: /affected/0/versions

0.13.1+ds-1

Source reference: /affected/0/versions

0.14.0+ds-1

Source reference: /affected/0/versions

0.14.1+ds-1

Source reference: /affected/0/versions

0.14.1+ds-2

Source reference: /affected/0/versions

0.14.2+ds-1

Source reference: /affected/0/versions

0.14.3+ds-1

Source reference: /affected/0/versions

0.14.3+ds-1.1

Source reference: /affected/0/versions

0.14.3+ds-1.1~exp1

Source reference: /affected/0/versions

0.15.3+ds-1

Source reference: /affected/0/versions

0.15.3+ds-2

Source reference: /affected/0/versions

0.15.3+ds-3

Source reference: /affected/0/versions

0.16.0+ds-1

Source reference: /affected/0/versions

0.16.3+ds-1

Source reference: /affected/0/versions

0.16.3+ds-2

Source reference: /affected/0/versions

0.18.0+ds-1

Source reference: /affected/0/versions

0.18.7-1

Source reference: /affected/0/versions

0.20.1+ds-3

Source reference: /affected/0/versions

0.25.0+ds-1

Source reference: /affected/0/versions

0.26.0+ds-2

Source reference: /affected/0/versions

0.41.0+ds-1

Source reference: /affected/0/versions

0.41.0+ds-2

Source reference: /affected/0/versions

0.41.0+ds-3

Source reference: /affected/0/versions

0.41.0+ds-3~bpo13+1

Source reference: /affected/0/versions

Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

cpp-httplib

Source reference: /affected/1/package/name

Affected versions
0.18.7-1

Source reference: /affected/1/versions

0.18.7-1+deb13u1

Source reference: /affected/1/versions

0.20.1+ds-3

Source reference: /affected/1/versions

0.25.0+ds-1

Source reference: /affected/1/versions

0.26.0+ds-2

Source reference: /affected/1/versions

0.41.0+ds-1

Source reference: /affected/1/versions

0.41.0+ds-2

Source reference: /affected/1/versions

0.41.0+ds-3

Source reference: /affected/1/versions

0.41.0+ds-3~bpo13+1

Source reference: /affected/1/versions

Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

cpp-httplib

Source reference: /affected/2/package/name

Affected versions
0.18.7-1

Source reference: /affected/2/versions

0.20.1+ds-3

Source reference: /affected/2/versions

0.25.0+ds-1

Source reference: /affected/2/versions

0.26.0+ds-2

Source reference: /affected/2/versions

0.41.0+ds-1

Source reference: /affected/2/versions

0.41.0+ds-2

Source reference: /affected/2/versions

0.41.0+ds-3

Source reference: /affected/2/versions

0.41.0+ds-3~bpo13+1

Source reference: /affected/2/versions

Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          }
        ]
      }
    ],
    "package": {
      "name": "cpp-httplib",
      "purl": "pkg:deb/debian/cpp-httplib?arch=source&distro=bookworm",
      "ecosystem": "Debian:12"
    },
    "versions": [
      "0.11.4+ds-1",
      "0.11.4+ds-1+deb12u1",
      "0.11.4+ds-2",
      "0.11.4+ds-3",
      "0.13.1+ds-1",
      "0.14.0+ds-1",
      "0.14.1+ds-1",
      "0.14.1+ds-2",
      "0.14.2+ds-1",
      "0.14.3+ds-1",
      "0.14.3+ds-1.1",
      "0.14.3+ds-1.1~exp1",
      "0.15.3+ds-1",
      "0.15.3+ds-2",
      "0.15.3+ds-3",
      "0.16.0+ds-1",
      "0.16.3+ds-1",
      "0.16.3+ds-2",
      "0.18.0+ds-1",
      "0.18.7-1",
      "0.20.1+ds-3",
      "0.25.0+ds-1",
      "0.26.0+ds-2",
      "0.41.0+ds-1",
      "0.41.0+ds-2",
      "0.41.0+ds-3",
      "0.41.0+ds-3~bpo13+1"
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-77341.json"
    },
    "ecosystem_specific": {
      "urgency": "not yet assigned"
    }
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          }
        ]
      }
    ],
    "package": {
      "name": "cpp-httplib",
      "purl": "pkg:deb/debian/cpp-httplib?arch=source&distro=trixie",
      "ecosystem": "Debian:13"
    },
    "versions": [
      "0.18.7-1",
      "0.18.7-1+deb13u1",
      "0.20.1+ds-3",
      "0.25.0+ds-1",
      "0.26.0+ds-2",
      "0.41.0+ds-1",
      "0.41.0+ds-2",
      "0.41.0+ds-3",
      "0.41.0+ds-3~bpo13+1"
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-77341.json"
    },
    "ecosystem_specific": {
      "urgency": "not yet assigned"
    }
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          }
        ]
      }
    ],
    "package": {
      "name": "cpp-httplib",
      "purl": "pkg:deb/debian/cpp-httplib?arch=source&distro=forky",
      "ecosystem": "Debian:14"
    },
    "versions": [
      "0.18.7-1",
      "0.20.1+ds-3",
      "0.25.0+ds-1",
      "0.26.0+ds-2",
      "0.41.0+ds-1",
      "0.41.0+ds-2",
      "0.41.0+ds-3",
      "0.41.0+ds-3~bpo13+1"
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-77341.json"
    },
    "ecosystem_specific": {
      "urgency": "not yet assigned"
    }
  }
]

Publisher severity

No explicit severity was provided.

Event
#58338 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement