| Summary | 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. |
|---|---|
| Publication Date | July 14, 2026, 2:16 a.m. |
| Registration Date | July 14, 2026, 4:18 a.m. |
| Last Update | July 15, 2026, 3:15 a.m. |
| CVSS3.1 : CRITICAL | |
| スコア | 9.1 |
|---|---|
| Vector | 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) | 高 |
| Configuration1 | or higher | or less | more than | less than | |
| cpe:2.3:a:perl:perl:*:*:*:*:*:*:*:* | 5.43.9 | ||||
| Title | The Perl FoundationのPerlにおける整数オーバーフローの脆弱性 |
|---|---|
| Summary | Perlのバージョン5.43.9まででは、65535以上の固定文字列の枝が並列選択としてPerl_study_chunkでトライにコンパイルされると、正規表現のマッチ結果が静かに誤ってしまいます。これらの枝がトライに結合される場合、最初の枝と共有される末尾部分とのデルタ値が16ビットのフィールドに格納されます。枝の数が65535を超えるとこのフィールドがオーバーフローし、トライのマッチ判定テーブルが警告やエラーなしに切り詰められてしまいます。この形状のパターンは、誤検出(本来はマッチすべきでない文字列とマッチすること)や誤否定(本来はマッチすべき文字列にマッチしないこと)を引き起こします。このようなパターンがアクセス制御やフィルタリングの判断に用いられる場合、結果が誤ったものとなります。 |
| Possible impacts | ・当該ソフトウェアが扱う情報について、外部への漏えいは発生しません。 ・当該ソフトウェアが扱う全ての情報が書き換えられる可能性があります。 ・当該ソフトウェアが完全に停止する可能性があります。 |
| Solution | ベンダ情報を参照して適切な対策を実施してください。 |
| Publication Date | July 13, 2026, midnight |
| Registration Date | July 16, 2026, 12:43 p.m. |
| Last Update | July 16, 2026, 12:43 p.m. |
| The Perl Foundation |
| Perl 5.43.9 およびそれ以前 |
| No | Changed Details | Date of change |
|---|---|---|
| 1 | [2026年07月16日] 掲載 |
July 16, 2026, 12:43 p.m. |