USN-9207-1: Apache Commons BCEL vulnerability

Publication date

26 November 2026

Overview

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


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  
24.04 LTS noble libbcel-java –  6.5.0-2ubuntu0.24.04.1~esm1  
22.04 LTS jammy libbcel-java –  6.5.0-1ubuntu0.1+esm1  

Reduce your security exposure

Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.


Have additional questions?

Talk to a member of the team ›