Skip to main content
← All vulnerabilities
CVE-2026-44241GHSA-8HJV-92Q9-G4XJ

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.10.22, 3.10.6, 3.8.14
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • micronaut-projects micronaut-core

    From 4.3.0 · fixed in 4.10.22; From 3.10.0 · fixed in 3.10.6; fixed in 3.8.14

  • io.micronaut:micronaut-contextMaven

    From 4.3.0 · fixed in 4.10.22

  • io.micronaut:micronaut-contextMaven

    From 3.10.0 · fixed in 3.10.6

  • io.micronaut:micronaut-contextMaven

    fixed in 3.8.14

References 7

GitHub · micronaut-projects/micronaut-core