Skip to main content
VulnerabilityPublished

CVE-2026-77341: yhirose cpp-httplib · CRLF Injection

Affects yhirose cpp-httplibSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 5.3 Medium : upgrade to 0.50.0 when convenient.

Data as of 27 Nov 2026, 22:52 UTC

CVSS 4.0 base score
5.3Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.4% chance of exploitation in 30 days – higher than 31% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 0.50.0
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 28 Aug 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 28 Nov 2026.

What to do

Upgrade yhirose cpp-httplib to 0.50.0.

Affected software

ProductAffectedFixed in
yhirosecpp-httplibAffected
  • >=0.49.0 <0.50.0
Fixed in
  • 0.50.0

AI-suggested

Upgrade to cpp-httplib version 0.50.0 or later, where the vulnerability is fixed by proper validation of trailer header names and values to reject CRLF sequences. No other mitigation is indicated or required according to the available data.

Description

cpp-httplib versions from 0.49.0 up to but not including 0.50.0 contain a CRLF injection vulnerability in the chunked-response trailer output path. This occurs because trailer header names and values are written directly to the socket without validation, allowing injection of carriage return and line feed sequences. This flaw enables HTTP response splitting, which can allow an attacker to forge response headers or inject a second HTTP response. The issue is fixed in version 0.50.0.

References

Community reviews

Loading reviews…