CVE-2025-27219: Jruby · In the CGI gem before 0.4.2 for Ruby, the CGI::Cookie.parse method in the CGI library contains
Affects jrubySource GCVE Database
Not known to be exploited · CVSS 5.8 Medium · fixed in 2.3.1-2~ubuntu16.04.16+esm10 : update jruby when convenient.
Data as of 24 Nov 2026, 21:15 UTC
Thin evidence
One scorer or none| CNA (mitre) | CVSS 3.1 | 5.8 |
|---|
- EPSS
- 0.8% chance of exploitation in 30 days – higher than 58% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 2.3.1-2~ubuntu16.04.16+esm10, 2.5.1-1ubuntu1.16+esm4, 2.7.0-5ubuntu1.18 +3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:LExploitation evidence
Disclosed: evidence found.
CVE published 3 Mar 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10jrubypkg:deb/ubuntu/jruby?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSjrubypkg:deb/ubuntu/jruby?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 25.10jrubypkg:deb/ubuntu/jruby?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Ubuntu 25.10ruby3.3pkg:deb/ubuntu/ruby3.3?arch=source&distro=questingOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSjrubypkg:deb/ubuntu/jruby?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSruby3.2pkg:deb/ubuntu/ruby3.2?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
In the CGI gem before 0.4.2 for Ruby, the CGI::Cookie.parse method in the CGI library contains a potential Denial of Service (DoS) vulnerability. The method does not impose any limit on the length of the raw cookie value it processes. This oversight can lead to excessive resource consumption when parsing extremely large cookies.
References
- ubuntu.com/security/CVE-2025-27219 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2025-27219 (opens in a new tab)
- github.com/rubysec/ruby-advisory-db/blob/master/gems/cgi/CVE-2025-27219.yml (opens in a new tab)
- hackerone.com/reports/2936778 (opens in a new tab)
- ubuntu.com/security/notices/USN-7418-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7442-1 (opens in a new tab)