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.
Published: 2026-09-17
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service due to memory exhaustion caused by lingering ClassLoader references
Action: Immediate Patch
AI Analysis

Impact

Apache Karaf’s XmlUtils stores XML parser and transformer factories in static ThreadLocal fields on non‑terminating container threads. Because a ThreadLocal value outlives the OSGi bundle that created it, successive bundle or feature install, update, or refresh operations can accumulate ClassLoader references that remain pinned and unreachable for garbage collection. This leak grows the JVM Metaspace without bound, eventually exhausting resources and causing the Karaf instance to become unavailable. The vulnerability is a resource leakage (CWE‑401) and improper release of class loader references (CWE‑772).

Affected Systems

Apache Software Foundation’s Apache Karaf product is affected. No specific release or patch level is listed in the advisory; any version that contains the static ThreadLocal caching of XmlUtils may be vulnerable.

Risk and Exploitability

The CVSS base score of 7.5 indicates a high impact for a successful exploitation. The EPSS score of less than 1% suggests a very low probability that this issue will be actively exploited in the wild, and the vulnerability is not listed in CISA’s KEV catalog. The attack path requires the ability to install or update bundles or features in a running Karaf container, so privileged users or attackers who can gain such access to the Karaf management interface can repeatedly trigger the memory leak leading to a denial of service.

Generated by OpenCVE AI on September 19, 2026 at 18:44 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest Karaf update that removes the static ThreadLocal caching from XmlUtils or deploy a vendor issued patch addressing the ClassLoader leakage
  • If a patch is not immediately available, schedule regular restarts of the Karaf container to clear held ClassLoader references and reset Metaspace usage
  • Limit bundle install, update, or refresh operations in a production environment and monitor JVM Metaspace metrics (e.g., via -XX:+PrintGCDetails or JMX) to detect abnormal growth and trigger alerts

Generated by OpenCVE AI on September 19, 2026 at 18:44 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 18 Sep 2026 21:30:00 +0000

Type Values Removed Values Added
First Time appeared Apache
Apache karaf
Vendors & Products Apache
Apache karaf

Fri, 18 Sep 2026 14:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 17 Sep 2026 20:30:00 +0000

Type Values Removed Values Added
References

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

cve-icon MITRE

Status: PUBLISHED

Assigner: apache

Published:

Updated: 2026-09-18T13:33:04.842Z

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

Link: CVE-2026-92230

cve-icon Vulnrichment

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

cve-icon NVD

Status : Awaiting Analysis

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

Modified: 2026-09-18T17:48:19.003

Link: CVE-2026-92230

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-19T18:45:14Z

Weaknesses
  • CWE-401

    Missing Release of Memory after Effective Lifetime

  • CWE-772

    Missing Release of Resource after Effective Lifetime