Skip to content
OpenAdvisories
Low · 3.7 CVE-2026-44242 EUVD-2026-29861GHSA-3rfq-4wpf-qqw3

Micronaut Framework: Unbounded bundleCache in ResourceBundleMessageSource Allows Memory Exhaustion via Accept-Language Header

Published May 12, 2026 · Updated May 13, 2026 · Assigned by GitHub_M

Description

Micronaut Framework is a JVM-based full stack Java framework designed for building modular, easily testable JVM applications. Prior to 4.10.22, the bundleCache is keyed by (Locale, baseName) where the locale originates from the HTTP Accept-Language header. In applications that explicitly register a ResourceBundleMessageSource bean and serve HTML error responses, an unauthenticated attacker can exhaust heap memory by sending requests with large numbers of unique Accept-Language values, each causing a new entry in the unbounded bundleCache. This vulnerability is fixed in 4.10.22.

Affected products

VendorProductAffectedFixed
micronaut-projects micronaut-core < 4.10.22 —

Affected packages

EcosystemPackageAffectedFixedRecord
Maven io.micronaut:micronaut-inject >= 4.10.0, < 4.10.22 4.10.22 GHSA-3rfq-4wpf-qqw3
Maven io.micronaut:micronaut-inject >= 3.10.0, < 3.10.6 3.10.6 GHSA-3rfq-4wpf-qqw3
Maven io.micronaut:micronaut-inject < 3.8.14 3.8.14 GHSA-3rfq-4wpf-qqw3

References