[GHSA-4v8g-86x5-3vrc] Apache OpenNLP DictionaryEntryPersistor Vulnerable to XML External Entity (XXE) via Unsanitized Dictionary Parsing - #9440
Open
angelcrespoblanco-tng wants to merge 1 commit into
Conversation
github-actions
Bot
changed the base branch from
main
to
angelcrespoblanco-tng/advisory-improvement-9440
September 10, 2026 12:31
Author
|
There was another previous PR, but with a less comprehensive update: #8890 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updates
Comments
This advisory currently marks every
org.apache.opennlp:opennlp-toolsversion below 2.5.9 as affected (introduced: "0"→fixed: "2.5.9"), with 1.9.5 in the affectedversions. This contradicts the CNA's (Apache Software Foundation,security@apache.org) own structured data for CVE-2026-40682: https://nvd.nist.gov/vuln/detail/cve-2026-40682Per the CVE record (NVD
affectedfield), the affected ranges are:[0, 1.9.5)[2.0, 2.5.9)[3.0.0-M1, 3.0.0-M3)defaultStatus)Consumers of the GitHub Advisory Database (Trivy, Dependabot, OSV mirrors, etc.) flag opennlp-tools 1.9.5 with a CRITICAL, "no fix below 2.5.9" finding. Example from Trivy:
org.apache.opennlp:opennlp-tools 1.9.5 — CRITICAL CVE-2026-40682 — fixed in: 2.5.9, 3.0.0-M3
This pushes users of the last (and fixed) 1.x release toward an unnecessary major-version upgrade (1.9.5 → 2.5.9).