Skip to content
OpenAdvisories
High · 7.5 CVE-2026-44241 EUVD-2026-29860GHSA-8hjv-92q9-g4xj

Micronaut Framework: Unbounded formattersCache in TimeConverterRegistrar Allows Memory Exhaustion via Accept-Language Header

Published May 12, 2026 · Updated Jul 10, 2026 · Assigned by GitHub_M

Description

Micronaut Framework is a JVM-based full stack Java framework designed for building modular, easily testable JVM applications. From 4.3.0 to before 4.10.22, 3.10.6, and 3.8.14, TimeConverterRegistrar caches DateTimeFormatter instances in an unbounded ConcurrentHashMap<String, DateTimeFormatter> whose key is derived from the @Format annotation pattern concatenated with the locale from the HTTP Accept-Language header. Because Locale.forLanguageTag() accepts arbitrary BCP 47 private-use extensions (en-x-a001, en-x-a002, …), an unauthenticated attacker can generate an unlimited number of unique cache keys by sending requests with novel locale tags, growing the cache until heap memory is exhausted and the JVM crashes. This vulnerability is fixed in 4.10.22, 3.10.6, and 3.8.14.

Affected products

VendorProductAffectedFixed
micronaut-projects micronaut-core >= 4.3.0, < 4.10.22, >= 3.10.0, < 3.10.6, < 3.8.14 —

Affected packages

EcosystemPackageAffectedFixedRecord
Maven io.micronaut:micronaut-context >= 4.3.0, < 4.10.22 4.10.22 GHSA-8hjv-92q9-g4xj
Maven io.micronaut:micronaut-context >= 3.10.0, < 3.10.6 3.10.6 GHSA-8hjv-92q9-g4xj
Maven io.micronaut:micronaut-context < 3.8.14 3.8.14 GHSA-8hjv-92q9-g4xj

References