CGIのCookie解析に脆弱性、細工されたリクエストでサービス停止のおそれ
Summary
Perl向けCGIモジュールのCGI::Cookieに脆弱性が見つかりました。Cookieヘッダーのexpires値を細工されると、処理が異常終了したり、処理が極端に長く止まったりするおそれがあります。影響を受けるのは4.67以降5.00より前のバージョンで、修正版は5.00です。CGIを更新してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
Perl向けCGIモジュールのCGI::Cookieに脆弱性が見つかりました。Cookieヘッダーのexpires値を細工されると、処理が異常終了したり、処理が極端に長く止まったりするおそれがあります。影響を受けるのは4.67以降5.00より前のバージョンで、修正版は5.00です。CGIを更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| CPANCGI |
≥ 4.67, < 5.00→ 5.00 |
5.00 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-120631 libcgi-pm-perl Fix available
- Ubuntu UBUNTU-CVE-2026-120631 libcgi-pm-perl No fixed version in this record
Original description The description as published by the source.
CGI::Cookie versions from 4.67 before 5.00 for Perl allow denial of service via the client cookie expires value used as a regex in parse.
CGI's cookie method reads the Cookie request header through parse, which interpolates the header's expires value unescaped into the substitution pattern that removes it from the cookie string.
A client can make the request die with an invalid pattern, or tie up the process with one that backtracks catastrophically.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory metacpan.org
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- patch github.com
- REDHAT Red Hat
- web metacpan.org
- web github.com
- web cpan.org