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

CVE-2026-22776

7.5 Gravità alta CVSS v3.1 · fonte NVD CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H 7.5 – Alta

Descrizione

cpp-httplib is a C++11 single-file header-only cross platform HTTP/HTTPS library. Prior to version 0.30.1, a Denial of Service (DoS) vulnerability exists in cpp-httplib due to the unsafe handling of compressed HTTP request bodies (Content-Encoding: gzip, br, etc.). The library validates the payload_max_length against the compressed data size received from the network, but does not limit the size of the decompressed data stored in memory.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
yhirose cpp-httplib < 0.30.1 –
Tutte le 24 vulnerabilità di Yhirose Cpp-httplib

Tipo di vulnerabilità

CWE-409 Improper Handling of Highly Compressed Data (Data Amplification)

The product does not handle or incorrectly handles a compressed input with a very high compression ratio that produces a large output.

Impatto sui sistemi

AmbitoImpatto
Disponibilità Interruzione del servizio: amplificazione, Interruzione del servizio: arresto o riavvio, Interruzione del servizio: esaurimento della CPU, Interruzione del servizio: esaurimento della memoria

Tutte le 181 CVE di tipo CWE-409, con andamento e prevenzione

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