{"id":"CVE-2026-33013","aliases":["CVE-2026-33013","GHSA-43w5-mmxv-cpvh"],"related":[],"kind":"vulnerability","state":"published","title":"Micronaut vulnerable to DoS via crafted form-urlencoded body binding with descending array indices","summary":"Micronaut Framework is a JVM-based full stack Java framework designed for building modular, easily testable JVM applications. Versions prior to both 4.10.16 and 3.10.5 do not correctly handle descending array index order during form-urlencoded body binding in theJsonBeanPropertyBinder::expandArrayToThreshold, which allows remote attackers to cause a DoS (non-terminating loop, CPU exhaustion, and OutOfMemoryError) via crafted indexed form parameters (e.g., authors[1].name followed by authors[0].name). This issue has been fixed in versions 4.10.16 and 3.10.5.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Micronaut Framework is a JVM-based full stack Java framework designed for building modular, easily testable JVM applications. Versions prior to both 4.10.16 and 3.10.5 do not correctly handle descending array index order during form-urlencoded body binding in theJsonBeanPropertyBinder::expandArrayToThreshold, which allows remote attackers to cause a DoS (non-terminating loop, CPU exhaustion, and OutOfMemoryError) via crafted indexed form parameters (e.g., authors[1].name followed by authors[0].name). This issue has been fixed in versions 4.10.16 and 3.10.5.","source":"cvelist"},{"lang":"en","text":"In `JsonBeanPropertyBinder::expandArrayToThreshold` in `io.micronaut:micronaut-json-core` before Micronaut 4 4.10.16 and in Micronaut 3 before 3.10.5 does not correctly handle descending array index order during form-urlencoded body binding, which allows remote attackers to cause a denial of service (non-terminating loop, CPU exhaustion, and OutOfMemoryError) via crafted indexed form parameters (e.g., `authors[1].name` followed by `authors[0].name`).\n\n### Example\n\nWith such an application\n\n```java\npackage dosform;\n\nimport io.micronaut.http.HttpResponse;\nimport io.micronaut.http.MediaType;\nimport io.micronaut.http.annotation.Body;\nimport io.micronaut.http.annotation.Consumes;\nimport io.micronaut.http.annotation.Controller;\nimport io.micronaut.http.annotation.Get;\nimport io.micronaut.http.annotation.Post;\nimport io.micronaut.http.annotation.Produces;\n\nimport java.net.URI;\n\n@Controller\nclass HomeController {\n\n    @Produces(MediaType.TEXT_HTML)\n    @Get\n    String index() {\n        return \"\"\"\n                <!DOCTYPE html>\n                <html>\n                <head>\n                <title></title>\n                </head>\n                <body>\n    <form action=\"/submit\" method=\"post\">\n      <label for=\"firstAuthor\">Fist Author</label>\n      <input id=\"firstAuthor\" name=\"authors[0].name\" type=\"text\"/>\n\n      <label for=\"secondAuthor\">Second Author</label>\n      <input id=\"secondAuthor\" name=\"authors[1].name\" type=\"text\"/>\n      \n      <label for=\"thirdAuthor\">Third Author</label>\n      <input id=\"thirdAuthor\" name=\"authors[2].name\" type=\"text\"/>\n\n      <button type=\"submit\">Submit</button>\n    </form>\n               \n                </body>\n                </html>\n                \"\"\";\n    }\n\n    @Consumes(MediaType.APPLICATION_FORM_URLENCODED)\n    @Post(\"/submit\")\n    HttpResponse<?> submit(@Body Book book) {\n        return HttpResponse.seeOther(URI.create(\"/\"));\n    }\n}\npackage dosform;\n\nimport io.micronaut.core.annotation.Introspected;\n\nimport java.util.Objects;\n\n@Introspected\npublic class Author {\n    private String name;\n    public String getName() { return name; }\n    public void setName(String name) { this.name = name; }\n\n    @Override\n    public final boolean equals(Object o) {\n        if (!(o instanceof Author)) return false;\n\n        Author author = (Author) o;\n        return Objects.equals(name, author.name);\n    }\n\n    @Override\n    public int hashCode() {\n        return Objects.hashCode(name);\n    }\n\n    @Override\n    public String toString() {\n        return \"Author{\" +\n                \"name='\" + name + '\\'' +\n                '}';\n    }\n}\npackage dosform;\n\nimport io.micronaut.core.annotation.Introspected;\n\nimport java.util.List;\nimport java.util.Objects;\n\n@Introspected\npublic class Book {\n    private List<Author> authors;\n    public List<Author> getAuthors() { return authors; }\n    public void setAuthors(List<Author> authors) { this.authors = authors; }\n\n    @Override\n    public final boolean equals(Object o) {\n        if (!(o instanceof Book)) return false;\n\n        Book book = (Book) o;\n        return Objects.equals(authors, book.authors);\n    }\n\n    @Override\n    public int hashCode() {\n        return Objects.hashCode(authors);\n    }\n\n    @Override\n    public String toString() {\n        return \"Book{\" +\n                \"authors=\" + authors +\n                '}';\n    }\n}\n```\n\nSending `curl -v -X POST 'http://127.0.0.1:8080/submit' -H 'Content-Type: application/x-www-form-urlencoded' --data-urlencode 'authors[1].name=RobertGalbraith' --data-urlencode 'authors[0].name=JKRowling'` causes sustained CPU usage and unbounded memory growth (eventually `OutOfMemoryError`). \n\n### Patches\nFor Micronaut 4, the problem has been patched in `micronaut-core`, dependencies with group id `io.micronaut`, since [4.10.16](https://github.com/micronaut-projects/micronaut-core/releases/tag/v4.10.16).\n\nFor Micronaut 3, the problem has been patched since [3.10.5](https://github.com/micronaut-projects/micronaut-core/releases/tag/v3.10.5)\n\nUsers upgrade to the latest version of the framework. \n\n### Workarounds\nThere is no way for users to fix or remediate the vulnerability without upgrading.\n\n### References\nPR Fix: https://github.com/micronaut-projects/micronaut-core/pull/12410","format":"markdown","source":"ghsa"},{"lang":"es","text":"Micronaut Framework es un framework Java de pila completa basado en JVM diseñado para construir aplicaciones JVM modulares y fácilmente testeables. Las versiones anteriores a la 4.10.16 y a la 3.10.5 no manejan correctamente el orden descendente de los índices de array durante la vinculación del cuerpo form-urlencoded en JsonBeanPropertyBinder::expandArrayToThreshold, lo que permite a atacantes remotos causar un DoS (bucle no terminante, agotamiento de CPU y OutOfMemoryError) a través de parámetros de formulario indexados manipulados (p. ej., authors[1].name seguido de authors[0].name). Este problema ha sido solucionado en las versiones 4.10.16 y 3.10.5.","source":"nvd"}],"published":"2026-03-17T16:59:59.000Z","modified":"2026-09-10T03:50:37.020Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","score":8.2,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","score":8.2,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/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-835"],"affected":[{"ranges":[{"version":">= 4.0.0-M1, < 4.10.16","status":"affected"},{"version":"< 3.10.5","status":"affected"}],"vendor":"micronaut-projects","product":"micronaut-core","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"4.0.0-M1","status":"affected","fixed":"4.10.16"}],"ecosystem":"Maven","package":"io.micronaut:micronaut-json-core","purl":"pkg:maven/io.micronaut/micronaut-json-core","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"3.9.0","status":"affected","fixed":"3.10.5"}],"ecosystem":"Maven","package":"io.micronaut:micronaut-json-core","purl":"pkg:maven/io.micronaut/micronaut-json-core","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"3.8.13"}],"ecosystem":"Maven","package":"io.micronaut:micronaut-json-core","purl":"pkg:maven/io.micronaut/micronaut-json-core","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"3.10.5"},{"status":"affected","introduced":"4.0.0","fixed":"4.10.16"}],"vendor":"objectcomputing","product":"micronaut","cpe":"cpe:2.3:a:objectcomputing:micronaut:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/micronaut-projects/micronaut-core/security/advisories/GHSA-43w5-mmxv-cpvh","tags":["exploit","patch","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/micronaut-projects/micronaut-core/pull/12410","tags":["issue-tracking","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/micronaut-projects/micronaut-core/commit/1afe509677c51b320041b7a2c177366d4a4deb55","tags":["patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/micronaut-projects/micronaut-core/releases/tag/v3.10.5","tags":["release-notes","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/micronaut-projects/micronaut-core/releases/tag/v4.10.16","tags":["release-notes","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-33013","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/micronaut-projects/micronaut-core","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2026-03-25T14:22:10.515Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-33013","url":"https://www.cve.org/CVERecord?id=CVE-2026-33013","licence":"CVE Terms of Use","modified":"2026-03-25T14:23:38.641Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-43w5-mmxv-cpvh","url":"https://github.com/advisories/GHSA-43w5-mmxv-cpvh","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:37.020Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-33013","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-33013","licence":"Public domain","modified":"2026-06-17T10:36:46.813Z"}],"updatedAt":"2026-11-25T22:59:16.277Z","epss":{"score":0.00682,"percentile":0.53761,"date":"2026-12-01T12:00:22.000Z"}}