CVE-2022-42920
CRITICALApache Commons BCEL < 6.6.0 - Arbitrary Bytecode Generation via Out-of-bounds Write
Title source: llmDescription
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.
References (6)
Core 6
Core References
Mailing List, Vendor Advisory
https://lists.apache.org/thread/lfxk7q8qmnh5bt9jm6nmjlv5hsxjhrz4
Mailing List, Third Party Advisory mailing-list
http://www.openwall.com/lists/oss-security/2022/11/07/2
Mailing List, Third Party Advisory vendor-advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LX3HEB4TV2BVCGDTK5BCLSYOZNQTOBN4/
Mailing List, Third Party Advisory vendor-advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QMVX6COVXZVS5GPWDODIRW6Z2GE7RPAQ/
Mailing List, Third Party Advisory vendor-advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QAMRHAKGIKZNHRBB4VLYTOIOIMMXCUCD/
Third Party Advisory vendor-advisory
https://security.gentoo.org/glsa/202401-25
Scores
CVSS v3
9.8
EPSS
0.0380
EPSS Percentile
88.2%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Details
CWE
CWE-787
Status
published
Products (5)
apache/commons_bcel
< 6.6.0
fedoraproject/fedora
35
fedoraproject/fedora
36
fedoraproject/fedora
37
org.apache.bcel/bcel
0 - 6.6.0Maven
Published
Nov 07, 2022
Tracked Since
Feb 18, 2026