ADVISORIES

Vulnerability

CVE-2022-42920

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.

25 advisories report this vulnerability, across 12 ecosystems.

Advisories

  • ALAS2-2023-1916

    Amazon Linux 2 2017.12 - ALAS2-2023-1916: important priority package update for bcel

    Important CVE-2022-42920 Amazon Linux Updated 20 January 2023
  • ALAS2023-2023-105

    Amazon Linux 2023 - ALAS2023-2023-105: Important priority package update for bcel

    Important CVE-2022-42920 Amazon Linux Updated 22 February 2023
  • ALSA-2023:0005

    Important: bcel security update

    CVE-2022-42920 AlmaLinux Updated 29 October 2026
  • AZL-109475

    CVE-2022-42920 affecting package bcel 5.2-37

    CVE-2022-42920 Azure Linux Updated 23 November 2026
  • CGA-49rg-w2x8-4vrp
    CVE-2022-42920 Chainguard Updated 5 November 2026
  • CGA-9c7x-xwch-5qwr
    CVE-2022-42920 Chainguard Updated 5 November 2026
  • CGA-q7rv-67xh-3vx7
    CVE-2022-42920 Chainguard Updated 5 November 2026
  • CGA-rm6f-xwc4-2fwv
    CVE-2022-42920 Chainguard Updated 5 November 2026
  • CGA-vpf4-m6qv-q7v6
    CVE-2022-42920 Chainguard Updated 5 November 2026
  • CGA-x622-w288-wh49
    CVE-2022-42920 Chainguard Updated 5 November 2026
  • DEBIAN-CVE-2022-42920

    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…

    CVE-2022-42920 Debian Updated 20 November 2026
  • ELSA-2022-8958

    ELSA-2022-8958: bcel security update (IMPORTANT)

    Important CVE-2022-42920 Oracle Linux Updated 14 December 2022
  • ELSA-2023-0005

    ELSA-2023-0005: bcel security update (IMPORTANT)

    Important CVE-2022-42920 Oracle Linux Updated 3 January 2023
  • GHSA-97xg-phpr-rg8q

    Apache Commons BCEL vulnerable to out-of-bounds write

    Critical CVE-2022-42920 Maven Updated 16 February 2024
  • RHSA-2022:8958

    Red Hat Security Advisory: bcel security update

    CVE-2022-42920 Red Hat Updated 13 November 2026
  • RHSA-2022:8959

    Red Hat Security Advisory: rh-maven36-bcel security update

    CVE-2022-42920 Red Hat Updated 13 November 2026
  • RHSA-2023:0004

    Red Hat Security Advisory: bcel security update

    CVE-2022-42920 Red Hat Updated 13 November 2026
  • RHSA-2023:0005

    Red Hat Security Advisory: bcel security update

    CVE-2022-42920 Red Hat Updated 13 November 2026
  • RLSA-2023:0005

    Important: bcel security update

    CVE-2022-42920 Rocky Linux Updated 5 February 2026
  • SUSE-SU-2022:4306-1

    Security update for bcel

    CVE-2022-42920 SUSEopenSUSE Updated 4 February 2026
  • SUSE-SU-2022:4331-1

    Security update for bcel

    CVE-2022-42920 SUSE Updated 4 February 2026
  • SUSEVEX-CVE-2022-42920

    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…

    Important CVE-2022-42920 SUSE Updated 1 November 2026
  • UBUNTU-CVE-2022-42920

    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…

    CVE-2022-42920 Ubuntu Updated 4 February 2026
  • USN-7208-1

    bcel vulnerability

    CVE-2022-42920 Ubuntu Updated 25 June 2026
  • openSUSE-SU-2024:12530-1

    bcel-5.2-37.1 on GA media

    CVE-2022-42920 openSUSE Updated 4 February 2026

References