Home / Apache Software Foundation / Apache OpenNLP / CVE-2026-63317
CVE-2026-63317: is it exploited, and which versions of Apache Software Foundation Apache OpenNLP are affected and fixed?
CVE-2026-63317 is an unsafe reflection vulnerability in Apache Software Foundation Apache OpenNLP. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 18:39 UTC). Affected: Apache OpenNLP from 3.0.0-M1 before 3.0.0-M4 and Apache OpenNLP before 2.5.11 (CVE record by apache). Fixed in 3.0.0-M4 and 2.5.11 (CVE record by apache). Severity: Medium (5.6, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 18:39 UTC, CVE record November 19, 2026, 07:06 UTC and NVD November 19, 2026, 07:09 UTC.
What is CVE-2026-63317?
Apache OpenNLP: Arbitrary Class Instantiation in GeneratorFactory via Feature Descriptor XML
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 classpath, so this is not drop-in remote code execution. T Mitigation: Upgrade to a fixed release. The fix routes all three paths through ExtensionLoader.instantiateExtension(...), which consults a package-prefix allowlist before Class.forName() is invoked, so a disallowed class is never loaded, initialized, or constructed. Classes under the opennlp. prefix remain permitted by default. Deployments that load models referencing feature generator factories, object stream factories, or string interners outside opennlp.* must opt those packages in, either programmatically via ExtensionLoader.registerAllowedPackage(String) before the first model load, or by setting the OPENNLP_EXT_ALLOWED_PACKAGES system property to a comma-separated list of allowed package prefixes. Users who cannot upgrade immediately should ensure all model files and format names are sourced from trusted origins and should audit their classpath for classes with side-effecting static initializers or constructors.
From the CVE record by apache, last updated July 24, 2026, 18:04 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Apache Software Foundation | Apache OpenNLP org.apache.opennlp:opennlp-tools | from 3.0.0-M1 before 3.0.0-M4 before 2.5.11 | 3.0.0-M4, 2.5.11 |
As the CVE record by apache states it, last updated July 24, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| apache | opennlp | before 2.5.11 | application |
| apache | opennlp | 3.0.0 | application |
NVD analysis (status Analyzed), last modified October 24, 2026, 13:10 UTC.
How severe is CVE-2026-63317?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.6 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L | CISA-ADP |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-63317 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, July 24, 2026)
- EPSS
- 0.54% probability of exploitation activity in the next 30 days, percentile 47.0 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-470 Use of Externally-Controlled Input to Select Classes or Code
Where are the vendor advisories and references?
- https://lists.apache.org/thread/myr446n8t3gv8gq8wbpxm41olx16d8yj vendor-advisory
- http://www.openwall.com/lists/oss-security/2026/07/24/7
Who found and reported it?
- Subramanian S (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- July 16, 2026
- Published
- July 24, 2026, 08:07 UTC
- CVE record updated
- July 24, 2026, 18:04 UTC by apache
- NVD
- Analyzed, last modified October 24, 2026, 13:10 UTC
- Last checked
- CVE list November 19, 2026, 07:06 UTC; NVD November 19, 2026, 07:09 UTC; KEV December 3, 2026, 18:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Apache OpenNLP?
- Nov 19, 2026CVE-2026-120404 Apache Software Foundation Apache OpenNLP: regular expression denial of service (ReDoS)
- Sep 11, 2026CVE-2026-82617 Apache Software Foundation Apache OpenNLP: regular expression denial of service (ReDoS)
- Sep 11, 2026CVE-2026-67211 Apache Software Foundation Apache OpenNLP: memory Allocation with Excessive Size Value
- May 4, 2026CVE-2026-40682 Apache Software Foundation Apache OpenNLP: XML external entity (XXE)
- May 4, 2026CVE-2026-42027 Apache Software Foundation Apache OpenNLP: unsafe reflection
- May 4, 2026CVE-2026-42440 Apache Software Foundation Apache OpenNLP: memory Allocation with Excessive Size Value
- Oct 2, 2017CVE-2017-12620 Apache Software Foundation Apache OpenNLP: XML external entity (XXE)
Questions about CVE-2026-63317
Is CVE-2026-63317 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 18:39 UTC. FIRST's EPSS gives it a 0.54% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Apache Software Foundation Apache OpenNLP are affected by CVE-2026-63317?
Apache OpenNLP from 3.0.0-M1 before 3.0.0-M4 and Apache OpenNLP before 2.5.11, per the CVE record by apache. The tables above give every range the sources list.
Which version fixes CVE-2026-63317?
3.0.0-M4 and 2.5.11, per the CVE record by apache. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-63317?
Medium (5.6, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2026-63317?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.