CVE-2026-92230: Apache Karaf: Improper release of ClassLoader references via static ThreadLocal caching

Published Sep 17, 2026
·
Updated

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.

Affected Software

1 affected component
Apache Karaf

Event History

Sep 17, 2026
CVE Published
via MITRE·06:38 PM
Data Sourced
via MITRE·06:38 PM
DescriptionWeakness

Frequently Asked Questions

1

Which Karaf instances are most exposed to this issue?

Instances that repeatedly install, update, or refresh OSGi bundles or features are exposed to accumulating unreachable bundle ClassLoaders. Long-running containers are particularly affected because the cached ThreadLocal values persist on container threads.

2

What would an attacker or other triggering party need to do?

They would need to cause repeated bundle or feature install, update, or refresh operations. Each cycle can leave another bundle ClassLoader pinned in memory, eventually exhausting Metaspace and denying service.

3

How can administrators recognize that an instance may be affected?

Look for Metaspace usage that continues to grow after repeated bundle or feature lifecycle operations and does not return through garbage collection. The expected impact is eventual denial of service as successive ClassLoaders remain pinned.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203