# CVE-2025-27219

- Priority: **Routine**
- Reason: Not severe (CVSS 5.8, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-03-03 · Modified: 2025-11-03
- Aliases: ALPINE-CVE-2025-27219, UBUNTU-CVE-2025-27219, DEBIAN-CVE-2025-27219, CGA-2c42-6473-pgp7, CGA-2c44-4924-mwf8, CGA-2r67-qp2r-x8hg, CGA-2wch-x7pg-3g7g, CGA-3hqm-q574-5mqc, CGA-4wv5-m82j-5wr3, CGA-5j4f-7pvx-fjm8, CGA-5mm8-3rr3-hmxh, CGA-5v45-4pqx-mvp5, CGA-7hc4-vqhf-ghgx, CGA-834c-5cxh-x8qx, CGA-c32h-28wf-rw6m, CGA-hq57-mj5v-72qw, CGA-jg8w-5cf3-wm6j, CGA-jr5h-gfcp-7r64, CGA-jwvr-854x-7mp4, CGA-m26r-crm3-694m, CGA-m28v-jjgh-vhhj, CGA-mmxc-mc8m-f862, CGA-q3qc-mwpq-h985, CGA-qr38-ph5h-9f9w, CGA-r28j-v243-c662, CGA-r37g-vxfx-63hg, CGA-r8wj-3mjr-cxv6, CGA-xfqc-gxqj-x566, CGA-xqxc-8v8m-8f38, CGA-2655-7h6f-prgh, CGA-26qh-69r7-95vf, CGA-29h4-q2fw-cv2f, CGA-2g8j-4ffh-pm58, CGA-3q5r-4wm9-q26g, CGA-4h85-w9cx-mv7p, CGA-534w-fcw2-jg33, CGA-58rx-chhg-xg5p, CGA-5fw8-2xfp-6649, CGA-5j67-mwr4-jq2g, CGA-6pf3-wq99-g8c7, CGA-6pjf-gg4w-ggp3, CGA-6pmj-qgq9-hp39, CGA-7286-hmp6-w372, CGA-784j-c9f9-5r6q, CGA-7q99-6fp8-5xgp, CGA-869q-q6cq-4pg4, CGA-8qqj-4ff8-m5g9, CGA-948p-8fmj-qw9x, CGA-94qc-mfp9-6j7g, CGA-9jh5-xr78-92q6, CGA-9vpc-79fx-wc86, CGA-c26v-9whr-9h5f, CGA-cjp2-vrgr-635q, CGA-cvj8-xxcj-67r9, CGA-f5rm-mgr9-gj48, CGA-h38p-34c3-qpg8, CGA-hfph-r5gv-4856, CGA-j9wx-76q4-frc4, CGA-mhxg-h6j2-ggw7, CGA-p6m9-mwfx-wjp8, CGA-prq2-4g5p-v7w5, GHSA-gh9q-2xrm-x6qv, CGA-q4fj-qrpg-hm3g, CGA-q9fc-grpr-55jr, CGA-qfq5-c55q-vmfq, CGA-r3p9-8jc5-cfw9, CGA-r96r-pqx3-c2hm, CGA-rvp9-72mj-2rrh, CGA-v285-45r3-f8f6, CGA-vmcv-557q-2vpr, CGA-vrc2-q8rr-6mfh, CGA-wpq4-7wgj-wv8p
- Record: https://cvemate.com/vulnerability/CVE-2025-27219 · JSON: https://cvemate.com/vulnerability/CVE-2025-27219/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.849%, percentile 59.415%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 59)

- alpine ruby (Alpine Linux): \< 3.2.8-r0 \| \< 3.3.8-r0
- alpine ruby-net-imap (Alpine Linux): \< 0.3.9-r0 \| \< 0.4.19-r0
- chainguard elasticsearch-8.17 (Chainguard): \< 8.17.10-r13
- chainguard jruby-9.4 (Chainguard): \< 9.4.14.0-r0
- chainguard jruby-9.4-default-ruby (Chainguard): \< 9.4.14.0-r0
- chainguard logstash-8-with-output-opensearch (Chainguard): All versions (No fix recorded)
- chainguard logstash-8.17 (Chainguard): All versions (No fix recorded)
- chainguard logstash-8.17-iamguarded-compat (Chainguard): All versions (No fix recorded)
- chainguard logstash-8.17-with-output-opensearch (Chainguard): All versions (No fix recorded)
- chainguard logstash-8.18 (Chainguard): All versions (No fix recorded)
- chainguard logstash-8.18-iamguarded-compat (Chainguard): All versions (No fix recorded)
- chainguard logstash-8.18-with-output-opensearch (Chainguard): All versions (No fix recorded)
- chainguard logstash-8.19 (Chainguard): \< 8.19.19-r0
- chainguard logstash-8.19-iamguarded-compat (Chainguard): \< 8.19.19-r0
- chainguard logstash-8.19-with-output-opensearch (Chainguard): \< 8.19.19-r0
- chainguard logstash-9.0 (Chainguard): All versions (No fix recorded)
- chainguard logstash-9.0-iamguarded-compat (Chainguard): All versions (No fix recorded)
- chainguard logstash-9.0-with-output-opensearch (Chainguard): All versions (No fix recorded)
- chainguard logstash-9.1 (Chainguard): \< 9.1.10-r3 \| \< 9.1.8-r0
- chainguard logstash-9.1-bitnami-compat (Chainguard): \< 9.1.10-r3

## References

- <https://hackerone.com/reports/2936778>
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/cgi/CVE-2025-27219.yml>
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00008.html>
- <https://security.alpinelinux.org/vuln/CVE-2025-27219>
- <https://ubuntu.com/security/CVE-2025-27219>
- <https://www.cve.org/CVERecord?id=CVE-2025-27219>
- <https://ubuntu.com/security/notices/USN-7418-1>
- <https://ubuntu.com/security/notices/USN-7442-1>
- <https://security-tracker.debian.org/tracker/CVE-2025-27219>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/27xxx/CVE-2025-27219.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-27219>
- <https://github.com/ruby/cgi/pull/52>
- <https://github.com/ruby/cgi/pull/53>
- <https://github.com/ruby/cgi/pull/54>
- <https://github.com/ruby/cgi>

---

Data as of 2026-12-05T05:33:19.748Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
