1. Archivio CVE
  2. 2026
  3. CVE-2026-77341

CVE-2026-77341

5.3 Gravità media CVSS v4.0 · fonte NVD 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X 5.3 – Media

Descrizione

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.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
yhirose cpp-httplib >= 0.49.0, < 0.50.0 –
Tutte le 24 vulnerabilità di Yhirose Cpp-httplib

Tipo di vulnerabilità

CWE-93 Improper Neutralization of CRLF Sequences

The product uses CRLF (carriage return line feeds) as a special element, e.g. to separate lines or records, but it does not neutralize or incorrectly neutralizes CRLF sequences from inputs.

Impatto sui sistemi

AmbitoImpatto
Integrità Modificare i dati dell’applicazione

Come si previene

Sviluppo Avoid using CRLF as a special sequence.
Sviluppo Appropriately filter or quote CRLF sequences in user-controlled input.

Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.

Tutte le 269 CVE di tipo CWE-93, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org