Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-120631— 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

Quick assessment

Affected
CVE-2026-120631
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Perl 环境下,CGI::Cookie 模块 4.67 至 5.00 之前的版本存在拒绝服务漏洞:攻击者可利用客户端 Cookie 中的过期时间(expires)值,在解析过程中将其作为正则表达式使用,从而触发漏洞。 具体而言,CGI 模块的 cookie 方法会通过 parse 函数读取 Cookie 请求头,并将该请求头中的过期时间值未经转义地直接插值到用于从 Cookie 字符串中移除该值的替换模式中。 攻击者可以构造包含无效正则模式的请求,导致请求处理失败;或构造引发灾难性回溯(catastrophic

AI Predicted 5.3 Difficulty: Trivial EPSS 0.39% · P33

Possible ATT&CK Techniques 1 AI

T1190 · Exploit Public-Facing Application

Affected Version Matrix 1

VendorProduct Version RangeStatus
None None 4.67< 5.00 affected

I. Basic Information for CVE-2026-120631

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
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
Source: CVE Program / CVE List V5
Vulnerability Description
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 Program / CVE List V5
CVSS Information
N/A
Source: CVE Program / CVE List V5
Vulnerability Type
CWE-1333
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
- - 4.67 ~ 5.00 -

II. Public POCs for CVE-2026-120631

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-120631

请登录查看更多情报信息。

Other References for CVE-2026-120631 (3)

IV. Related Vulnerabilities