Critical severity9.8NVD Advisory· Published Nov 7, 2022· Updated Jun 17, 2026
CVE-2022-42920
CVE-2022-42920
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
org.apache.bcel:bcelMaven | < 6.6.0 | 6.6.0 |
Affected products
10- ghsa-coords9 versionspkg:maven/org.apache.bcel/bcelpkg:rpm/almalinux/bcelpkg:rpm/opensuse/bcel&distro=openSUSE%20Leap%2015.3pkg:rpm/opensuse/bcel&distro=openSUSE%20Leap%2015.4pkg:rpm/opensuse/bcel&distro=openSUSE%20Tumbleweedpkg:rpm/suse/bcel&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP3pkg:rpm/suse/bcel&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP4pkg:rpm/suse/bcel&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5pkg:rpm/suse/bcel&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP5
< 6.6.0+ 8 more
- (no CPE)range: < 6.6.0
- (no CPE)range: < 6.4.1-9.el9_1
- (no CPE)range: < 5.2-150200.11.3.1
- (no CPE)range: < 5.2-150200.11.3.1
- (no CPE)range: < 5.2-37.1
- (no CPE)range: < 5.2-150200.11.3.1
- (no CPE)range: < 5.2-150200.11.3.1
- (no CPE)range: < 5.2-28.3.1
- (no CPE)range: < 5.2-28.3.1
- Range: Apache Commons BCEL
Patches
Vulnerability mechanics
References
16- www.openwall.com/lists/oss-security/2022/11/07/2nvdMailing ListThird Party AdvisoryWEB
- github.com/advisories/GHSA-97xg-phpr-rg8qghsaADVISORY
- lists.apache.org/thread/lfxk7q8qmnh5bt9jm6nmjlv5hsxjhrz4nvdMailing ListVendor AdvisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2022-42920ghsaADVISORY
- github.com/apache/commons-bcel/pull/147ghsaWEB
- issues.apache.org/jira/browse/BCEL-363ghsaWEB
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LX3HEB4TV2BVCGDTK5BCLSYOZNQTOBN4ghsaWEB
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QAMRHAKGIKZNHRBB4VLYTOIOIMMXCUCDghsaWEB
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QMVX6COVXZVS5GPWDODIRW6Z2GE7RPAQghsaWEB
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LX3HEB4TV2BVCGDTK5BCLSYOZNQTOBN4ghsaWEB
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QAMRHAKGIKZNHRBB4VLYTOIOIMMXCUCDghsaWEB
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QMVX6COVXZVS5GPWDODIRW6Z2GE7RPAQghsaWEB
- security.gentoo.org/glsa/202401-25nvdWEB
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LX3HEB4TV2BVCGDTK5BCLSYOZNQTOBN4/nvd
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QAMRHAKGIKZNHRBB4VLYTOIOIMMXCUCD/nvd
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QMVX6COVXZVS5GPWDODIRW6Z2GE7RPAQ/nvd
News mentions
0No linked articles in our index yet.