On this page (7 sections)

On 26 November 2026, Ubuntu published USN-9207-1, a security notice for Apache Commons BCEL, a Java library for analyzing, creating and manipulating binary Java class files. Ubuntu says the library could be made to load the wrong class if it opened a specially crafted file.

If you run Ubuntu servers that have the libbcel-java package installed, or Java applications that depend on BCEL, this notice is worth a few minutes. At the time of writing, only this one notice covers the story, so some details below are unconfirmed.

What happened

Ubuntu's notice describes the problem in one sentence: BCEL incorrectly cached classes under their self-declared names without validating them against the requested name. In plain terms, a class file can announce its own name, and the library trusted that announcement when storing the class in its cache.

The notice says an attacker could possibly use this to make BCEL return or verify a different class than the one that was requested. Ubuntu words this cautiously ("could possibly"), and it does not describe a working attack, a severity rating or any known abuse.

Technical details in plain terms

This is a cache-key trust problem. A cache is a lookup table: you ask for a class by name and get back the stored result. If the key used for storing comes from the untrusted file itself rather than from the name the caller asked for, a crafted file can claim to be some other class. A later lookup for that name may then return the wrong entry.

How much this matters depends on how an application uses BCEL. As general reasoning (the notice does not discuss typical use cases), a tool that inspects, verifies or transforms bytecode and relies on the answer to "is this the class I asked for?" could have that check undermined by a mismatch. The research does not say which applications are affected in practice, so treat that as an open question to assess for your own software.

The notice references one identifier, CVE-2026-94114. It gives no CVSS score, no attack vector and no upstream Apache advisory, so the real-world severity is unconfirmed.

Who is affected

The notice lists four Ubuntu releases and one package, libbcel-java. You are in scope if:

  • You run Ubuntu 26.10, 26.04 LTS, 24.04 LTS or 22.04 LTS and libbcel-java is installed.
  • A Java application on your servers loads BCEL from the system package.
  • Your build or analysis tooling uses BCEL to read class files from sources you do not fully control (this last case is our own reasoning, not something the notice states).

One caution that goes beyond the notice: the Ubuntu advisory only covers the libbcel-java package. In general, an application that ships its own BCEL jar, for example inside a fat jar or a container image, would not be changed by a system package update. The notice does not discuss bundled copies and the research names no upstream fixed version, so check your application vendor's guidance.

How to check your exposure

The first command shows whether libbcel-java is installed and which version you have. Run it on each Ubuntu host. An error or no matching entry means the package is not installed from the Ubuntu archive.

Check the installed libbcel-java version (Ubuntu)Shell
dpkg -l libbcel-java

Compare the version against the fixed versions in this table, which restates the notice.

Fixed libbcel-java versions from USN-9207-1
Ubuntu releaseFixed versionNotice's delivery note
26.106.12.0-0ubuntu1.1No ESM note in the notice
26.04 LTS6.12.0-0ubuntu1+esm1Ubuntu Pro (ESM Apps)
24.04 LTS6.5.0-2ubuntu0.24.04.1~esm1Ubuntu Pro (ESM Apps)
22.04 LTS6.5.0-1ubuntu0.1+esm1Ubuntu Pro (ESM Apps)

To see which installed packages depend on the library, this read-only query lists reverse dependencies. It helps you decide which Java services to restart or retest.

List installed packages that depend on libbcel-java (Ubuntu)Shell
apt-cache rdepends --installed libbcel-java

What to do now

  1. Run dpkg -l libbcel-java on each Ubuntu host to find out whether the package is installed.
  2. Check which release the host runs and, for 26.04 LTS, 24.04 LTS and 22.04 LTS, whether Ubuntu Pro (ESM Apps) is attached, since the notice lists those fixes under ESM Apps.
  3. Apply the system update to reach the fixed version for your release.
  4. Restart or reload Java services that use BCEL so they load the updated library.
  5. Search your applications and container images for bundled BCEL jars and ask the vendor or your build pipeline whether a fixed release exists.
  6. Re-run dpkg -l libbcel-java and confirm the version matches the table above.

Ubuntu says a standard system update will generally make the necessary changes. This command refreshes package lists and upgrades only the named package, which limits the change to what you intend.

Update only libbcel-java (Ubuntu, run as root or with sudo)Shell
sudo apt update && sudo apt install --only-upgrade libbcel-java
Caution. Restarting Java services interrupts them briefly. Schedule the restart in a maintenance window and test on a staging host first if the service is business critical.
Tip. For 26.04 LTS, 24.04 LTS and 22.04 LTS the notice says the fix is available with Ubuntu Pro via ESM Apps. Ubuntu states Pro is free for up to five machines. Ubuntu also notes a community fix might become publicly available in the future, but gives no date.

Detection and monitoring afterwards

There is no known indicator of compromise for this issue in the research, so the practical goal is staying current rather than hunting for traces. Keep an inventory of where BCEL lives: system packages, bundled jars and container base images. Rebuild images that include an older copy.

Treat any service that parses untrusted class files or jars as higher priority, and review whether it relies on BCEL's class lookups for trust decisions. For the wider server estate, certificate and DNS monitoring such as Webforta Monitor can help you notice unplanned changes, though it does not patch libraries. For general patching habits, see the small business website security guide.

If you maintain Ubuntu hosts, our write-ups on USN-9203-1 for libpcap and USN-9196-1 for Expat cover other library notices and follow a similar update workflow.

What we do not know yet

  • No CVSS score or severity rating is given in the notice.
  • No exploitation in the wild is reported, and the notice does not say whether any exists.
  • No upstream Apache advisory or upstream fixed version is cited in the research.
  • The notice does not say which applications are realistically exposed, or whether bundled copies of BCEL are affected.

We will treat the risk as unrated until more sources appear. Patching the package is low effort, so there is little reason to wait for a score.

Sources

This article is based on the public sources below. Details can change as vendors and researchers publish more; check the original advisories before acting on version numbers.

  1. USN-9207-1: Apache Commons BCEL vulnerability | Ubuntu security notices | Ubuntuubuntu.com ·
  • Ubuntu
  • USN
  • Apache Commons BCEL
  • Java
  • Patch management