Improper Handling of Highly Compressed Data (Data Amplification) Affecting cpp-httplib package, versions [,0.30.1)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.08% (23rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CONAN-CPPHTTPLIB-14914756
  • published14 Jan 2026
  • disclosed12 Jan 2026
  • creditHritik V

Introduced: 12 Jan 2026

CVE-2026-22776  (opens in a new tab)
CWE-409  (opens in a new tab)

How to fix?

Upgrade cpp-httplib to version 0.30.1 or higher.

Overview

Affected versions of this package are vulnerable to Improper Handling of Highly Compressed Data (Data Amplification) via the unsafe handling of compressed HTTP request bodies when decompressing data. An attacker can exhaust system memory by sending specially crafted compressed payloads that decompress to a much larger size than the original, leading to resource exhaustion.

References

CVSS Base Scores

version 4.0
version 3.1