CVE-2026-33012: Micronaut Framework vulnerable to a Denial of Service in HTML error response caching
DefaultHtmlErrorResponseBodyProvider in io.micronaut:micronaut-http-server since 4.7.0 and until 4.10.7 used an unbounded ConcurrentHashMap cache with no eviction policy. If the application throws an exception whose message may be influenced by an attacker, for example, including request query value parameters, this could be used by remote attackers to cause a denial of service (unbounded heap growth and…
Published Mar 17, 2026 · Updated Mar 20, 2026
Affected packages
io.micronaut:micronaut-http-server
- Ecosystem
- Maven
- Affected
- >= 4.7.0, < 4.10.17
- Fixed in
- 4.10.17
- Check
mvn dependency:tree -Dincludes=io.micronaut:micronaut-http-server
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
DefaultHtmlErrorResponseBodyProvider in io.micronaut:micronaut-http-server since 4.7.0 and until 4.10.7 used an unbounded ConcurrentHashMap cache with no eviction policy. If the application throws an exception whose message may be influenced by an attacker, for example, including request query value parameters, this could be used by remote attackers to cause a denial of service (unbounded heap growth and OutOfMemoryError).
Fixed via: https://github.com/micronaut-projects/micronaut-core/commit/1e2ba2c14386af3d47751732d02053a72b0b49b3
Credited to shblue21.
References
- https://github.com/micronaut-projects/micronaut-core/security/advisories/GHSA-2hcp-gjrf-7fhc
- https://github.com/micronaut-projects/micronaut-core/commit/1e2ba2c14386af3d47751732d02053a72b0b49b3
- https://github.com/micronaut-projects/micronaut-core/releases/tag/v4.10.17
- https://nvd.nist.gov/vuln/detail/CVE-2026-33012
- https://github.com/advisories/GHSA-2hcp-gjrf-7fhc
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
