Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2022-42920

published

Apache Commons BCEL prior to 6.6.0 allows producing arbitrary bytecode via out-of-bounds writing

Published
07 Nov 2022, 00:00:00 UTC
Updated
03 Aug 2024, 13:19:05 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Apache Software Foundation — Apache Commons BCELApache Commons BCEL to < 6.6.0 Affected Not stated apache
Amazon Linux AL2 Release evaluationALAS2-2023-1916 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2023-105 Fixed Not stated Amazon Linux assessment
AlmaLinux 9 bcel Advisory build 6.4.1-9.el9_1 ALSA-2023:0005
Oracle Linux 7 bcelaarch64 Advisory build 0:5.2-19.el7_9 ELSA-2022-8958
Red Hat Enterprise Linux RHEL-7 bcelnoarch Advisory build 5.2-19.el7_9 RHSA-2022:8958
SUSE / openSUSE SLE-12-SP5 bcelnoarch Advisory build 5.2-28.3.1 SUSE-SU-2022:4331-1
Ubuntu bionic bcel Advisory build 6.2-1ubuntu0.1~esm1 USN-7208-1
Show 43 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Amazon Linux AL2 bcelnoarch Listed in advisory Not stated ALAS2-2023-1916
Rocky Linux 9 bcelnoarch Listed in advisory Not stated RLSA-2023:0005
Oracle Linux 7 bcelx86_64 Advisory build 0:5.2-19.el7_9 ELSA-2022-8958
Oracle Linux 7 bcel-javadocaarch64 Advisory build 0:5.2-19.el7_9 ELSA-2022-8958
Oracle Linux 7 bcel-javadocx86_64 Advisory build 0:5.2-19.el7_9 ELSA-2022-8958
Oracle Linux 9 bcelaarch64 Advisory build 0:6.4.1-9.el9_1 ELSA-2023-0005
Oracle Linux 9 bcelx86_64 Advisory build 0:6.4.1-9.el9_1 ELSA-2023-0005
Red Hat Enterprise Linux RHEL-7 bcelsrc Advisory build 5.2-19.el7_9 RHSA-2022:8958
Red Hat Enterprise Linux RHEL-7 bcel-javadocnoarch Advisory build 5.2-19.el7_9 RHSA-2022:8958
Red Hat Enterprise Linux RHEL-7 rh-maven36-bcelnoarch Advisory build 6.3.1-2.3.el7 RHSA-2022:8959
Red Hat Enterprise Linux RHEL-7 rh-maven36-bcelsrc Advisory build 6.3.1-2.3.el7 RHSA-2022:8959
Red Hat Enterprise Linux RHEL-7 rh-maven36-bcel-javadocnoarch Advisory build 6.3.1-2.3.el7 RHSA-2022:8959
Red Hat Enterprise Linux RHEL-9 bcelnoarch Advisory build 6.4.1-9.el9_0 RHSA-2023:0004
Red Hat Enterprise Linux RHEL-9 bcelnoarch Advisory build 6.4.1-9.el9_1 RHSA-2023:0005
Red Hat Enterprise Linux RHEL-9 bcelsrc Advisory build 6.4.1-9.el9_0 RHSA-2023:0004
Red Hat Enterprise Linux RHEL-9 bcelsrc Advisory build 6.4.1-9.el9_1 RHSA-2023:0005
SUSE / openSUSE SLE-15-SP3 bcelnoarch Advisory build 5.2-150200.11.3.1 SUSE-SU-2022:4306-1
SUSE / openSUSE SLE-15-SP4 bcelnoarch Advisory build 5.2-150200.11.3.1 SUSE-SU-2022:4306-1
SUSE / openSUSE openSUSE-Leap-15.3 bcelnoarch Advisory build 5.2-150200.11.3.1 SUSE-SU-2022:4306-1
SUSE / openSUSE openSUSE-Leap-15.4 bcelnoarch Advisory build 5.2-150200.11.3.1 SUSE-SU-2022:4306-1
SUSE / openSUSE openSUSE-Tumbleweed bcelaarch64 Advisory build 5.2-37.1 OPENSUSE-SU-2024:12530-1
SUSE / openSUSE openSUSE-Tumbleweed bcelppc64le Advisory build 5.2-37.1 OPENSUSE-SU-2024:12530-1
SUSE / openSUSE openSUSE-Tumbleweed bcels390x Advisory build 5.2-37.1 OPENSUSE-SU-2024:12530-1
SUSE / openSUSE openSUSE-Tumbleweed bcelx86_64 Advisory build 5.2-37.1 OPENSUSE-SU-2024:12530-1
SUSE / openSUSE openSUSE-Tumbleweed bcel5_3aarch64 Advisory build 5.3-21.1 OPENSUSE-SU-2024:12498-1
SUSE / openSUSE openSUSE-Tumbleweed bcel5_3ppc64le Advisory build 5.3-21.1 OPENSUSE-SU-2024:12498-1
SUSE / openSUSE openSUSE-Tumbleweed bcel5_3s390x Advisory build 5.3-21.1 OPENSUSE-SU-2024:12498-1
SUSE / openSUSE openSUSE-Tumbleweed bcel5_3x86_64 Advisory build 5.3-21.1 OPENSUSE-SU-2024:12498-1
SUSE / openSUSE openSUSE-Tumbleweed bcel5_3-javadocaarch64 Advisory build 5.3-21.1 OPENSUSE-SU-2024:12498-1
SUSE / openSUSE openSUSE-Tumbleweed bcel5_3-javadocppc64le Advisory build 5.3-21.1 OPENSUSE-SU-2024:12498-1
SUSE / openSUSE openSUSE-Tumbleweed bcel5_3-javadocs390x Advisory build 5.3-21.1 OPENSUSE-SU-2024:12498-1
SUSE / openSUSE openSUSE-Tumbleweed bcel5_3-javadocx86_64 Advisory build 5.3-21.1 OPENSUSE-SU-2024:12498-1
Ubuntu bionic libbcel-java Advisory build 6.2-1ubuntu0.1~esm1 USN-7208-1
Ubuntu focal bcel Advisory build 6.4.1-1ubuntu0.1~esm1 USN-7208-1
Ubuntu focal libbcel-java Advisory build 6.4.1-1ubuntu0.1~esm1 USN-7208-1
Ubuntu jammy bcel Advisory build 6.5.0-1ubuntu0.1 USN-7208-1
Ubuntu jammy libbcel-java Advisory build 6.5.0-1ubuntu0.1 USN-7208-1
Ubuntu xenial bcel Advisory build 6.0~rc3-2ubuntu1+esm1 USN-7208-1
Ubuntu xenial libbcel-java Advisory build 6.0~rc3-2ubuntu1+esm1 USN-7208-1
Amazon Linux AL2 bcelsrc Listed in advisory Not stated ALAS2-2023-1916
Amazon Linux AL2023 bcelnoarch Listed in advisory Not stated ALAS2023-2023-105
Amazon Linux AL2023 bcelsrc Listed in advisory Not stated ALAS2023-2023-105
Rocky Linux 9 bcelsrc Listed in advisory Not stated RLSA-2023:0005

Description

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.

en · apache · cna

Vendor advisories explicitly linked to this CVE.

21

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Apache Software Foundation Apache Commons BCEL Apache Commons BCEL to < 6.6.0 (affected · custom) apache · cna

Weaknesses

1
  • CWE-787 CWE-787 Out-of-bounds Write (apache · cna)

References

6

Provider assertions

2

apache · cna

Apache Commons BCEL prior to 6.6.0 allows producing arbitrary bytecode via out-of-bounds writing

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
8a62225c9b473cac236a9aa4267c885ce480bb813b63f491fa8d204d0612a4ad
Ingested
23 Sep 2026, 08:02:53 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected