{
  "id": "CVE-2025-58057",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-58057",
  "published_at": "2025-09-03T21:46:49.928Z",
  "title": "Netty's BrotliDecoder is vulnerable to DoS via zip bomb style attack",
  "vendor": "netty",
  "product": "netty",
  "cvss": {
    "score": 7.5,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
  },
  "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": "Netty is an asynchronous event-driven network application framework for rapid development of maintainable high performance protocol servers \u0026 clients. In netty-codec-compression versions 4.1.124.Final and below, and netty-codec versions 4.2.4.Final and below, when supplied with specially crafted input, BrotliDecoder and certain other decompression decoders will allocate a large number of reachable byte buffers, which can lead to denial of service. BrotliDecoder.decompress has no limit in how often it calls pull, decompressing data 64K bytes at a time. The buffers are saved in the output list, and remain reachable until OOM is hit. This is fixed in versions 4.1.125.Final of netty-codec and 4.2.5.Final of netty-codec-compression.",
  "cwe": "CWE-409",
  "cpes": [
    "cpe:2.3:a:netty:netty:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 6.9,
    "nvd": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "netty",
        "product": "netty",
        "ranges": [
          "\u003c= 4.1.124.Final, \u003c 4.1.125.Final",
          "\u003c= 4.2.4.Final,  \u003c 4.2.5.Final"
        ],
        "fixed_in": null
      },
      {
        "vendor": "",
        "product": "io.netty:netty-codec-compression",
        "ranges": [
          "\u003e= 4.2.0.Alpha1, \u003c 4.2.5.Final"
        ],
        "fixed_in": [
          "4.2.5.Final"
        ],
        "ecosystem": "Maven",
        "advisory": "GHSA-3p8m-j85q-pgmj"
      },
      {
        "vendor": "",
        "product": "io.netty:netty-codec",
        "ranges": [
          "\u003c 4.1.125.Final"
        ],
        "fixed_in": [
          "4.1.125.Final"
        ],
        "ecosystem": "Maven",
        "advisory": "GHSA-3p8m-j85q-pgmj"
      }
    ],
    "upgrade": [
      "Upgrade io.netty:netty-codec-compression to 4.2.5.Final or later.",
      "Upgrade io.netty:netty-codec to 4.1.125.Final or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/netty/netty/security/advisories/GHSA-3p8m-j85q-pgmj"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/netty/netty/commit/9d804c54ce962408ae6418255a83a13924f7145d"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
