org.apache.opennlp:opennlp-tools の脆弱性 (CVE-2026-42440)
概要
org.apache.opennlp:opennlp-tools に 脆弱性 (CVE-2026-42440) が存在。不正な操作・情報露出のリスクがあります。対策: 3.0.0-M3 以上に更新。
原文の説明
取得元が公開している説明をそのまま載せています (多くは英語)。
OOM Denial of Service via Unbounded Array Allocation in Apache OpenNLP AbstractModelReader
Versions Affected:
Before 2.5.9
Before 3.0.0-M3
Description:
The AbstractModelReader methods getOutcomes(), getOutcomePatterns(), and getPredicates() each read a 32-bit signed integer count field from a binary model stream and pass that value directly to an array allocation (new String[numOutcomes], new int[numOCTypes][], new String[NUM_PREDS]) without validating that the value is non-negative or within a reasonable bound. The count is therefore fully attacker-controlled when the model file originates from an untrusted source.
A crafted .bin model file in which any of these count fields is set to Integer.MAX_VALUE (or any value large enough to exhaust the available heap) triggers an OutOfMemoryError at the array allocation itself, before the corresponding label or pattern data is consumed from the stream. The error occurs very early in deserialization: for a GIS model, getOutcomes() is reached after only the model-type string, the correction constant, and the correction parameter have been read; so the attacker pays no meaningful size cost to weaponize a payload, and a single small file can crash a JVM that loads it. Any code path that deserializes a .bin model is affected, including direct use of GenericModelReader and any higher-level component that delegates to it during model load.
The practical impact is denial of service against processes that load model files from untru…
出典: GitHub Security Advisories (Global) NVD GitHub Advisory
自動生成の要約
取得元のデータ (CVSS・CWE・影響バージョンなど) から SecPulse が定型文で組み立てた要約です。AI は使っていません。正確な内容は下の原文と参照URLで確認してください。
org.apache.opennlp:opennlp-tools という製品で、CVE-2026-42440 という番号がついた弱点 (脆弱性) が見つかりました。
不正な操作・情報露出のリスクがあります。重要度は CVSS スコア 7.5/10 です。
対策: org.apache.opennlp:opennlp-tools を 3.0.0-M3 以上に更新してください。
心配なら、システム担当者や製品の公式サイトで「org.apache.opennlp:opennlp-tools CVE-2026-42440」を検索してください。
CVE-2026-42440 (org.apache.opennlp:opennlp-tools) — CWE-789 / CVSS v3 7.5
攻撃ベクター: ネットワーク経由 (リモート攻撃可) / 認証不要 / 被害者操作不要
修正バージョン: 3.0.0-M3 (即時適用推奨)
対応方針: 1) SBOMで影響バージョン横断確認, 2) ステージング検証→本番更新, 3) WAF/プロキシで該当エンドポイントを監視, 4) ログでIOC調査。
参考: 当ページの『参照URL』の GHSA / vendor advisory / patched release を参照。
org.apache.opennlp:opennlp-tools に 脆弱性 (CWE-789) があります。
org.apache.opennlp:opennlp-tools の影響バージョンはベンダーのアドバイザリで確認してください。
重要度: 重要 (CVSS 7.5/10)。不正な操作・情報露出のリスクがあります。
3.0.0-M3 に更新してください。
修正版が未提供時は、影響機能の無効化・WAFルール・ネットワークACLでの遮断を検討。
Webサーバ・プロキシ・WAFログで該当CVEのIOCに合致する不審リクエストを検索。SBOM/依存ファイルで影響バージョンを横断確認。
対応アクション
SOC/SREチームが順番に実行すべき具体的なステップとコマンド例
-
1影響範囲の特定 identify
Audit SBOM/dependencies for affected components.資産台帳・SBOM・依存マニフェストで org.apache.opennlp:opennlp-tools を使っているサービスとバージョンを洗い出す。
-
2パッチ適用 patch
Upgrade org.apache.opennlp:opennlp-tools to 3.0.0-M3ステージング環境で 3.0.0-M3 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3事後検証 verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
影響パッケージ
ディストリビューション別の修正状況
各ディストリビューションが公開している、この CVE の修正パッケージ
- Debian DEBIAN-CVE-2026-42440 apache-opennlp
- Ubuntu UBUNTU-CVE-2026-42440 apache-opennlp
参照URL
- advisory nvd.nist.gov
- advisory openwall.com
- package github.com
- patch security@apache.org
- web github.com
- web access.redhat.com
- web bugzilla.redhat.com
- web security.access.redhat.com