{"answers":{"affected":"4 open source packages ship an affected version, including io.netty:netty-codec-redis. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-56818 exists.","fix":"Upgrade io.netty:netty-codec-redis to a fixed version for your release line: 4.1.136.Final or 4.2.16.Final.","what":"CVE-2026-56818 is a medium-severity denial of service vulnerability in Netty Netty, published on 7 Aug 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-56818 and fix it if it is affected.\n\nWhat it is: CVE-2026-56818 is a medium-severity denial of service vulnerability in Netty Netty, published on 7 Aug 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-56818 exists.\n\nAffected packages and fixed versions:\n- io.netty:netty-codec-redis (Maven): affected all versions; fixed in 4.1.136.Final\n- io.netty:netty-codec-redis (Maven): affected all versions; fixed in 4.1.136.Final\n- io.netty:netty-codec-redis (Maven): affected from 4.2.0-Final; fixed in 4.2.16.Final\n- io.netty:netty-codec-redis (Maven): affected from 4.2.0-Final; fixed in 4.2.16.Final\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-56818/ (Markdown: https://insights.sbomify.com/CVE-2026-56818/index.md)","id":"CVE-2026-56818","markdown":"https://insights.sbomify.com/CVE-2026-56818/index.md","name":"CVE-2026-56818","record":{"aliases":["DEBIAN-CVE-2026-56818","GHSA-p9jm-q85p-7mcp","MINI-235v-vhh2-gh26","MINI-2xc4-566w-64j8","MINI-3f9m-fmh3-wfmx","MINI-87jq-g97c-hqjj","MINI-95g3-942v-xpg5","MINI-9v75-586m-v599","MINI-fvfg-wf9p-hrv3","MINI-qp6m-9c5m-26h7","MINI-xwc3-p7mf-w5v3","MINI-xxxx-6f7r-x43r","UBUNTU-CVE-2026-56818"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Netty network framework","requires_auth":"none","summary":"An unauthenticated peer can retain partial aggregate state and pin pooled buffers by exceeding maxElements, causing resource exhaustion in Netty Redis codec.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"netty","vendor":"netty"}],"cvss":{"score":6.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-703","name":"Improper Check or Handling of Exceptional Conditions"},{"id":"CWE-401","name":"Missing Release of Memory after Effective Lifetime"}],"description":"Netty is an asynchronous, event-driven network application framework. Prior to 4.1.136.Final and 4.2.16.Final, the RedisArrayAggregator Redis codec clears retained partial aggregate state when the maxNestedArrayDepth limit is exceeded, but it does not clear the same state when the sibling maxElements limit is exceeded. A peer can start a valid RESP array, send a bulk string child, then send a nested array header longer than the configured maxElements. Netty throws a decoder exception in decodeRedisArrayHeader, but the existing partial aggregate remains retained in the handler. If the application leaves the channel alive after the exception, later messages are still consumed into the pre-error aggregate, allowing an unauthenticated peer to keep attacker-controlled aggregate state alive across a security-limit exception and pin retained pooled buffers. This issue is fixed in versions 4.1.136.Final and 4.2.16.Final.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Netty: RedisArrayAggregator max-elements failure leaves retained partial aggregate state","id":"CVE-2026-56818","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":"netty:netty","products":["netty:netty"],"type":"denial_of_service","year":"2026"},"n_packages":4,"n_references":4,"next":{"headline":"Netty: HTTP/2 decompression leaks ByteBuf reference count when the decompressor channel is already closed (Direct memory leak / OOM DoS)","id":"CVE-2026-56819"},"packages":[{"ecosystem":"Maven","fixed":["4.1.136.Final"],"introduced":["0"],"last_affected":[],"package":"io.netty:netty-codec-redis","purl":null,"source":"GHSA-p9jm-q85p-7mcp"},{"ecosystem":"Maven","fixed":["4.1.136.Final"],"introduced":["0"],"last_affected":[],"package":"io.netty:netty-codec-redis","purl":"pkg:maven/io.netty/netty-codec-redis","source":"GHSA-p9jm-q85p-7mcp"},{"ecosystem":"Maven","fixed":["4.2.16.Final"],"introduced":["4.2.0-Final"],"last_affected":[],"package":"io.netty:netty-codec-redis","purl":null,"source":"GHSA-p9jm-q85p-7mcp"},{"ecosystem":"Maven","fixed":["4.2.16.Final"],"introduced":["4.2.0-Final"],"last_affected":[],"package":"io.netty:netty-codec-redis","purl":"pkg:maven/io.netty/netty-codec-redis","source":"GHSA-p9jm-q85p-7mcp"}],"prev":{"headline":"Netty: XML External Entity (XXE) injection via unconfigured XML factory when DTD and entity processing are enabled","id":"CVE-2026-56817"},"products":["netty"],"published":"2026-08-07","related":[{"cvss_score":9.1,"headline":"Netty: SNI Routing Bypass via Fragmented TLS ClientHello Causing Fallback to Default SslContext","id":"CVE-2026-75595","kev_date_added":null,"published":"2026-08-19"},{"cvss_score":8.7,"headline":"Netty: Fragmented ClientHello records trigger quadratic pre-handshake reassembly in default SNI parsing","id":"CVE-2026-75596","kev_date_added":null,"published":"2026-08-19"},{"cvss_score":8.7,"headline":"Netty Bzip2Decoder: Infinite Loop in RLE State Machine Leads to Event-Loop Thread Hang","id":"CVE-2026-59901","kev_date_added":null,"published":"2026-07-29"},{"cvss_score":8.7,"headline":"Netty codec-haproxy: Signed-Byte Sentinel Collision in HAProxyMessageDecoder Leads to Unbounded Memory Exhaustion","id":"CVE-2026-55851","kev_date_added":null,"published":"2026-07-21"},{"cvss_score":8.7,"headline":"Netty SpdyHttpDecoder: ByteBuf Reference Leak on RST_STREAM Leads to Native Memory Exhaustion","id":"CVE-2026-56745","kev_date_added":null,"published":"2026-07-21"},{"cvss_score":8.7,"headline":"Netty Vulnerable to DNS Cache Poisoning via Missing Bailiwick Checks in CNAME Records","id":"CVE-2026-45674","kev_date_added":null,"published":"2026-06-12"},{"cvss_score":8.7,"headline":"Netty has Insufficient Bailiwick Validation for NS Records","id":"CVE-2026-47691","kev_date_added":null,"published":"2026-06-12"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-08-08","vendors":["netty"]},"summary":"An unauthenticated peer can retain partial aggregate state and pin pooled buffers by exceeding maxElements, causing resource exhaustion in Netty Redis codec.","url":"https://insights.sbomify.com/CVE-2026-56818/"}