{"id":"CVE-2026-59418","aliases":["EUVD-2026-140905","GHSA-5h26-xcfc-495h"],"status":"published","title":"Spring Framework Denial of Service with streaming text decoding in WebFlux","description":"Spring WebFlux applications that decode a request body as a stream of text lines\nmay be vulnerable to a denial of service attack.\n\n Specifically, an application is vulnerable when all the following conditions are met:\n\n \n The application is using Spring WebFlux on Reactor Netty \n The application decodes request bodies as a stream of String values, for example with bodyToFlux(String.class) \nor a Flux\u003cString\u003e request body \n The application configures a maxInMemorySize codec limit that is lower than the size of buffers\nproduced by the server (8KB by default with HTTP/1.1) \n \n When all conditions are met, an attacker can send crafted requests that exceed the configured limit\nand cause the application to leak pooled memory, eventually leading to a denial of service.\nApplications using the default maxInMemorySize of 256KB with default server settings are not affected.","severity":{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-12-05","score":0.00542,"percentile":0.47029,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"published":"2026-12-02T07:12:16Z","modified":"2026-12-02T19:26:40Z","products":[{"vendor":"spring","product":"spring framework"},{"vendor":"vmware","product":"spring framework"}],"references":[{"url":"https://spring.io/security/cve-2026-59418"},{"url":"https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator?vector=AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H\u0026version=3.1"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59418"},{"url":"https://github.com/advisories/GHSA-5h26-xcfc-495h"}],"sources":{"cve":[{"id":"CVE-2026-59418","title":"Spring Framework Denial of Service with streaming text decoding in WebFlux","description":"Spring WebFlux applications that decode a request body as a stream of text lines\nmay be vulnerable to a denial of service attack.\n\n Specifically, an application is vulnerable when all the following conditions are met:\n\n \n The application is using Spring WebFlux on Reactor Netty \n The application decodes request bodies as a stream of String values, for example with bodyToFlux(String.class) \nor a Flux\u003cString\u003e request body \n The application configures a maxInMemorySize codec limit that is lower than the size of buffers\nproduced by the server (8KB by default with HTTP/1.1) \n \n When all conditions are met, an attacker can send crafted requests that exceed the configured limit\nand cause the application to leak pooled memory, eventually leading to a denial of service.\nApplications using the default maxInMemorySize of 256KB with default server settings are not affected.","status":"published","published":"2026-12-02T07:12:16.709Z","modified":"2026-12-02T07:12:16.709Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"medium","assessor":"cna"}],"updated_at":"2026-12-02T07:31:24.108495Z"}],"euvd":[{"id":"EUVD-2026-140905","description":"Spring WebFlux applications that decode a request body as a stream of text lines\nmay be vulnerable to a denial of service attack.\n\n Specifically, an application is vulnerable when all the following conditions are met:\n\n \n The application is using Spring WebFlux on Reactor Netty \n The application decodes request bodies as a stream of String values, for example with bodyToFlux(String.class) \nor a Flux\u003cString\u003e request body \n The application configures a maxInMemorySize codec limit that is lower than the size of buffers\nproduced by the server (8KB by default with HTTP/1.1) \n \n When all conditions are met, an attacker can send crafted requests that exceed the configured limit\nand cause the application to leak pooled memory, eventually leading to a denial of service.\nApplications using the default maxInMemorySize of 256KB with default server settings are not affected.","status":"published","published":"2026-12-02T07:12:16Z","modified":"2026-12-02T07:12:16Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-12-02T12:24:35.691336Z"}],"ghsa":[{"id":"GHSA-5h26-xcfc-495h","title":"Spring WebFlux applications that decode a request body as a stream of text lines\nmay be...","description":"Spring WebFlux applications that decode a request body as a stream of text lines\nmay be vulnerable to a denial of service attack.\n\n Specifically, an application is vulnerable when all the following conditions are met:\n\n \n The application is using Spring WebFlux on Reactor Netty \n The application decodes request bodies as a stream of String values, for example with bodyToFlux(String.class) \nor a Flux\u003cString\u003e request body \n The application configures a maxInMemorySize codec limit that is lower than the size of buffers\nproduced by the server (8KB by default with HTTP/1.1) \n \n When all conditions are met, an attacker can send crafted requests that exceed the configured limit\nand cause the application to leak pooled memory, eventually leading to a denial of service.\nApplications using the default maxInMemorySize of 256KB with default server settings are not affected.","status":"published","published":"2026-12-02T09:30:34Z","modified":"2026-12-02T09:30:44Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-12-02T09:35:49.403578Z"}],"nvd":[{"id":"CVE-2026-59418","description":"Spring WebFlux applications that decode a request body as a stream of text lines\nmay be vulnerable to a denial of service attack.\n\n Specifically, an application is vulnerable when all the following conditions are met:\n\n \n The application is using Spring WebFlux on Reactor Netty \n The application decodes request bodies as a stream of String values, for example with bodyToFlux(String.class) \nor a Flux\u003cString\u003e request body \n The application configures a maxInMemorySize codec limit that is lower than the size of buffers\nproduced by the server (8KB by default with HTTP/1.1) \n \n When all conditions are met, an attacker can send crafted requests that exceed the configured limit\nand cause the application to leak pooled memory, eventually leading to a denial of service.\nApplications using the default maxInMemorySize of 256KB with default server settings are not affected.","status":"published","published":"2026-12-02T08:17:45.773Z","modified":"2026-12-02T19:26:40.093Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"medium","assessor":"secondary"}],"updated_at":"2026-12-02T08:22:34.214829Z"}]}}
