Skip to content
Heist/ feed
UnratedFix available

DEBIAN-CVE-2026-63317

Type: advisorySource: OSV1 source record

Arbitrary Class Instantiation via XML Feature Generator Descriptor and Format Name in Apache OpenNLP Versions Affected: - before 2.5.10 - before 3.0.0-M5 Description: Three code paths in Apache OpenNLP load a class by its fully-qualified name via Class.forName() and invoke its no-arg constructor without any prior validation of the class name or its type. The affected paths are: (1) GeneratorFactory, which reads the class attribute of generator elements in an XML feature generator descriptor; such descriptors are embedded as artifacts in model archives (e.g. TokenNameFinder and POSTagger models) and are parsed during model loading, so an attacker who can supply a crafted model archive controls the class name directly. (2) StreamFactoryRegistry.getFactory(Class, String), which falls back to interpreting an unregistered format name as the fully-qualified class name of an ObjectStreamFactory; this is exploitable in applications that pass untrusted format names (e.g. exposing the -format parameter of the command-line tooling to external input). (3) StringInterners, which instantiates the interner implementation named by the opennlp.interner.class system property; this value is normally deployer-controlled, so it is hardened as defense in depth rather than being independently attacker-reachable. Exploitation requires a class with attacker-useful side effects in its static initializer or no-arg constructor (JNDI lookup, outbound network I/O, filesystem access) to be present on the c

Announced Source revision 1
Original source ↗

DEBIAN-CVE-2026-63317

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: osv:DEBIAN-CVE-2026-63317

apache-opennlp

Source reference: /affected/0/package/name

Affected versions
2.1.0-1

Source reference: /affected/0/versions

2.2.0-1

Source reference: /affected/0/versions

2.2.0-1~exp

Source reference: /affected/0/versions

2.3.0-1

Source reference: /affected/0/versions

2.3.1-1

Source reference: /affected/0/versions

2.3.1-2

Source reference: /affected/0/versions

2.3.2-1

Source reference: /affected/0/versions

2.3.3-1

Source reference: /affected/0/versions

2.4.0-1

Source reference: /affected/0/versions

2.5.0-1

Source reference: /affected/0/versions

2.5.1-1

Source reference: /affected/0/versions

2.5.12-1

Source reference: /affected/0/versions

2.5.2-1

Source reference: /affected/0/versions

2.5.3-1

Source reference: /affected/0/versions

2.5.9-1

Source reference: /affected/0/versions

Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

apache-opennlp

Source reference: /affected/1/package/name

Affected versions
2.5.12-1

Source reference: /affected/1/versions

2.5.3-1

Source reference: /affected/1/versions

2.5.9-1

Source reference: /affected/1/versions

Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

apache-opennlp

Source reference: /affected/2/package/name

Affected versions
2.5.3-1

Source reference: /affected/2/versions

2.5.9-1

Source reference: /affected/2/versions

Fixed versions
2.5.12-1

Source reference: /affected/2/ranges

Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          }
        ]
      }
    ],
    "package": {
      "name": "apache-opennlp",
      "purl": "pkg:deb/debian/apache-opennlp?arch=source&distro=bookworm",
      "ecosystem": "Debian:12"
    },
    "versions": [
      "2.1.0-1",
      "2.2.0-1",
      "2.2.0-1~exp",
      "2.3.0-1",
      "2.3.1-1",
      "2.3.1-2",
      "2.3.2-1",
      "2.3.3-1",
      "2.4.0-1",
      "2.5.0-1",
      "2.5.1-1",
      "2.5.12-1",
      "2.5.2-1",
      "2.5.3-1",
      "2.5.9-1"
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-63317.json"
    },
    "ecosystem_specific": {
      "urgency": "not yet assigned"
    }
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          }
        ]
      }
    ],
    "package": {
      "name": "apache-opennlp",
      "purl": "pkg:deb/debian/apache-opennlp?arch=source&distro=trixie",
      "ecosystem": "Debian:13"
    },
    "versions": [
      "2.5.12-1",
      "2.5.3-1",
      "2.5.9-1"
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-63317.json"
    },
    "ecosystem_specific": {
      "urgency": "not yet assigned"
    }
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "2.5.12-1"
          }
        ]
      }
    ],
    "package": {
      "name": "apache-opennlp",
      "purl": "pkg:deb/debian/apache-opennlp?arch=source&distro=forky",
      "ecosystem": "Debian:14"
    },
    "versions": [
      "2.5.3-1",
      "2.5.9-1"
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-63317.json"
    },
    "ecosystem_specific": {
      "urgency": "not yet assigned"
    }
  }
]

Publisher severity

No explicit severity was provided.

Event
#58116 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement