Skip to content
Heist/ feed
Back to feed
CriticalFix available

bcel — security advisory

Type: advisorySources: OSVAdvisory ID: 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 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.

Products
bcel
Affected versions
Not specified
Fixed versions
6.5.0-2
CVEs
CVE-2022-42920
Confirmed fixed CVEs
Not specified
Updated in this feed
30 Oct 2026, 14:52 UTC · Revision 1

Source evidence

DEBIAN-CVE-2022-42920

core-osv · Original source

Published 7 Nov 2022, 13:15 UTC

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.

osv:DEBIAN-CVE-2022-42920

bcel

Fixed versions: 6.5.0-2

bcel

Fixed versions: 6.5.0-2

bcel

Fixed versions: 6.5.0-2

Complete source record
{
  "id": "6d0fa6251a78e2eb66f7035a80316ff2cd2116df7ea38e687801ea53591fe106",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2022-42920",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2022-42920",
    "summary": "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.",
    "evidence": "osv:DEBIAN-CVE-2022-42920",
    "products": [
      {
        "name": {
          "value": "bcel",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.5.0-2",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "bcel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.5.0-2",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "bcel",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.5.0-2",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "critical",
    "structured": {
      "id": "DEBIAN-CVE-2022-42920",
      "aliases": [
        "DEBIAN-CVE-2022-42920"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "6.5.0-2"
                }
              ]
            }
          ],
          "package": {
            "name": "bcel",
            "purl": "pkg:deb/debian/bcel?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-42920.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "6.5.0-2"
                }
              ]
            }
          ],
          "package": {
            "name": "bcel",
            "purl": "pkg:deb/debian/bcel?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-42920.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "6.5.0-2"
                }
              ]
            }
          ],
          "package": {
            "name": "bcel",
            "purl": "pkg:deb/debian/bcel?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-42920.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-15T08:02:32.524740949Z",
      "provider": "osv",
      "upstream": [
        "CVE-2022-42920"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2022-42920"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2022-42920",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 323565,
  "published_at": "2022-11-07T13:15:10.27+00:00"
}