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

CVE-2026-44242: Micronaut has Unbounded `bundleCache` in `ResourceBundleMessageSource` that Allows Memory Exhaustion via `Accept-Language` Header

May 6, 2026

ResourceBundleMessageSource maintains two caches: messageCache (bounded at 100 entries via ConcurrentLinkedHashMap) and bundleCache (unbounded ConcurrentHashMap). 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. Unlike GHSA-2hcp-gjrf-7fhc and the sibling messageCache (both bounded), bundleCache was not updated to use a bounded cache implementation.

References

  • github.com/advisories/GHSA-3rfq-4wpf-qqw3
  • 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-3rfq-4wpf-qqw3
  • nvd.nist.gov/vuln/detail/CVE-2026-44242

Code Behaviors & Features

Detect and mitigate CVE-2026-44242 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 before 4.10.22

Fixed versions

  • 4.10.22

Solution

Upgrade to version 4.10.22 or above.

Impact 3.7 LOW

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

Learn more about CVSS

Weakness

  • CWE-400: Uncontrolled Resource Consumption

Source file

maven/io.micronaut/micronaut-inject/CVE-2026-44242.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:37 +0000.