Apache Karaf: Improper release of ClassLoader references via static ThreadLocal caching
Summary
| CVE | CVE-2026-92230 |
|---|---|
| State | PUBLISHED |
| Assigner | apache |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-09-17 19:17:06 UTC |
| Updated | 2026-09-17 20:18:55 UTC |
| 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. |
Risk And Classification
Problem Types: CWE-401 | CWE-772 | CWE-401 CWE-401 Missing release of memory after effective lifetime | CWE-772 CWE-772 Missing release of resource after effective lifetime
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Apache Software Foundation | Apache Karaf | affected 4.4.11 semver | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| lists.apache.org/thread/pxgqjvsmzgpvgly1qf1w300qxsp8bxdj | [email protected] | lists.apache.org | |
| www.openwall.com/lists/oss-security/2026/09/17/3 | af854a3a-2127-422b-91ae-364da2661108 | www.openwall.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: Baoquan Cui & Yucheng Qiu (en)
There are currently no legacy QID mappings associated with this CVE.