# CVE-2026-120635: 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

- Severity: High 8.1 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.60%, higher than 50% of CVEs (2026-12-01)
- Published: 2026-11-03T23:40:15.070Z
- Modified: 2026-11-09T19:16:43.960Z
- Weaknesses: CWE-436
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: CPANSec

## Description

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.

(As written by CVE List.)

## Affected

- CGI: before 5.00

## References

- <https://www.rfc-editor.org/rfc/rfc2046#section-5.1.1> (technical-description)
- <https://metacpan.org/release/LEEJO/CGI-4.72/source/lib/CGI.pm> (technical-description)
- <https://metacpan.org/release/LEEJO/CGI-5.00/changes> (release-notes)
- <https://github.com/leejo/CGI.pm/commit/f719fc08e8756708bcd4f1e357d5c0f8702f85dd.patch> (patch)
- <https://github.com/leejo/CGI.pm/commit/cbf04979f9974458ac223793bbd9d0b6a772aa66.patch> (patch)
- <https://github.com/leejo/CGI.pm/commit/fe9516804d59a3774e280c15dbb7072fbd0ba5f1.patch> (patch)
- <https://github.com/leejo/CGI.pm/commit/e0ef8f4248c6ae3025749040d8595d206b6a1b49.patch> (patch)

## Sources

- CVE List: [CVE-2026-120635](https://www.cve.org/CVERecord?id=CVE-2026-120635), CVE Terms of Use, modified 2026-11-09
- NVD: [CVE-2026-120635](https://nvd.nist.gov/vuln/detail/CVE-2026-120635), Public domain, modified 2026-11-09

---

Page: https://cve.day/CVE-2026-120635 · Whole record: https://cve.day/CVE-2026-120635.json · Rebuilt by cve.day 2026-11-25T22:59:48.943Z
