# CVE-2026-120645: CGI versions before 5.00 for Perl allow denial of service via submitted values used as a regex for optgroup selection in scrolling_list

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/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.57%, higher than 48% of CVEs (2026-12-01)
- Published: 2026-11-03T23:40:54.754Z
- Modified: 2026-11-09T20:18:06.663Z
- Weaknesses: CWE-625, CWE-1333
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: CPANSec

## Description

CGI versions before 5.00 for Perl allow denial of service via submitted values used as a regex for optgroup selection in scrolling_list.

When rendering option groups, scrolling_list marks the selected options by interpolating each selected value, by default taken from the request parameters, unescaped into a substitution pattern.

A client can make the request die with an invalid pattern, or tie up the process with one that backtracks heavily.

(As written by CVE List.)

## Affected

- CGI: before 5.00

## References

- <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/824956fbb0c4eb77044ba2dc9180a30df12cb309.patch> (patch)

## Sources

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

---

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