Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. io.micronaut/micronaut-context
  4. ›
  5. CVE-2026-44241

CVE-2026-44241: Micronaut has unbounded `formattersCache` in `TimeConverterRegistrar` that Allows Memory Exhaustion via `Accept-Language` Header

May 6, 2026

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 is structurally identical to the recently patched GHSA-2hcp-gjrf-7fhc (DefaultHtmlErrorResponseBodyProvider), but TimeConverterRegistrar.formattersCache was not covered by that fix.

References

  • github.com/advisories/GHSA-8hjv-92q9-g4xj
  • github.com/micronaut-projects/micronaut-core
  • github.com/micronaut-projects/micronaut-core/releases/tag/v4.10.22
  • github.com/micronaut-projects/micronaut-core/security/advisories/GHSA-8hjv-92q9-g4xj
  • nvd.nist.gov/vuln/detail/CVE-2026-44241

Code Behaviors & Features

Detect and mitigate CVE-2026-44241 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 4.3.0 before 4.10.22

Fixed versions

  • 4.10.22

Solution

Upgrade to version 4.10.22 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-400: Uncontrolled Resource Consumption

Source file

maven/io.micronaut/micronaut-context/CVE-2026-44241.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 09 May 2026 00:18:42 +0000.