Skip to main content

Apache Commons BCEL CVE-2026-94114

| EUVDEUVD-2026-93970 HIGH
Symbolic Name not Mapping to Correct Object (CWE-386)
2026-10-06 security@apache.org GHSA-2p8h-ph4h-rm2f
8.2
CVSS 4.0 · Vendor: apache
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Supply crafted class with mismatched this_class name
  2. Delivery
    BCEL repository caches it under the requested name
  3. Exploit
    Poisoned cache entry returned on later lookup
  4. Execution
    Name-keyed verification resolves to wrong class
  5. Impact
    Integrity/security decision bypass

Vulnerability Assessment

Weakness
CWE
Exploitation Conditions

Requires an application that uses Apache Commons BCEL's repository classes (AbstractClassPathRepository or ClassLoaderRepository, below 6.13.0) to load class files from a classpath or input stream that an attacker can influence, and that subsequently relies on name-keyed lookups or verification results from that repository. The attacker must be able to place a class file whose internal this_class name differs from the symbolic name it is requested under, and a different code path must later request a class by that colliding name. LIMITING FACTORS: not exploitable against applications that do not expose BCEL class loading to untrusted input, or that do not reuse the repository's name-keyed cache for security decisions; the AT:P attack requirement means a specific name-collision/lookup sequence must occur, so it is not a drive-in, fully automatable exploit despite the network-reachable, unauthenticated vector.

Impact

The vendor CVSS 4.0 base score of 8.2 (High) is driven entirely by integrity impact (VI:H) with VC:N and VA:N, i.e. no confidentiality or availability loss - this is a class-identity/confusion flaw, not data theft. The vector shows AV:N/PR:N/UI:N (network-reachable, unauthenticated, no user interaction) but AT:P (a specific attack requirement must hold), signalling that exploitation is conditional rather than trivially automatable: the victim application must load attacker-influenced class files through a BCEL repository and then perform name-keyed lookups/verification. No EPSS score, no CISA KEV listing, and no public exploit were provided; only the upstream patch commit is public, so exploitation status is 'no public exploit identified at time of analysis.' SIGNAL CONFLICT: the input tag 'Information Disclosure' contradicts the CVSS vector (VC:N, VI:H) and the description (cache poisoning / wrong-object resolution), so this is better characterised as an integrity/security-decision-bypass issue, not disclosure. Overall this is a genuine but situational risk: high-impact for the narrow set of applications that use BCEL's AbstractClassPathRepository or ClassLoaderRepository against untrusted class input, and low real-world urgency otherwise given no evidence of exploitation and a conditional attack requirement.

Exploit ScenarioDerived

An application uses Apache Commons BCEL to load and verify classes from a location an attacker can influence, then looks them up by symbolic name. The attacker plants a class file whose internal this_class name differs from the name under which it is requested; BCEL caches it under the requested name, so a later name-keyed lookup or verification returns the attacker's unrelated class, undermining decisions based on that identity. No public exploit code is identified at time of analysis - only the upstream patch commit is available.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 06, 2026

Apache Commons BCEL before 6.13.0 caches attacker-supplied class files under the symbolic name declared inside the class file itself rather than validating that name against the name it was requested under, so a class loaded via AbstractClassPathRepository or ClassLoaderRepository can poison a repository entry keyed to a different, colliding name. Applications that load class files from an attacker-influenceable classpath or input stream and later rely on the repository's name-keyed lookups or verification results can be induced to operate on the wrong class, producing an integrity-only impact (no confidentiality or availability effect). The independent assessment rates this CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N - network-reachable and unauthenticated, but requiring a specific name-collision and subsequent lookup sequence (AT:P), so it is not a fully automatable drive-in exploit; no public exploit code and no confirmed active exploitation were identified at time of analysis, and the vendor's elevated 8.2 CVSS 4.0 score reflects the integrity impact alone.

RemediationAI

Upgrade Apache Commons BCEL to version 6.13.0, which is the vendor-released fix for this issue; the correction is implemented in the upstream commit https://github.com/apache/commons-bcel/commit/14890bf2b9014df25f9b4de86f29b5e917e5656b.patch, and the release is announced at https://lists.apache.org/thread.html/d87nxx7nb5bombqggxhxo9lz16nwtsf9. Because the guard introduced upstream (a ClassNotFoundException on any mismatch between the requested symbolic name and the this_class name parsed from the bytes) is the only reliable defense, do not rely on application-level name checks if an upgrade is not immediately possible. If you must defer the upgrade, apply the following compensating controls with their trade-offs: (1) Restrict the classpath and any input streams handed to AbstractClassPathRepository or ClassLoaderRepository so that only trusted, first-party class files reach them - this eliminates the attacker's ability to supply a class file but breaks any legitimate dynamic or third-party class loading, such as plugin systems. (2) Bypass the name-keyed cache entirely for untrusted inputs, for instance by instantiating a fresh repository or a direct ClassParser per load instead of reusing a shared repository - this removes the cache-poisoning persistence but costs performance and does not stop single-request misresolution where the caller trusts the returned JavaClass identity. (3) Never let a name-keyed verification result or repository lookup drive a security decision (class allow-listing, authorization, or deserialization trust checks) unless the resolved JavaClass name has been independently validated against the requested name; this preserves functionality but must be audited across every call site. Confirm whether any embedded or shaded copy of commons-bcel is present in your dependency tree, since it is frequently bundled transitively by JVM tooling and frameworks.

Affected VersionsENISA

Apache Commons BCEL 0 <6.13.0
Apache Commons BCEL 0 <14890bf2b9014df25f9b4de86f29b5e917e5656b

Affected Packages

euvd apache_commons_bcel fix: 6.13.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Apache Commons BCEL (Byte Code Engineering Library) is a bytecode manipulation library used to parse, inspect, and generate Java class files. This issue is classed as CWE-386 (Symbolic Name not Mapping to Correct Object). When BCEL's AbstractClassPathRepository and ClassLoaderRepository load a class file, they parse the bytes and read the this_class internal name from the constant pool - a value that is entirely attacker-controlled because it lives inside the submitted class file. In versions before 6.13.0 the repositories cached the parsed JavaClass under that self-declared internal name instead of the symbolic name the caller requested, and, more importantly, did not reject a mismatch between the two. A crafted class file served or supplied under one requested name could therefore populate the cache entry for a different name, so subsequent lookups and any name-keyed verification results (for instance a repository-backed verifier resolving a class by name) would silently resolve to an object whose real identity differs from what the caller believes. The upstream fix, visible in the commit diff, adds an explicit guard in both repositories that compares clazz.getClassName() against the requested className and throws ClassNotFoundException on mismatch, mirroring the behavior of the JDK's defineClass() which already rejects such identity mismatches. A dedicated regression test (RepositoryNameMismatchTest) and adjustments to several existing tests accompany the fix. The practical precondition is that the consuming application must expose BCEL class loading to untrusted input and must reuse the repository's name-keyed cache for security-relevant decisions.

Know when Java gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (apache) PRIMARY 8.2 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
vuln.today AI 5.9 MEDIUM

Attacker-supplied class is network-deliverable with no auth or interaction, but needs a specific name-collision/lookup sequence (AC:H); only class-identity integrity is affected, so I:H with C:N/A:N.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
SUSE 5.9 MEDIUM
AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
Red Hat 5.9 MEDIUM

Primary rating from Vendor (apache).

CVSS VectorVendor: apache

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Oct 06, 2026 - 21:05 EUVD
CVE Published
Oct 06, 2026 - 20:17 cve.org
HIGH 8.2

DescriptionCVE.org

Symbolic name not mapping to correct object vulnerability in Apache Commons.

BCEL caches attacker-controlled classes under their self-declared names without validating the requested name, allowing subsequent lookups and name-keyed verification results to refer to a different class.

This issue affects Apache Commons: before 6.13.0.

Users are recommended to upgrade to version 6.13.0, which fixes the issue.

Executive ViewAI

Why It Matters

Apache Commons BCEL, a widely used Java library for bytecode analysis and manipulation, contains a high-severity integrity vulnerability (CVE-2026-94114) affecting versions prior to 6.13.0. Organizations using affected versions in applications that load class files from untrusted or attacker-influenceable sources could allow unauthenticated attackers to poison class repositories, causing the application to operate on the wrong class and potentially bypass security controls or execute unauthorized logic. With no vendor-released patch identified at time of analysis and no public exploit identified at time of analysis, leadership should prioritize immediate mitigation and monitoring to protect application integrity.

Business Impact: High
Compensating Controls

Implement strict validation of class names against requested names before caching; restrict class loading to trusted sources; monitor for name collisions and unexpected class loading behavior; consider disabling or replacing the vulnerable repository implementations if feasible.

Threat Intelligence Overview

EPSS Score
0.3%
Top 81% exploitable
Prevalence
Medium
widely-used Java bytecode library, common transitive dependency but not universal
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

41
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +41
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in Java

View all
CVE-2012-4681 CRITICAL POC
9.8 Aug 28

Oracle Java SE 7 Update 6 and earlier contains multiple sandbox bypass vulnerabilities via the ClassFinder and forName m

CVE-2015-7450 CRITICAL POC
9.8 Jan 02

Remote code execution in IBM Sterling B2B Integrator, Sterling Integrator, and Tivoli Common Reporting allows unauthenti

CVE-2013-2465 CRITICAL POC
9.8 Jun 18

Java Runtime Environment sandbox bypass via incorrect image channel verification in 2D component allows remote unauthent

CVE-2011-3544 CRITICAL POC
9.8 Oct 19

Oracle Java SE JDK/JRE 7 and 6 Update 27 and earlier allows remote code execution with complete system compromise throug

CVE-2010-1871 HIGH POC
8.8 Aug 05

JBoss Seam 2 in Red Hat JBoss EAP 4.3.0 fails to sanitize JBoss Expression Language inputs, allowing remote attackers to

CVE-2012-1723 CRITICAL POC
9.8 Jun 16

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 update 4 and earlier, 6 up

CVE-2013-0422 CRITICAL POC
9.8 Jan 10

Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using

CVE-2012-0507 CRITICAL POC
9.8 Jun 07

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up

CVE-2015-4852 CRITICAL POC
9.8 Nov 18

The WLS Security component in Oracle WebLogic Server 10.3.6.0, 12.1.2.0, 12.1.3.0, and 12.2.1.0 allows remote attackers

CVE-2012-5076 CRITICAL POC
9.8 Oct 16

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 7 and earlier allow

CVE-2017-3066 CRITICAL POC
9.8 Apr 27

Remote unauthenticated attackers can execute arbitrary code on Adobe ColdFusion servers through Java deserialization fla

CVE-2012-0391 CRITICAL POC
9.8 Jan 08

The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise High Performance Computing 12 Affected
SUSE Linux Enterprise Module for Basesystem 15 SP7 Affected
SUSE Linux Enterprise Server 15 SP7 Affected
SUSE Linux Enterprise Server 16.0 Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy