CVE-2026-92230 PUBLISHED

Apache Karaf: Improper release of ClassLoader references via static ThreadLocal caching

Assigner: apache
Reserved: 15.09.2026 Published: 17.09.2026 Updated: 17.09.2026

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.

Product Status

Vendor Apache Software Foundation
Product Apache Karaf
Versions Default: unaffected
  • affected from 0 to 4.4.11 (excl.)

Credits

  • Baoquan Cui & Yucheng Qiu reporter

References

Problem Types

  • CWE-401 Missing release of memory after effective lifetime CWE
  • CWE-772 Missing release of resource after effective lifetime CWE