
CVE catalog
CVE-2025-27219
Ruby vulnerabilities
- Severity
- Medium · CVSS 5.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.85% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | ruby3.1 | bookworm | 3.1.2-7+deb12u1 | vulnerable |
| Debian | ruby3.1 | bookworm-security | 3.1.2-7+deb12u1 | vulnerable |
| Ubuntu | ruby3.1 | noble | Not reported | vulnerable |
| Ubuntu | ruby3.2 | noble | 3.2.3-1ubuntu0.24.04.5 | fixed |
| Ubuntu | libruby3.2 | noble | 3.2.3-1ubuntu0.24.04.5 | fixed |
| Ubuntu | ruby3.2-dev | noble | 3.2.3-1ubuntu0.24.04.5 | fixed |
| Ubuntu | ruby3.2-doc | noble | 3.2.3-1ubuntu0.24.04.5 | fixed |
| Alpine | ruby | 3.19 | 3.2.8-r0 | fixed |
| Alpine | ruby | 3.20 | 3.3.8-r0 | fixed |
| Alpine | ruby | 3.21 | 3.3.8-r0 | fixed |
| Alpine | ruby-net-imap | 3.19 | 0.3.9-r0 | fixed |
| Alpine | ruby-net-imap | 3.20 | 0.4.19-r0 | fixed |
| Alpine | ruby-net-imap | 3.21 | 0.4.19-r0 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | ruby3.1 | source | bookworm | (unfixed) | not yet assigned | Not reported | [1103792] |
| Ubuntu | ruby3.2 | deb | noble | 3.2.3-1ubuntu0.24.04.5 | Not reported | Not reported | Not reported |
| Ubuntu | libruby3.2 | deb | noble | 3.2.3-1ubuntu0.24.04.5 | Not reported | Not reported | Not reported |
| Ubuntu | ruby3.2-dev | deb | noble | 3.2.3-1ubuntu0.24.04.5 | Not reported | Not reported | Not reported |
| Ubuntu | ruby3.2-doc | deb | noble | 3.2.3-1ubuntu0.24.04.5 | Not reported | Not reported | Not reported |
| Alpine | ruby | apk | 3.19 | 3.2.8-r0 | Not reported | ALPINE-CVE-2025-27219 | Not reported |
| Alpine | ruby | apk | 3.20 | 3.3.8-r0 | Not reported | ALPINE-CVE-2025-27219 | Not reported |
| Alpine | ruby | apk | 3.21 | 3.3.8-r0 | Not reported | ALPINE-CVE-2025-27219 | Not reported |
| Alpine | ruby-net-imap | apk | 3.19 | 0.3.9-r0 | Not reported | ALPINE-CVE-2025-27219 | Not reported |
| Alpine | ruby-net-imap | apk | 3.20 | 0.4.19-r0 | Not reported | ALPINE-CVE-2025-27219 | Not reported |
| Alpine | ruby-net-imap | apk | 3.21 | 0.4.19-r0 | Not reported | ALPINE-CVE-2025-27219 | Not reported |
Notes
[bookworm] ruby3.1: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libruby3.1]Affected
Source package: [ruby3.1]
Details (4)
3.1.2-7+deb12u1· amd64 · bookwormAffected
usn · ruby3.1 · debian · bookworm; usn · ruby3.1 · debian · 12
3.1.2-7+deb12u1· arm64 · bookwormAffected
usn · ruby3.1 · debian · bookworm; usn · ruby3.1 · debian · 12
3.1.2-7+deb12u1· amd64 · bookworm-securityAffected
usn · ruby3.1 · debian · bookworm; usn · ruby3.1 · debian · 12
3.1.2-7+deb12u1· arm64 · bookworm-securityAffected
usn · ruby3.1 · debian · bookworm; usn · ruby3.1 · debian · 12
- [ruby3.1]Affected
Details (4)
3.1.2-7+deb12u1· amd64 · bookwormAffected
usn · ruby3.1 · debian · bookworm; usn · ruby3.1 · debian · 12
3.1.2-7+deb12u1· arm64 · bookwormAffected
usn · ruby3.1 · debian · bookworm; usn · ruby3.1 · debian · 12
3.1.2-7+deb12u1· amd64 · bookworm-securityAffected
usn · ruby3.1 · debian · bookworm; usn · ruby3.1 · debian · 12
3.1.2-7+deb12u1· arm64 · bookworm-securityAffected
usn · ruby3.1 · debian · bookworm; usn · ruby3.1 · debian · 12
- [ruby3.1-dev]Affected
Source package: [ruby3.1]
Details (4)
3.1.2-7+deb12u1· amd64 · bookwormAffected
usn · ruby3.1 · debian · bookworm; usn · ruby3.1 · debian · 12
3.1.2-7+deb12u1· arm64 · bookwormAffected
usn · ruby3.1 · debian · bookworm; usn · ruby3.1 · debian · 12
3.1.2-7+deb12u1· amd64 · bookworm-securityAffected
usn · ruby3.1 · debian · bookworm; usn · ruby3.1 · debian · 12
3.1.2-7+deb12u1· arm64 · bookworm-securityAffected
usn · ruby3.1 · debian · bookworm; usn · ruby3.1 · debian · 12
- [ruby3.1-doc]Affected
Source package: [ruby3.1]
Details (4)
3.1.2-7+deb12u1· all · bookwormAffected
usn · ruby3.1 · debian · bookworm; usn · ruby3.1 · debian · 12
3.1.2-7+deb12u1· all · bookwormAffected
usn · ruby3.1 · debian · bookworm; usn · ruby3.1 · debian · 12
3.1.2-7+deb12u1· all · bookworm-securityAffected
usn · ruby3.1 · debian · bookworm; usn · ruby3.1 · debian · 12
3.1.2-7+deb12u1· all · bookworm-securityAffected
usn · ruby3.1 · debian · bookworm; usn · ruby3.1 · debian · 12
[Debian 13 (Trixie)]
- [libruby3.3]Fixed
Source package: [ruby3.3]
Details (2)
3.3.8-2· amd64 · trixieFixed · Fixed:
3.3.7-2usn · ruby3.3 · debian · 13
3.3.8-2· arm64 · trixieFixed · Fixed:
3.3.7-2usn · ruby3.3 · debian · 13
- [ruby3.3]Fixed
Details (2)
3.3.8-2· amd64 · trixieFixed · Fixed:
3.3.7-2usn · ruby3.3 · debian · 13
3.3.8-2· arm64 · trixieFixed · Fixed:
3.3.7-2usn · ruby3.3 · debian · 13
- [ruby3.3-dev]Fixed
Source package: [ruby3.3]
Details (2)
3.3.8-2· amd64 · trixieFixed · Fixed:
3.3.7-2usn · ruby3.3 · debian · 13
3.3.8-2· arm64 · trixieFixed · Fixed:
3.3.7-2usn · ruby3.3 · debian · 13
- [ruby3.3-doc]Fixed
Source package: [ruby3.3]
Details (2)
3.3.8-2· all · trixieFixed · Fixed:
3.3.7-2usn · ruby3.3 · debian · 13
3.3.8-2· all · trixieFixed · Fixed:
3.3.7-2usn · ruby3.3 · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/rhsa-2025_4063.json]
- [https://osv.dev/vulnerability/ALPINE-CVE-2025-27219]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2025-27219]
- [https://osv.dev/vulnerability/DLA-4082-1]
- [https://security-tracker.debian.org/tracker/CVE-2025-27219]
- [https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-27219.json]
- [https://ubuntu.com/security/notices/USN-7418-1]
- [https://wid.cert-bund.de/.well-known/csaf/white/2025/wid-sec-w-2025-0438.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX] · [Ubuntu Security Notices (USN)]