{"id":"CVE-2025-67735","aliases":["CVE-2025-67735","GHSA-84h7-rjj3-6jx4"],"related":[],"kind":"vulnerability","state":"published","title":"Netty has a CRLF Injection vulnerability in io.netty.handler.codec.http.HttpRequestEncoder","summary":"Netty is an asynchronous, event-driven network application framework. In versions prior to 4.1.129.Final and 4.2.8.Final, the `io.netty.handler.codec.http.HttpRequestEncoder` has a CRLF injection with the request URI when constructing a request. This leads to request smuggling when `HttpRequestEncoder` is used without proper sanitization of the URI. Any application / framework using `HttpRequestEncoder` can be subject to be abused to perform request smuggling using CRLF injection. Versions 4.1.129.Final and 4.2.8.Final fix the issue.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Netty is an asynchronous, event-driven network application framework. In versions prior to 4.1.129.Final and 4.2.8.Final, the `io.netty.handler.codec.http.HttpRequestEncoder` has a CRLF injection with the request URI when constructing a request. This leads to request smuggling when `HttpRequestEncoder` is used without proper sanitization of the URI. Any application / framework using `HttpRequestEncoder` can be subject to be abused to perform request smuggling using CRLF injection. Versions 4.1.129.Final and 4.2.8.Final fix the issue.","source":"cvelist"},{"lang":"en","text":"### Summary\n\nThe `io.netty.handler.codec.http.HttpRequestEncoder` CRLF injection with the request uri when constructing a request. This leads to request smuggling when `HttpRequestEncoder` is used without proper sanitization of the uri.\n\n### Details\n\nThe `HttpRequestEncoder` simply UTF8 encodes the `uri` without sanitization (`buf.writeByte(SP).writeCharSequence(uriCharSequence, CharsetUtil.UTF_8);`)\n\nThe default implementation of HTTP headers guards against such possibility already with a validator making it impossible with headers.\n\n### PoC\n\nSimple reproducer:\n\n```java\npublic static void main(String[] args) {\n\n  EmbeddedChannel client = new EmbeddedChannel();\n  client.pipeline().addLast(new HttpClientCodec());\n\n  EmbeddedChannel server = new EmbeddedChannel();\n  server.pipeline().addLast(new HttpServerCodec());\n  server.pipeline().addLast(new ChannelInboundHandlerAdapter() {\n    @Override\n    public void channelRead(ChannelHandlerContext ctx, Object msg) throws Exception {\n      System.out.println(\"Processing msg \" + msg);\n    }\n  });\n\n  DefaultHttpRequest request = new DefaultHttpRequest(\n    HttpVersion.HTTP_1_1,\n    HttpMethod.GET,\n    \"/s1 HTTP/1.1\\r\\n\" +\n      \"\\r\\n\" +\n      \"POST /s2 HTTP/1.1\\r\\n\" +\n      \"content-length: 11\\r\\n\\r\\n\" +\n      \"Hello World\" +\n      \"GET /s1\"\n  );\n  client.writeAndFlush(request);\n  ByteBuf tmp;\n  while ((tmp = client.readOutbound()) != null) {\n    server.writeInbound(tmp);\n  }\n}\n```\n\n### Impact\n\nAny application / framework using `HttpRequestEncoder` can be subject to be abused to perform request smuggling using CRLF injection.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Netty es un framework de aplicación de red asíncrono y basado en eventos. En versiones anteriores a 4.1.129.Final y 4.2.8.Final, el 'io.netty.handler.codec.http.HttpRequestEncoder' tiene una inyección CRLF con la URI de la solicitud al construir una solicitud. Esto lleva a la suplantación de solicitudes (request smuggling) cuando se utiliza 'HttpRequestEncoder' sin una sanitización adecuada de la URI. Cualquier aplicación / framework que utilice 'HttpRequestEncoder' puede ser susceptible de ser abusada para realizar suplantación de solicitudes (request smuggling) utilizando inyección CRLF. Las versiones 4.1.129.Final y 4.2.8.Final corrigen el problema.","source":"nvd"}],"published":"2025-12-15T23:28:49.000Z","modified":"2026-10-14T13:10:00.187Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","score":6.5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-93"],"affected":[{"ranges":[{"version":">= 4.2.0.Alpha1, < 4.2.8.Final","status":"affected"},{"version":"< 4.1.129.Final","status":"affected"}],"vendor":"netty","product":"netty","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"4.2.0.Alpha1","status":"affected","fixed":"4.2.8.Final"}],"ecosystem":"Maven","package":"io.netty:netty-codec-http","purl":"pkg:maven/io.netty/netty-codec-http","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"4.1.129.Final"}],"ecosystem":"Maven","package":"io.netty:netty-codec-http","purl":"pkg:maven/io.netty/netty-codec-http","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"4.1.129"},{"status":"affected","introduced":"4.2.0","fixed":"4.2.8"}],"vendor":"netty","product":"netty","cpe":"cpe:2.3:a:netty:netty:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/netty/netty/security/advisories/GHSA-84h7-rjj3-6jx4","tags":["exploit","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-67735","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/netty/netty/commit/77e81f1e5944d98b3acf887d3aa443b252752e94","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/netty/netty","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2025-12-16T14:26:21.658Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-67735","url":"https://www.cve.org/CVERecord?id=CVE-2025-67735","licence":"CVE Terms of Use","modified":"2025-12-16T14:26:48.934Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-84h7-rjj3-6jx4","url":"https://github.com/advisories/GHSA-84h7-rjj3-6jx4","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:31.724Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-67735","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-67735","licence":"Public domain","modified":"2026-10-14T13:10:00.187Z"}],"updatedAt":"2026-11-25T22:59:09.431Z","epss":{"score":0.00343,"percentile":0.29893,"date":"2026-12-01T12:00:22.000Z"}}