Back to Security Advisories

Apache Commons BCEL Vulnerability — Ubuntu Security Update (USN-9207-1)

USN-9207-1 fixes CVE-2026-94114 in Apache Commons BCEL on Ubuntu 26.10, 26.04 LTS, 24.04 LTS and 22.04 LTS: Apache Commons BCEL could be made to load the wrong class if it opened a specially crafted file. A standard system update installs the fix.

High 5.9 CVSS
Ubuntu 20.04 Ubuntu 22.04

What this means under a SharedLicense license

An attacker could possibly use this issue to cause BCEL to return or verify a different class than the one requested.

  1. Ubuntu Security Notices

  2. USN-9207-1


Publication date

26 November 2026

Overview

Apache Commons BCEL could be made to load the wrong class if it opened a
specially crafted file.

Releases


26.10


26.04 LTS


24.04 LTS


22.04 LTS


Packages

  • bcel – Analyze, create, and manipulate (binary) Java class files

Details

It was discovered that Apache Commons BCEL incorrectly cached classes under
their self-declared names without validating them against the requested
name. An attacker could possibly use this issue to cause BCEL to return or
verify a different class than the one requested.

It was discovered that Apache Commons BCEL incorrectly cached classes under
their self-declared names without validating them against the requested
name. An attacker could possibly use this issue to cause BCEL to return or
verify a different class than the one requested.

Update instructions

In general, a standard system update will make all the necessary changes.

Learn more about how to get the fixes.

The problem can be corrected by updating your system to the following package versions:

Ubuntu Release Package Version
26.10 stonking libbcel-java –  6.12.0-0ubuntu1.1
26.04 LTS resolute libbcel-java –  6.12.0-0ubuntu1+esm1   Ubuntu Pro Fix available with Ubuntu Pro via ESM Apps. A community fix might become publicly available in the future.
24.04 LTS noble libbcel-java –  6.5.0-2ubuntu0.24.04.1~esm1   Ubuntu Pro Fix available with Ubuntu Pro via ESM Apps. A community fix might become publicly available in the future.
22.04 LTS jammy libbcel-java –  6.5.0-1ubuntu0.1+esm1   Ubuntu Pro Fix available with Ubuntu Pro via ESM Apps. A community fix might become publicly available in the future.

References

Frequently Asked Questions

What does USN-9207-1 fix?
It was discovered that Apache Commons BCEL incorrectly cached classes under their self-declared names without validating them against the requested name. An attacker could possibly use this issue to cause BCEL to return or verify a different class than the one requested.
Which Ubuntu releases are affected?
The notice lists Ubuntu 26.10, Ubuntu 26.04 LTS, Ubuntu 24.04 LTS, Ubuntu 22.04 LTS.
How do I apply USN-9207-1?
In general, a standard system update will make all the necessary changes. In practice: run sudo apt update && sudo apt upgrade on the server.
Which packages are updated?
The update ships new builds of bcel - Analyze, create, and manipulate (binary) Java class files.

Check your system for vulnerabilities

Select your product and operating system to see the exact fix commands that apply to you.

Check Your System