CVE-2026-33012: Micronaut Framework vulnerable to a Denial of Service in HTML error response caching

Published Mar 17, 2026
·
Updated

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

Other sources

Micronaut Framework is a JVM-based full stack Java framework designed for building modular, easily testable JVM applications. Versions 4.7.0 through 4.10.16 used an unbounded ConcurrentHashMap cache with no eviction policy in its DefaultHtmlErrorResponseBodyProvider. If the application throws an exception whose message may be influenced by an attacker, (for example, including request query value parameters) it could be used by remote attackers to cause an unbounded heap growth and OutOfMemoryError, leading to DoS. This issue has been fixed in version 4.10.7.

MITRE

Affected Software

2 affected componentsFixes available
maven/io.micronaut:micronaut-http-server>=4.7.0<4.10.17
4.10.17
Objectcomputing Micronaut>=4.7.0<4.10.17

Event History

Mar 17, 2026
Advisory Published
via GitHub·06:39 PM
Data Sourced
via GitHub·06:39 PM
DescriptionSeverityWeaknessAffected Software
Mar 20, 2026
CVE Published
via MITRE·04:43 AM
Data Sourced
via MITRE·04:43 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:16 AM
RemedyDescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-33012?

CVE-2026-33012 has a severity rating that indicates a potential risk of denial of service due to the unbounded cache leading to resource exhaustion.

2

How do I fix CVE-2026-33012?

To fix CVE-2026-33012, upgrade the `io.micronaut:micronaut-http-server` package to version 4.10.17 or later.

3

What causes CVE-2026-33012?

CVE-2026-33012 is caused by an unbounded `ConcurrentHashMap` cache in `DefaultHtmlErrorResponseBodyProvider` that lacks an eviction policy.

4

What software versions are affected by CVE-2026-33012?

CVE-2026-33012 affects `io.micronaut:micronaut-http-server` versions from 4.7.0 to 4.10.7.

5

Is CVE-2026-33012 exploitable remotely?

Yes, CVE-2026-33012 can be exploited by an attacker who can influence exception messages, potentially leading to Denial of Service.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203