CVE catalog

CVE-2025-27219

Ruby vulnerabilities

[CVE catalog]

Severity
Medium · CVSS 5.3CVSS: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.

DistributionPackageReleaseVersionStatus
Debianruby3.1bookworm3.1.2-7+deb12u1vulnerable
Debianruby3.1bookworm-security3.1.2-7+deb12u1vulnerable
Ubunturuby3.1nobleNot reportedvulnerable
Ubunturuby3.2noble3.2.3-1ubuntu0.24.04.5fixed
Ubuntulibruby3.2noble3.2.3-1ubuntu0.24.04.5fixed
Ubunturuby3.2-devnoble3.2.3-1ubuntu0.24.04.5fixed
Ubunturuby3.2-docnoble3.2.3-1ubuntu0.24.04.5fixed
Alpineruby3.193.2.8-r0fixed
Alpineruby3.203.3.8-r0fixed
Alpineruby3.213.3.8-r0fixed
Alpineruby-net-imap3.190.3.9-r0fixed
Alpineruby-net-imap3.200.4.19-r0fixed
Alpineruby-net-imap3.210.4.19-r0fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianruby3.1sourcebookworm(unfixed)not yet assignedNot reported[1103792]
Ubunturuby3.2debnoble3.2.3-1ubuntu0.24.04.5Not reportedNot reportedNot reported
Ubuntulibruby3.2debnoble3.2.3-1ubuntu0.24.04.5Not reportedNot reportedNot reported
Ubunturuby3.2-devdebnoble3.2.3-1ubuntu0.24.04.5Not reportedNot reportedNot reported
Ubunturuby3.2-docdebnoble3.2.3-1ubuntu0.24.04.5Not reportedNot reportedNot reported
Alpinerubyapk3.193.2.8-r0Not reportedALPINE-CVE-2025-27219Not reported
Alpinerubyapk3.203.3.8-r0Not reportedALPINE-CVE-2025-27219Not reported
Alpinerubyapk3.213.3.8-r0Not reportedALPINE-CVE-2025-27219Not reported
Alpineruby-net-imapapk3.190.3.9-r0Not reportedALPINE-CVE-2025-27219Not reported
Alpineruby-net-imapapk3.200.4.19-r0Not reportedALPINE-CVE-2025-27219Not reported
Alpineruby-net-imapapk3.210.4.19-r0Not reportedALPINE-CVE-2025-27219Not reported

[Debian bug #1103792]

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 · bookworm

      Affected

      usn · ruby3.1 · debian · bookworm; usn · ruby3.1 · debian · 12

    • 3.1.2-7+deb12u1 · arm64 · bookworm

      Affected

      usn · ruby3.1 · debian · bookworm; usn · ruby3.1 · debian · 12

    • 3.1.2-7+deb12u1 · amd64 · bookworm-security

      Affected

      usn · ruby3.1 · debian · bookworm; usn · ruby3.1 · debian · 12

    • 3.1.2-7+deb12u1 · arm64 · bookworm-security

      Affected

      usn · ruby3.1 · debian · bookworm; usn · ruby3.1 · debian · 12

  • [ruby3.1]Affected
    Details (4)
    • 3.1.2-7+deb12u1 · amd64 · bookworm

      Affected

      usn · ruby3.1 · debian · bookworm; usn · ruby3.1 · debian · 12

    • 3.1.2-7+deb12u1 · arm64 · bookworm

      Affected

      usn · ruby3.1 · debian · bookworm; usn · ruby3.1 · debian · 12

    • 3.1.2-7+deb12u1 · amd64 · bookworm-security

      Affected

      usn · ruby3.1 · debian · bookworm; usn · ruby3.1 · debian · 12

    • 3.1.2-7+deb12u1 · arm64 · bookworm-security

      Affected

      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 · bookworm

      Affected

      usn · ruby3.1 · debian · bookworm; usn · ruby3.1 · debian · 12

    • 3.1.2-7+deb12u1 · arm64 · bookworm

      Affected

      usn · ruby3.1 · debian · bookworm; usn · ruby3.1 · debian · 12

    • 3.1.2-7+deb12u1 · amd64 · bookworm-security

      Affected

      usn · ruby3.1 · debian · bookworm; usn · ruby3.1 · debian · 12

    • 3.1.2-7+deb12u1 · arm64 · bookworm-security

      Affected

      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 · bookworm

      Affected

      usn · ruby3.1 · debian · bookworm; usn · ruby3.1 · debian · 12

    • 3.1.2-7+deb12u1 · all · bookworm

      Affected

      usn · ruby3.1 · debian · bookworm; usn · ruby3.1 · debian · 12

    • 3.1.2-7+deb12u1 · all · bookworm-security

      Affected

      usn · ruby3.1 · debian · bookworm; usn · ruby3.1 · debian · 12

    • 3.1.2-7+deb12u1 · all · bookworm-security

      Affected

      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 · trixie

      Fixed · Fixed: 3.3.7-2

      usn · ruby3.3 · debian · 13

    • 3.3.8-2 · arm64 · trixie

      Fixed · Fixed: 3.3.7-2

      usn · ruby3.3 · debian · 13

  • [ruby3.3]Fixed
    Details (2)
    • 3.3.8-2 · amd64 · trixie

      Fixed · Fixed: 3.3.7-2

      usn · ruby3.3 · debian · 13

    • 3.3.8-2 · arm64 · trixie

      Fixed · Fixed: 3.3.7-2

      usn · ruby3.3 · debian · 13

  • Source package: [ruby3.3]

    Details (2)
    • 3.3.8-2 · amd64 · trixie

      Fixed · Fixed: 3.3.7-2

      usn · ruby3.3 · debian · 13

    • 3.3.8-2 · arm64 · trixie

      Fixed · Fixed: 3.3.7-2

      usn · ruby3.3 · debian · 13

  • Source package: [ruby3.3]

    Details (2)
    • 3.3.8-2 · all · trixie

      Fixed · Fixed: 3.3.7-2

      usn · ruby3.3 · debian · 13

    • 3.3.8-2 · all · trixie

      Fixed · Fixed: 3.3.7-2

      usn · ruby3.3 · debian · 13

Observed:

References