- Veröffentlicht
- 04.05.2026 18:55
- Zuletzt geändert
- 27.10.2026
- EPSS (30 Tage)
- 0.5 %
- CVSS-Vektor
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Beschreibung
Originaltext der Quelle, nicht übersetzt.
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.
Status beim Hersteller
Red Hat stuft seine Produktlinien ein: 1 betroffen, 3 behoben, 7 nicht betroffen.
Red Hat OpenShift AI (RHOAI)
Betroffenwird nicht behoben
rhoai/odh-workbench-jupyter-trustyai-cpu-py312-rhel9
openSUSE Tumbleweed
Behoben
opennlp-1.9.5-1.1, opennlp-morfologik-addon-1.9.5-1.1, opennlp-tools-1.9.5-1.1, opennlp-uima-1.9.5-1.1
Nicht betroffen (7)
Red Hat Data Grid 8Nicht betroffenverwundbarer Code nicht enthaltenopennlp-tools
Red Hat Fuse 7Nicht betroffenverwundbarer Code nicht enthaltenopennlp-maxent, opennlp-tools
Red Hat JBoss Enterprise Application Platform 8Nicht betroffenverwundbarer Code nicht enthaltenopennlp-tools
Red Hat JBoss Enterprise Application Platform Expansion PackNicht betroffenverwundbarer Code nicht enthaltenopennlp-tools
Red Hat OpenShift AI 2.25Nicht betroffenverwundbarer Code nicht enthaltenrhoai/odh-built-in-detector-rhel9, rhoai/odh-caikit-nlp-rhel9, rhoai/odh-caikit-tgis-serving-rhel9, rhoai/odh-codeflare-operator-rhel9, rhoai/odh-dashboard-rhel9, rhoai/odh-data-science-pipelines-argo-argoexec-rhel9, rhoai/odh-data-science-pipelines-argo-workflowcontroller-rhel9, rhoai/odh-data-science-pipelines-operator-controller-rhel9, rhoai/odh-feast-operator-rhel9, rhoai/odh-feature-server-rhel9, rhoai/odh-fms-guardrails-orchestrator-rhel9, rhoai/odh-guardrails-detector-huggingface-runtime-rhel9, rhoai/odh-kf-notebook-controller-rhel9, rhoai/odh-kserve-agent-rhel9, rhoai/odh-kserve-controller-rhel9, rhoai/odh-kserve-router-rhel9, rhoai/odh-kserve-storage-initializer-rhel9, rhoai/odh-kuberay-operator-controller-rhel9, rhoai/odh-kueue-controller-rhel9, rhoai/odh-llama-stack-core-rhel9, rhoai/odh-llama-stack-k8s-operator-rhel9, rhoai/odh-llm-d-inference-scheduler-rhel9, rhoai/odh-llm-d-routing-sidecar-rhel9, rhoai/odh-ml-pipelines-api-server-v2-rhel9, rhoai/odh-ml-pipelines-driver-rhel9 und 46 weitere
Red Hat OpenShift AI 3.4Nicht betroffenverwundbarer Code nicht enthaltenrhoai/odh-ai-gateway-payload-processing-rhel9, rhoai/odh-automl-rhel9, rhoai/odh-autorag-rhel9, rhoai/odh-built-in-detector-rhel9, rhoai/odh-cli-rhel9, rhoai/odh-dashboard-rhel9, rhoai/odh-data-science-pipelines-argo-argoexec-rhel9, rhoai/odh-data-science-pipelines-argo-workflowcontroller-rhel9, rhoai/odh-data-science-pipelines-operator-controller-rhel9, rhoai/odh-eval-hub-rhel9, rhoai/odh-feast-operator-rhel9, rhoai/odh-feature-server-rhel9, rhoai/odh-fms-guardrails-orchestrator-rhel9, rhoai/odh-guardrails-detector-huggingface-runtime-rhel9, rhoai/odh-kf-notebook-controller-rhel9, rhoai/odh-kserve-agent-rhel9, rhoai/odh-kserve-autogluon-server-rhel9, rhoai/odh-kserve-controller-rhel9, rhoai/odh-kserve-llmisvc-controller-rhel9, rhoai/odh-kserve-router-rhel9, rhoai/odh-kserve-storage-initializer-rhel9, rhoai/odh-kube-auth-proxy-rhel9, rhoai/odh-kuberay-operator-controller-rhel9, rhoai/odh-llama-stack-core-rhel9, rhoai/odh-llama-stack-k8s-operator-rhel9 und 80 weitere
Red Hat build of Apache Camel for Spring Boot 4Nicht betroffenverwundbarer Code nicht enthaltenopennlp-tools
Weitere betroffene Pakete (15)
CVEApache Software Foundation/Apache OpenNLP2.0 → 2.5.9, 3.0.0-M1 → 3.0.0-M3, 1.9.5CVE-2026-40682
Debian:12apache-opennlpkein Fix bekanntDEBIAN-CVE-2026-40682
Debian:13apache-opennlpkein Fix bekanntDEBIAN-CVE-2026-40682
Debian:14apache-opennlp2.5.9-1DEBIAN-CVE-2026-40682
Mavenorg.apache.opennlp:opennlp-tools1.9.5GHSA-4v8g-86x5-3vrc
Mavenorg.apache.opennlp:opennlp-tools2.0.0 → 2.5.9GHSA-4v8g-86x5-3vrc
Mavenorg.apache.opennlp:opennlp-tools3.0.0-M1 → 3.0.0-M3GHSA-4v8g-86x5-3vrc
NVDapache:opennlp2.5.9CVE-2026-40682
Ubuntu:20.04:LTSapache-opennlpkein Fix bekanntUBUNTU-CVE-2026-40682
Ubuntu:22.04:LTSapache-opennlpkein Fix bekanntUBUNTU-CVE-2026-40682
Ubuntu:24.04:LTSapache-opennlpkein Fix bekanntUBUNTU-CVE-2026-40682
Ubuntu:25.10apache-opennlpkein Fix bekanntUBUNTU-CVE-2026-40682
Ubuntu:26.04:LTSapache-opennlpkein Fix bekanntUBUNTU-CVE-2026-40682
Ubuntu:26.10apache-opennlpkein Fix bekanntUBUNTU-CVE-2026-40682
openSUSE:Tumbleweedopennlp1.9.5-1.1openSUSE-SU-2026:11281-1
Empfohlene Prüfung
- Feststellen, ob und in welcher Version die betroffenen Pakete in Ihren Systemen, Images und Abhängigkeiten vorkommen.
- Wo eine Fix-Version genannt ist: aktualisieren. Wo nicht: Hersteller-Advisory und Referenzen auf Workarounds prüfen.
- Erreichbarkeit beachten: Der Angriffsweg (Netzwerk · ohne Login) ist aus dem CVSS-Vektor abgeleitet.
Diese Seite sagt nichts darüber, ob Ihre Systeme betroffen sind. Das klärt erst eine Prüfung Ihrer Versionen.
Referenzen
- lists.apache.org/thread/r6jpt0qr9nj67gqhppqg7jxf8vsbo0w6
- www.suse.com/security/cve/CVE-2026-40682
- www.suse.com/support/security/rating/
- bugzilla.suse.com/1263874
- security-tracker.debian.org/tracker/CVE-2026-40682
- nvd.nist.gov/vuln/detail/CVE-2026-40682
- access.redhat.com/security/cve/CVE-2026-40682
- bugzilla.redhat.com/show_bug.cgi
- github.com/apache/opennlp
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40682.json
- www.openwall.com/lists/oss-security/2026/05/01/19
- ubuntu.com/security/CVE-2026-40682
- www.cve.org/CVERecord
- www.openwall.com/lists/oss-security/2026/05/01/19
- issues.apache.org/jira/browse/OPENNLP-1819
- github.com/apache/opennlp/pull/1019
- github.com/apache/opennlp/pull/1020