
CVE catalog
CVE-2022-42920
bcel: CVE-2022-42920
- Severity
- High · CVSS 8.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 2.81% · Oct 25, 2026
Apache Commons BCEL has a number of APIs that would normally only allow changing specific class characteristics. However, due to an out-of-bounds writing issue, these APIs can be used to produce arbitrary bytecode. This could be abused in applications that pass attacker-controllable data to those APIs, giving the attacker more control over the resulting bytecode than otherwise expected. Update to Apache Commons BCEL 6.6.0.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | bcel | sid | 6.13.0-1 | fixed |
| Debian | bcel | forky | 6.10.0-1 | fixed |
| Debian | bcel | trixie | 6.10.0-1 | fixed |
| Debian | bcel | bookworm | 6.5.0-2 | fixed |
| Ubuntu | bcel | pro | 6.3-1 | vulnerable |
| Ubuntu | bcel | pro | 6.4.1-1 | vulnerable |
| Ubuntu | bcel | pro | 6.4.1-1ubuntu0.1~esm1 | fixed |
| Ubuntu | bcel | 22.04 | 6.5.0-1 | vulnerable |
| Ubuntu | bcel | 22.04 | 6.5.0-1ubuntu0.1 | fixed |
| Opensuse | bcel | tumbleweed | 5.2-37.1 | fixed |
| Suse | bcel | linux enterprise module for basesystem 15 sp3 | 5.2-150200.11.3.1 | fixed |
| Suse | bcel | linux enterprise module for basesystem 15 sp4 | 5.2-150200.11.3.1 | fixed |
| Opensuse | bcel | leap 15.3 | 5.2-150200.11.3.1 | fixed |
| Opensuse | bcel | leap 15.4 | 5.2-150200.11.3.1 | fixed |
| Ubuntu | bcel | pro | 6.3-1 | vulnerable |
| Ubuntu | bcel | pro | 6.4.1-1 | vulnerable |
| Ubuntu | bcel | pro | 6.4.1-1ubuntu0.1~esm1 | fixed |
| Ubuntu | bcel | 22.04 | 6.5.0-1 | vulnerable |
| Ubuntu | bcel | 22.04 | 6.5.0-1ubuntu0.1 | fixed |
| Suse | bcel | linux enterprise server 12 sp5 | 5.2-28.3.1 | fixed |
| Suse | bcel | linux enterprise server for sap applications 12 sp5 | 5.2-28.3.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | bcel | source | sid | 6.5.0-2 | not yet assigned | Not reported | Not reported |
| Debian | bcel | source | forky | 6.5.0-2 | not yet assigned | Not reported | Not reported |
| Debian | bcel | source | trixie | 6.5.0-2 | not yet assigned | Not reported | Not reported |
| Debian | bcel | source | bookworm | 6.5.0-2 | not yet assigned | Not reported | Not reported |
| Ubuntu | bcel | deb | pro | 6.4.1-1ubuntu0.1~esm1 | Not reported | USN-7208-1 | Not reported |
| Ubuntu | bcel | deb | 22.04 | 6.5.0-1ubuntu0.1 | Not reported | USN-7208-1 | Not reported |
| Opensuse | bcel | rpm | tumbleweed | 5.2-37.1 | Not reported | OPENSUSE-SU-2024:12530-1 | Not reported |
| Suse | bcel | rpm | linux enterprise module for basesystem 15 sp3 | 5.2-150200.11.3.1 | Not reported | SUSE-SU-2022:4306-1 | Not reported |
| Suse | bcel | rpm | linux enterprise module for basesystem 15 sp4 | 5.2-150200.11.3.1 | Not reported | SUSE-SU-2022:4306-1 | Not reported |
| Opensuse | bcel | rpm | leap 15.3 | 5.2-150200.11.3.1 | Not reported | SUSE-SU-2022:4306-1 | Not reported |
| Opensuse | bcel | rpm | leap 15.4 | 5.2-150200.11.3.1 | Not reported | SUSE-SU-2022:4306-1 | Not reported |
| Ubuntu | bcel | deb | pro | 6.4.1-1ubuntu0.1~esm1 | Not reported | UBUNTU-CVE-2022-42920 | Not reported |
| Ubuntu | bcel | deb | 22.04 | 6.5.0-1ubuntu0.1 | Not reported | UBUNTU-CVE-2022-42920 | Not reported |
| Suse | bcel | rpm | linux enterprise server 12 sp5 | 5.2-28.3.1 | Not reported | SUSE-SU-2022:4331-1 | Not reported |
| Suse | bcel | rpm | linux enterprise server for sap applications 12 sp5 | 5.2-28.3.1 | Not reported | SUSE-SU-2022:4331-1 | Not reported |
OpenFactory catalog packages
[openSUSE Tumbleweed]
- [bcel-javadoc]Unknown
Source package: [bcel]
Details (1)
6.10.0-1.7· noarch · tumbleweedUnknown · Fixed:
5.2-37.1Version impact unknown
dsa · bcel · opensuse · tumbleweed
- [bcel]Fixed
Source package: [bcel]
Details (1)
6.10.0-1.7· noarch · tumbleweedFixed · Fixed:
5.2-37.1dsa · bcel · opensuse · tumbleweed
[Debian 12 (Bookworm)]
- [libbcel-java]Fixed
Source package: [bcel]
Details (2)
6.5.0-2· all · bookwormFixed · Fixed:
6.5.0-2dsa · bcel · debian · bookworm
6.5.0-2· all · bookwormFixed · Fixed:
6.5.0-2dsa · bcel · debian · bookworm
- [libbcel-java-doc]Fixed
Source package: [bcel]
Details (2)
6.5.0-2· all · bookwormFixed · Fixed:
6.5.0-2dsa · bcel · debian · bookworm
6.5.0-2· all · bookwormFixed · Fixed:
6.5.0-2dsa · bcel · debian · bookworm
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/rhsa-2022_8958.json]
- [https://osv.dev/vulnerability/SUSE-SU-2022:4306-1]
- [https://osv.dev/vulnerability/SUSE-SU-2022:4331-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2022-42920]
- [https://osv.dev/vulnerability/USN-7208-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2024:12530-1]
- [https://security-tracker.debian.org/tracker/CVE-2022-42920]
- [https://security.access.redhat.com/data/csaf/v2/vex/2022/cve-2022-42920.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2023/wid-sec-w-2023-0132.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]