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 (updated June 30, 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/releases/tag/v3.10.6
  • github.com/micronaut-projects/micronaut-core/releases/tag/v3.8.14
  • 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. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 3.8.14, all versions starting from 3.10.0 before 3.10.6, all versions starting from 4.10.0 before 4.10.22

Fixed versions

  • 3.8.14
  • 3.10.6
  • 4.10.22

Solution

Upgrade to versions 3.8.14, 3.10.6, 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 Sun, 08 Nov 2026 00:15:42 +0000.