| 概要 | Perl versions through 5.43.9 produce silently incorrect regular expression matches when an alternation of more than 65535 fixed string branches is compiled into a trie in Perl_study_chunk. When such branches are combined into a trie, the delta between the first branch and the shared tail is stored in a 16-bit field. A branch count above 65535 overflows the field, and the trie's match decision table is truncated with no warning or error. A pattern of this shape produces false positive matches (matching strings it should not) and false negative matches (failing to match strings it should). When such a pattern gates an access or filtering decision, the result is wrong. |
|---|---|
| 公表日 | 2026年7月14日2:16 |
| 登録日 | 2026年7月14日4:18 |
| 最終更新日 | 2026年7月15日3:15 |
| CVSS3.1 : CRITICAL | |
| スコア | 9.1 |
|---|---|
| ベクター | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H |
| 攻撃元区分(AV) | ネットワーク |
| 攻撃条件の複雑さ(AC) | 低 |
| 攻撃に必要な特権レベル(PR) | 不要 |
| 利用者の関与(UI) | 不要 |
| 影響の想定範囲(S) | 変更なし |
| 機密性への影響(C) | なし |
| 完全性への影響(I) | 高 |
| 可用性への影響(A) | 高 |
| 構成1 | 以上 | 以下 | より上 | 未満 | |
| cpe:2.3:a:perl:perl:*:*:*:*:*:*:*:* | 5.43.9 | ||||
| タイトル | The Perl FoundationのPerlにおける整数オーバーフローの脆弱性 |
|---|---|
| 概要 | Perlのバージョン5.43.9まででは、65535以上の固定文字列の枝が並列選択としてPerl_study_chunkでトライにコンパイルされると、正規表現のマッチ結果が静かに誤ってしまいます。これらの枝がトライに結合される場合、最初の枝と共有される末尾部分とのデルタ値が16ビットのフィールドに格納されます。枝の数が65535を超えるとこのフィールドがオーバーフローし、トライのマッチ判定テーブルが警告やエラーなしに切り詰められてしまいます。この形状のパターンは、誤検出(本来はマッチすべきでない文字列とマッチすること)や誤否定(本来はマッチすべき文字列にマッチしないこと)を引き起こします。このようなパターンがアクセス制御やフィルタリングの判断に用いられる場合、結果が誤ったものとなります。 |
| 想定される影響 | ・当該ソフトウェアが扱う情報について、外部への漏えいは発生しません。 ・当該ソフトウェアが扱う全ての情報が書き換えられる可能性があります。 ・当該ソフトウェアが完全に停止する可能性があります。 |
| 対策 | ベンダ情報を参照して適切な対策を実施してください。 |
| 公表日 | 2026年7月13日0:00 |
| 登録日 | 2026年7月16日12:43 |
| 最終更新日 | 2026年7月16日12:43 |
| The Perl Foundation |
| Perl 5.43.9 およびそれ以前 |
| No | 変更内容 | 変更日 |
|---|---|---|
| 1 | [2026年07月16日] 掲載 |
2026年7月16日12:43 |