{
  "id": "CVE-2026-22776",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-22776",
  "published_at": "2026-01-12T18:18:01.527Z",
  "title": "cpp-httplib vulnerable to a denial of service (DOS) using a zip bomb",
  "vendor": "yhirose",
  "product": "cpp-httplib",
  "cvss": {
    "score": 8.7,
    "source": "cna",
    "vector": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "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.",
  "cwe": "CWE-409",
  "cpes": [
    "cpe:2.3:a:yhirose:cpp-httplib:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.7,
    "nvd": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "yhirose",
        "product": "cpp-httplib",
        "ranges": [
          "\u003c 0.30.1"
        ],
        "fixed_in": [
          "0.30.1"
        ]
      }
    ],
    "upgrade": [
      "Upgrade cpp-httplib to 0.30.1 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/yhirose/cpp-httplib/security/advisories/GHSA-h934-98h4-j43q"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/yhirose/cpp-httplib/commit/2e2e47bab1ae6a853476eecbc4bf279dd1fef792"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
