Apache Karaf's XmlUtils cached XML parser/transformer factories in static ThreadLocal fields on long-lived container threads. Because a ThreadLocal value outlives the OSGi bundle that created it, repeated bundle or feature install, update, or refresh operations can leave successive bundle ClassLoader's pinned in memory and unreachable for garbage collection, leading to unbounded Metaspace growth and eventual denial of service of the Karaf instance.

Project Subscriptions

No data.

Advisories

No advisories yet.

Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Thu, 17 Sep 2026 19:00:00 +0000

Type Values Removed Values Added
Description Apache Karaf's XmlUtils cached XML parser/transformer factories in static ThreadLocal fields on long-lived container threads. Because a ThreadLocal value outlives the OSGi bundle that created it, repeated bundle or feature install, update, or refresh operations can leave successive bundle ClassLoader's pinned in memory and unreachable for garbage collection, leading to unbounded Metaspace growth and eventual denial of service of the Karaf instance.
Title Apache Karaf: Improper release of ClassLoader references via static ThreadLocal caching
Weaknesses CWE-401
CWE-772
References

Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: apache

Published:

Updated: 2026-09-17T19:11:48.291Z

Reserved: 2026-09-15T19:05:23.880Z

Link: CVE-2026-92230

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-17T19:17:06.897

Modified: 2026-09-17T19:17:06.897

Link: CVE-2026-92230

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses