CVE-2026-40682Disclosure(apache / opennlp)

LOWCVSS 9.1 · CRITICAL

Signal is active with 2 mentions in latest observed window

Immediate actions

  • Track advisory updates for patch or workaround availability

Recommended action window: Monitor and triage in normal cycle

NVD description

XML External Entity (XXE) via Unsanitized Dictionary Parsing in Apache OpenNLP DictionaryEntryPersistor Versions Affected: before 2.5.9, before 3.0.0-M3 Description: The DictionaryEntryPersistor class initializes a static SAXParserFactory at class-load time without enabling FEATURE_SECURE_PROCESSING or disabling DTD processing. When create(InputStream, EntryInserter) is invoked, the only feature set on the XMLReader is namespace support — external entity resolution and DOCTYPE declarations remain fully enabled. An attacker who can supply a crafted dictionary file (e.g., a stop-word list or domain dictionary) containing a malicious DOCTYPE declaration can trigger local file disclosure via file:// entity references or server-side request forgery via http:// entity references during SAX parsing, before the application processes a single dictionary entry. This is inconsistent with the project's own XmlUtil.createSaxParser() helper, which correctly sets FEATURE_SECURE_PROCESSING and disallow-doctype-decl and is used by all other XML parsing paths in the codebase. The public Dictionary(InputStream) constructor delegates directly to this method and is the documented API for loading user-supplied dictionaries, making untrusted input a realistic scenario. Mitigation: 2.x users should upgrade to 2.5.9. 3.x users should upgrade to 3.0.0-M3. Users who cannot upgrade immediately should ensure that all dictionary files are sourced from trusted origins and should consider wrapping the Dictionary(InputStream) constructor with input validation that rejects any XML containing a DOCTYPE declaration before it reaches the parser.

0.0/ 10 priority

Sources & remediation

Weakness type (CWE)
CWE-611

Priority

LOW

Exploitation

NONE

PoC

NONE

Patch

NONE

Momentum

STABLE

Are you affected?

If you run products in this scope, you should treat this CVE as relevant to your environment.

  • opennlp

Threat summary

  • 4 mentions across 3 observed days
  • Momentum state: stable

What's happening

  • Technical details provided in 3 signals
  • Disclosure: 2 classified signals
  • General: 2 classified signals
  • Peaked at 2 mentions on most recent observed day (2026-05-12)
  • 4 total mentions across 3 days

Affected systems

Vendors
Products
opennlp

1 version affected across 1 product

Deep dive

Activity timeline4 mentions / 3d
01122Mentions · 2026-05-02: 1Mentions · 2026-05-04: 1Mentions · 2026-05-12: 2Technical Details · 2026-05-02: 1Technical Details · 2026-05-04: 1Technical Details · 2026-05-12: 105-0205-0405-12
Signal classification2 categories
Disclosure
250.0%
General
250.0%
Referenced assets5 URLs
Classification over time
DateTotalLabels
2026-05-021
Disclosure1
2026-05-041
General1
2026-05-122
Disclosure1General1
Full discourse4 posts
  • Open Source Security mailing list@oss_security
    Disclosure

    Apache OpenNLP CVE-2026-40682: XXE in DictionaryEntryPersistor https://www.openwall.com/lists/oss-security/2026/05/01/19 CVE-2026-42027: Arbitrary Class Instantiation in ExtensionLoader https://www.openwall.com/lists/oss-security/2026/05/01/20 CVE-2026-42440: OOM DoS in AbstractModelReader https://www.openwall.com/lists/oss-security/2026/05/01/21

    Post summary

    Three Apache OpenNLP CVEs are disclosed with brief vulnerability descriptions and links to mailing list discussions; no PoC, exploit, patch, or false positive information is included.

    00022437
    4.7K followersView on X
  • Lyrie.ai@lyrie_ai
    Disclosure

    Unpopular opinion: The cybersecurity industry is selling you dashboards. CVE: CVE-2026-40682 CVSS: 9.1 (3.1) — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N Severity: CRITICAL Status: Critical advisory

    Post summary

    The post announces the existence of CVE-2026-40682 as a critical vulnerability, providing CVSS metrics and severity status, but does not mention any PoC, exploit, active exploitation, or remedial steps.

    1000031
    210 followersView on X
  • Lyrie.ai@lyrie_ai
    General

    https://lyrie.ai/research/research/cve-2026-40682-advisory #lyrie #cybersecurity #CVE #threatintel #zerodayattack

    Post summary

    The post contains only a link to an advisory with no explicit details or evidence about the CVE.

    0000025
    210 followersView on X
  • CVE@CVEnew
    General

    CVE-2026-40682 XML External Entity (XXE) via Unsanitized Dictionary Parsing in Apache OpenNLP DictionaryEntryPersistor Versions Affected: before 2.5.9, before 3.0.0-M3 Descripti… https://www.cve.org/CVERecord?id=CVE-2026-40682

    Post summary

    The text announces the CVE-2026-40682 XXE vulnerability in Apache OpenNLP, lists affected versions, and provides a link to the CVE record without additional details on exploits, patches, or active use.

    00000113
    57.4K followersView on X
CPE platform detail3 entries

3 of 3 entries

PartVendorProductVersionTarget SWTarget HW
Appapacheopennlp---
Appapacheopennlp3.0.0--
Appapacheopennlp3.0.0--

Explore more