CVE-2022-42920: Apache Commons Bcel

Critical severity, CVSS 9.8. EPSS: 3% chance of exploitation in the next 30 days.

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.

Affected products

  • Apache Commons Bcel: before 6.6.0 (fixed in 6.6.0)
  • Fedoraproject Fedora: version 35 only; version 36 only; version 37 only

Published 2022-11-07. Last modified 2026-06-17.