CGI versions before 5.00 for Perl allow CPU exhaustion via a backtracking regex on the XForms multipart/related Content-Type
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-120632 libcgi-pm-perl Fix available
- Ubuntu UBUNTU-CVE-2026-120632 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 CPU exhaustion via a backtracking regex on the XForms multipart/related Content-Type.
When a POST Content-Type contains multipart/related, the boundary and start parameters are extracted with an unanchored pattern that puts .+ on either side of the boundary capture, which backtracks in cubic time on a header that does not match. No request body is needed.
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