Ubuntu releases security updates for Apache Commons BCEL vulnerability CVE-2026-94114
A class-caching flaw in Apache Commons BCEL allows attackers to force the library to return or verify incorrect Java classes via specially crafted files.
Summary
Ubuntu has issued security updates to address CVE-2026-94114, a vulnerability found in the Apache Commons BCEL library. The flaw resides in how the library handles class caching, where it incorrectly stores classes under self-declared names without validating them against the original request.
This issue affects multiple Ubuntu releases, including 26.10, 26.04 LTS, 24.04 LTS, and 22.04 LTS. Users on older Long Term Support (LTS) versions such as 24.04 and 22.04 may require Ubuntu Pro via ESM Apps to access the necessary security patches for the libbcel-java package.
Technical breakdown of CVE-2026-94114
- Defect Class: The vulnerability is a logic error in the class caching mechanism where the library fails to perform identity validation between requested names and self-declared names.
- Attack Vector: An attacker can exploit this by providing a specially crafted file that causes BCEL to return or verify a different class than the one actually requested.
- Affected Component: The flaw specifically impacts the libbcel-java package, which is used to analyze, create, and manipulate Java binary class files.
- Patch Availability: Fixes are provided through updated package versions, such as 6.12.0-0ubuntu1.1 for Ubuntu 26.10 and various ESM-specific versions for LTS releases.
Why it matters
This vulnerability poses a risk to Java applications and development environments that rely on Apache Commons BCEL for bytecode manipulation. System administrators running Ubuntu LTS must ensure they have Ubuntu Pro enabled to receive these critical security updates for the Universe repository packages.
Original reference: ubuntu.com →