Integer Truncation Vulnerability in bcel Package

bcel Updated 02 Oct 2025

Summary

18/10/2022
N/A
Yes i
Unrated
Not published

DSA-5256-1: bcel - security update. Affects bcel versions < 6.5.0-1+deb11u1. Fixed in 6.5.0-1+deb11u1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The bcel package is a Java library that provides a convenient way to analyze, create, and manipulate Java class files. It is commonly used by developers and applications that require bytecode manipulation. The package allows users to read, modify, and write Java class files, making it a crucial component for various Java-based projects. However, a vulnerability has been discovered in the bcel package that could lead to the execution of arbitrary Java bytecode.

Vulnerability Detail

The vulnerability in the bcel package is due to an integer truncation issue when processing malicious XSLT stylesheets. This vulnerability can be exploited to corrupt Java class files generated by the internal XSLTC compiler, allowing an attacker to execute arbitrary Java bytecode. This could lead to various security risks, including remote code execution and privilege escalation. The vulnerability has been assigned the identifier CVE-2022-34169.

How To Fix

Minimum fixed version

6.5.0-1+deb11u1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade bcel

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no known workaround for this vulnerability. It is essential to apply the recommended fix by upgrading the bcel package to the patched version.

Conclusion

The integer truncation vulnerability in the bcel package can be exploited to execute arbitrary Java bytecode, posing significant security risks. It is crucial for users of the package to upgrade to the patched version to mitigate this vulnerability. For further assistance or support in addressing this vulnerability, you can contact DevNack.com.

See every vulnerability recorded for bcel →

Share this vulnerability

FAQ

The vulnerability allows an attacker to execute arbitrary Java bytecode, which could lead to remote code execution and privilege escalation.

Users of the bcel package in Debian 11 (bullseye) are affected by this vulnerability.

At the time of this report, there are no known public exploits for this vulnerability.

The CVSS score for this vulnerability has not been provided in the available information.

For more detailed information about this vulnerability, you can refer to the security tracker page for bcel at: https://security-tracker.debian.org/tracker/bcel

Related vulnerabilities

Recent vulnerabilities recorded for bcel.

How To Fix

Minimum fixed version

6.5.0-1+deb11u1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade bcel

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback