Skip to main content
VulnerabilityPublished Updated

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

0
Compare
Authoritative record:CVE-2025-27219· Medium 5.8

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

CVSS 3.1 base score
5.8Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (mitre)CVSS 3.15.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:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 3 Mar 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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.

Affected software

ProductAffectedFixed in
Ubuntu 26.10jrubypkg:deb/ubuntu/jruby?arch=source&distro=stonkingOther threatsAffected
  • =9.4.8.0+ds-3ubuntu1
  • =9.4.14.0+ds-1
Fixed in–
Ubuntu 26.04 LTSjrubypkg:deb/ubuntu/jruby?arch=source&distro=resoluteOther threatsAffected
  • =9.4.8.0+ds-3ubuntu1
Fixed in–
Ubuntu 25.10jrubypkg:deb/ubuntu/jruby?arch=source&distro=questingOther threatsAffected
  • =9.4.8.0+ds-2ubuntu1
  • =9.4.8.0+ds-3ubuntu1
Fixed in–
Ubuntu 25.10ruby3.3pkg:deb/ubuntu/ruby3.3?arch=source&distro=questingOther threatsAffected
  • <3.3.7-1ubuntu2
Fixed in
  • 3.3.7-1ubuntu2
Ubuntu 24.04 LTSjrubypkg:deb/ubuntu/jruby?arch=source&distro=nobleOther threatsAffected
  • 9.3.9.0+ds-1 – 9.4.6.0+ds-1ubuntu3
4 affected builds
Fixed in–
Ubuntu 24.04 LTSruby3.2pkg:deb/ubuntu/ruby3.2?arch=source&distro=nobleOther threatsAffected
  • <3.2.3-1ubuntu0.24.04.5
Fixed in
  • 3.2.3-1ubuntu0.24.04.5

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

Community reviews

Loading reviews…