Review reviewCritical

CVE-2026-40682

Apache Software Foundation Apache OpenNLP, Red Hat build of Apache Camel for Spring Boot 4, Red Hat Data Grid 8

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...

CVSS
9.1
EPSS
0.50%
39.8% percentile
CISA KEV
Not listed
Published
2026.05.05
PRIORITY ASSESSMENT

Review review

The CVSS severity warrants an early asset and exposure review.

Known exploitationNot established by KEV
Exploit probability0.50%
Technical severityCVSS 9.1

Vulnerability overview

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...

Affected product and versions

Product
Apache Software Foundation Apache OpenNLP, Red Hat build of Apache Camel for Spring Boot 4, Red Hat Data Grid 8
Affected versions
>= 2.0 < 2.5.9, >= 3.0.0-M1 < 3.0.0-M3, < 1.9.5, < 2.5.9, 3.0.0
Fixed versions
2.5.9

Recommended response sequence

Confirm exposure before applying a vendor-supported change.

Full remediation guide
  1. 1
    Identify

    Confirm that Apache Software Foundation Apache OpenNLP, Red Hat build of Apache Camel for Spring Boot 4, Red Hat Data Grid 8 and an affected version are present.

  2. 2
    Prioritize

    Combine exploitation signals with asset exposure and business criticality.

  3. 3
    Remediate

    Follow the vendor advisory or supported update path and preserve rollback options.

  4. 4
    Verify

    Recheck the version, service health, access paths, and relevant logs.

Technical data

CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
CWE
CWE-611
CVE-2026-40682 — Apache Software Foundation Apache OpenNLP, Red Hat build of Apache Camel for Spring Boot 4, Red Hat Data Grid 8 | SECUFOCUS NOW