{"id":"CVE-2026-56745","aliases":["CVE-2026-56745","GHSA-jppx-w49h-x2qq"],"related":[],"kind":"vulnerability","state":"published","title":"Netty SpdyHttpDecoder: ByteBuf Reference Leak on RST_STREAM Leads to Native Memory Exhaustion","summary":"Netty is a network application framework for development of protocol servers and clients. In versions 4.2.0.Final through 4.2.15.Final and 4.1.0.Final through 4.1.135.Final, the `SpdyHttpDecoder` handler in Netty's SPDY-to-HTTP codec allocates a pooled `ByteBuf` when processing a client-initiated `SYN_STREAM` frame with `FLAG_FIN=0` and stores the partially constructed `FullHttpRequest` in `messageMap`; when the remote peer sends `RST_STREAM` for that stream or the accumulated content exceeds `maxContentLength`, the decoder removes the entry but does not release the pooled `ByteBuf`, causing native memory exhaustion. This issue is fixed in versions 4.1.136.Final and 4.2.16.Final.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Netty is a network application framework for development of protocol servers and clients. In versions 4.2.0.Final through 4.2.15.Final and 4.1.0.Final through 4.1.135.Final, the `SpdyHttpDecoder` handler in Netty's SPDY-to-HTTP codec allocates a pooled `ByteBuf` when processing a client-initiated `SYN_STREAM` frame with `FLAG_FIN=0` and stores the partially constructed `FullHttpRequest` in `messageMap`; when the remote peer sends `RST_STREAM` for that stream or the accumulated content exceeds `maxContentLength`, the decoder removes the entry but does not release the pooled `ByteBuf`, causing native memory exhaustion. This issue is fixed in versions 4.1.136.Final and 4.2.16.Final.","source":"cvelist"},{"lang":"en","text":"The `SpdyHttpDecoder` handler in Netty's SPDY-to-HTTP codec allocates a pooled `ByteBuf` when processing a client-initiated `SYN_STREAM` frame with `FLAG_FIN=0`, storing the partially-constructed `FullHttpRequest` in an internal map (`messageMap`) to accumulate subsequent `DATA` frames. When the remote peer sends an `RST_STREAM` for that stream, or when the accumulated content exceeds `maxContentLength`, the decoder removes the entry from the map but **never releases the pooled ByteBuf**, permanently leaking the allocated memory.","format":"markdown","source":"ghsa"}],"published":"2026-07-21T21:31:25.307Z","modified":"2026-09-10T03:50:12.368Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","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","score":8.7,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","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","score":8.7,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","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","rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-400"],"affected":[{"ranges":[{"version":">= 4.2.0.Final, < 4.2.16.Final","status":"affected"},{"version":">= 4.1.0.Final, < 4.1.136.Final","status":"affected"}],"vendor":"netty","product":"netty","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"4.2.0.Final","status":"affected","fixed":"4.2.16.Final"}],"ecosystem":"Maven","package":"io.netty:netty-codec-http","purl":"pkg:maven/io.netty/netty-codec-http","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"4.1.0.Final","status":"affected","fixed":"4.1.136.Final"}],"ecosystem":"Maven","package":"io.netty:netty-codec-http","purl":"pkg:maven/io.netty/netty-codec-http","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"4.1.0","fixed":"4.1.136"},{"status":"affected","introduced":"4.2.0","fixed":"4.2.16"}],"vendor":"netty","product":"netty","cpe":"cpe:2.3:a:netty:netty:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/netty/netty/security/advisories/GHSA-jppx-w49h-x2qq","tags":["vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/netty/netty/commit/5b68c61f37aa4a3045cba624cbea239655c9003b","tags":["patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/netty/netty/commit/bb2ff68a1fb71cb4b0eb9a9e17b66c52aff680c6","tags":["patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/netty/netty/releases/tag/netty-4.1.136.Final","tags":["release-notes","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/netty/netty/releases/tag/netty-4.2.16.Final","tags":["release-notes","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-56745","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/netty/netty","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-07-22T15:30:09.620Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-56745","url":"https://www.cve.org/CVERecord?id=CVE-2026-56745","licence":"CVE Terms of Use","modified":"2026-07-22T15:30:19.140Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-jppx-w49h-x2qq","url":"https://github.com/advisories/GHSA-jppx-w49h-x2qq","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:12.368Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-56745","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-56745","licence":"Public domain","modified":"2026-07-30T14:46:55.073Z"}],"updatedAt":"2026-11-25T22:59:29.462Z","epss":{"score":0.00612,"percentile":0.50657,"date":"2026-12-01T12:00:22.000Z"}}