Perl CGIにマルチパート解析の差異による脆弱性、プロキシやWAFを回避されるおそれ
Summary
Perl のCGIモジュールには、マルチパート形式フォームの解析がRFCと異なるため、フォーム項目がプロキシやWAFを回避して届くおそれがある脆弱性があります。影響するのは5.00より前のバージョンで、5.00で修正されています。CGIを利用している場合は5.00以降へ更新してください。
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モジュールには、マルチパート形式フォームの解析がRFCと異なるため、フォーム項目がプロキシやWAFを回避して届くおそれがある脆弱性があります。影響するのは5.00より前のバージョンで、5.00で修正されています。CGIを利用している場合は5.00以降へ更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| CPANCGI |
< 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-120635 libcgi-pm-perl Fix available
- Ubuntu UBUNTU-CVE-2026-120635 libcgi-pm-perl No fixed version in this record
Original description The description as published by the source.
CGI versions before 5.00 for Perl allow form fields to be smuggled past proxies and WAFs via multipart parsing that differs from the RFCs.
The multipart/form-data parser matches the boundary anywhere rather than at the start of a line, uses the boundary without its leading -- for some client-supplied User-Agent values, finds the Content-Disposition name and filename inside the quoted values of other parameters, and corrupts parts when the boundary nears the 4096-byte read size.
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
- patch github.com
- patch github.com
- patch github.com
- REDHAT Red Hat
- web rfc-editor.org
- web metacpan.org
- web github.com
- web cpan.org