CVE-2026-94114: Apache Commons BCEL: Nested Code/Record attributes drive unbounded parse-time recursion in ClassParser
Apache Commons BCEL before 6.13.0 can recurse unboundedly while parsing nested Code or Record attributes (CVE-2026-94114).
Class-name confusion in Apache Commons BCEL before 6.13.0
Apache Commons BCEL before 6.13.0 caches attacker-controlled classes under the names those classes declare for themselves, without checking that the declared name matches the name that was requested. Later lookups and name-keyed verification can therefore refer to a different class than the caller asked for (CWE-386, symbolic name not mapping to the correct object). An attacker who can supply class bytes that BCEL processes may undermine class-identity checks; the issue is rated high (CVSS 4.0 8.2) with high integrity impact and no confidentiality or availability impact on the vulnerable system. Applications and tools that use affected BCEL releases and handle untrusted bytecode are potentially affected. There is no known public proof of concept, and the flaw is not listed in CISA’s Known Exploited Vulnerabilities catalog.
What to do: Upgrade Apache Commons BCEL to 6.13.0 or later and rebuild or redeploy anything that still ships an older jar, including transitive dependencies. Prioritize applications that load or verify untrusted bytecode through BCEL.
| Product | Affected |
|---|---|
| Apache Software Foundation Apache Commons BCEL | before 6.13.0 |
Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.
Symbolic name not mapping to correct class. 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 BCEL: before 6.13.0. Users are recommended to upgrade to version 6.13.0, which fixes the issue.
Apache Commons BCEL before 6.13.0 can recurse unboundedly while parsing nested Code or Record attributes (CVE-2026-94114).
Today 2.2K readers · 3K views · 459 reads · all time 111K views