# CVE-2026-42258: net-imap: Command Injection via unvalidated Symbol inputs

- Priority: **Routine**
- Reason: Not severe (CVSS 5.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-05-09 · Modified: 2026-09-01
- Aliases: UBUNTU-CVE-2026-42258, DEBIAN-CVE-2026-42258, CGA-26w7-5r94-hgj5, CGA-4f82-p6p8-h8gw, CGA-53ph-wpg6-5j3f, CGA-8g95-phgm-6339, CGA-93mr-qq34-h7v2, CGA-959f-2wxc-3w58, CGA-9g4r-hq24-7w3r, CGA-9j4h-3q4m-mg74, CGA-9m7p-293f-pfv2, CGA-9v27-9564-mjvx, CGA-c3pg-q79h-wwvj, CGA-f749-v2mv-m264, CGA-frm8-hmr4-622q, CGA-g2hx-pqvj-jrpv, CGA-gjc8-cp3f-37qh, CGA-h83f-7mm2-crgw, CGA-hm9r-4v3x-xp9j, CGA-jrqc-3fh2-57wf, CGA-m533-m6vw-c85p, CGA-mp7g-c377-99c7, CGA-mrc3-4h48-2gm9, CGA-mwmw-jcgg-hrhw, CGA-q72v-h356-37vq, CGA-r32m-w7vv-xgmh, CGA-r38m-p5wx-4pwq, CGA-v97c-7hr3-3m23, CGA-vfc3-5g8h-fcw2, CGA-vpm9-3vh3-wg2c, CGA-vpwc-5qjp-r8wj, CGA-w97h-g52w-2x7w, CGA-w97p-m5qj-8v46, CGA-x55j-66qh-73qr, CGA-233w-8jg4-cvf8, CGA-272f-q79f-hw9m, CGA-287m-xrg4-vf3f, CGA-2fh7-pg6h-pcr9, CGA-2rhc-r22f-m3rj, CGA-365v-96r6-273j, CGA-3894-5vpp-829g, CGA-38vp-mrhx-c6gc, CGA-3rfg-xxw9-w396, CGA-3rmx-xc8j-rqvc, CGA-557j-m2pf-5p44, CGA-55mg-fmj7-g8j2, CGA-55qr-rh2w-pvc9, CGA-5vr6-v233-h582, CGA-5x98-hvcf-5mw9, CGA-664c-399x-p493, CGA-6737-cvcq-39rq, CGA-67vv-6mxc-r8h7, CGA-6gfx-j4cj-2c39, CGA-6pwc-wfwp-6mrm, CGA-6qmx-7627-xmxq, CGA-72m8-2f3c-8cx5, CGA-7734-6mhg-h3wx, CGA-7crx-g3mq-rv57, CGA-827p-h5f9-wcmc, CGA-83hw-8395-f7v4, CGA-83qv-6vwv-v7qw, CGA-845h-hvwx-9848, CGA-86wf-h2fj-7jr3, CGA-895h-rr55-c6j9, CGA-8g8j-49cg-4gg2, CGA-8hwg-qmv3-r9hj, CGA-8xmr-m95v-7f2r, CGA-927x-m459-rv92, CGA-9q5v-7p4q-xmr5, CGA-9x5r-fxv4-3g9w, CGA-c374-fm5r-62xq, CGA-c3vv-3mfc-42jw, CGA-c5hf-5269-4cxr, CGA-c6p8-jq32-q7hc, CGA-c7mq-vqrq-g25m, CGA-cm36-9h9v-p7j5, CGA-crvf-73x8-qgm7, CGA-cxq2-85f6-9wh9, CGA-f28q-qw74-cmjf, CGA-f49r-fw9c-3rp8, CGA-ffmc-h4fm-6qf6, CGA-fh45-6fgh-m5h6, CGA-fp96-f3ph-h6h9, CGA-fw44-2mjf-h5x5, CGA-fwhf-529g-2wxh, CGA-g7hc-6332-m69h, CGA-g7vp-xv3q-3wqq, CGA-ghc8-4c7v-hgv4, CGA-gjcx-6qwc-v629, CGA-gjfx-5fq9-h233, CGA-gp85-g763-qp77, CGA-gq88-32gj-4hcq, CGA-gvwg-q74h-79m9, CGA-gx4g-jgw4-v7j4, CGA-hmmc-w5pc-63rv, CGA-hpgp-wc6f-42jf, CGA-j75g-vjr2-g6mg, CGA-jhhg-g5vh-q9j2, CGA-jwh5-53wr-w95m, CGA-m856-4mq2-x763, CGA-mc9c-8rmc-2cgm, CGA-mcgv-x6fq-q843, CGA-mch7-hw94-9g94, CGA-mhpq-vxm9-j5p5, CGA-mwpv-mjpv-vv2x, CGA-mx2r-xqhw-x729, CGA-mx7m-226w-jcqc, CGA-p4hw-mrmx-hjrc, CGA-p4rg-8wfh-vm92, CGA-p7pm-hjpr-3xvw, CGA-p8w5-829c-292g, CGA-pgw8-x676-6gw6, CGA-pjjg-hw97-9f9x, CGA-pw66-9vff-2cj7, GHSA-75xq-5h9v-w6px, CGA-pxf7-g5mj-pvcp, CGA-qc38-j8xq-3x6c, CGA-qg8g-457c-4h7p, CGA-qvmr-63wx-6c36, CGA-r75p-q7vw-w7m6, CGA-rx78-xm9q-mcg2, CGA-v422-jq5q-hjgh, CGA-v67f-55vv-gqxx, CGA-vm8g-r98w-256f, CGA-vp5g-h66g-6879, CGA-vwfr-f59w-36w9, CGA-vx25-gc5v-fc53, CGA-w49w-7v2x-mqqh, CGA-w8c6-q8rx-xvrx, CGA-wggh-c43j-4wcj, CGA-x4cf-6569-xqc5, CGA-x65p-fg68-5r6j, CGA-xg7j-c6vw-hw47, CGA-xmfx-7f4r-p8p7, CGA-xqwv-6472-jxq2, CGA-xx78-34xv-qv87, ALPINE-CVE-2026-42258
- Record: https://cvemate.com/vulnerability/CVE-2026-42258 · JSON: https://cvemate.com/vulnerability/CVE-2026-42258/json

## Description

```text
Net::IMAP implements Internet Message Access Protocol (IMAP) client functionality in Ruby. Prior to versions 0.4.24, 0.5.14, and 0.6.4, symbol arguments to commands are vulnerable to a CRLF Injection / IMAP Command injection via Symbol arguments passed to IMAP commands. This issue has been patched in versions 0.4.24, 0.5.14, and 0.6.4.
```

## Signals

- CVSS: 7.1 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:N
- EPSS: 0.783%, percentile 57.374%, 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 88)

- alpine ruby-net-imap (Alpine Linux): \< 0.4.25-r0
- chainguard gitlab-rails-ce-18.1 (Chainguard): \< 18.1.6-r10
- chainguard gitlab-rails-ce-18.10 (Chainguard): \< 18.10.5-r1
- chainguard gitlab-rails-ce-18.11 (Chainguard): \< 18.11.3-r1
- chainguard gitlab-rails-ce-18.3 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.4 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.5 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.6 (Chainguard): \< 18.6.6-r4
- chainguard gitlab-rails-ce-18.7 (Chainguard): \< 18.7.6-r3
- chainguard gitlab-rails-ce-18.8 (Chainguard): \< 18.8.9-r1
- chainguard gitlab-rails-ce-18.9 (Chainguard): \< 18.9.7-r2
- chainguard gitlab-rails-ce-fips-18.1 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-fips-18.10 (Chainguard): \< 18.10.4-r1
- chainguard gitlab-rails-ce-fips-18.11 (Chainguard): \< 18.11.3-r2
- chainguard gitlab-rails-ce-fips-18.3 (Chainguard): \< 18.3.6-r7
- chainguard gitlab-rails-ce-fips-18.4 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-fips-18.5 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-fips-18.6 (Chainguard): \< 18.6.6-r4
- chainguard gitlab-rails-ce-fips-18.7 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-fips-18.8 (Chainguard): All versions (No fix recorded)

## References (first 20 of 41)

- <https://github.com/ruby/net-imap/security/advisories/GHSA-75xq-5h9v-w6px>
- <https://github.com/ruby/net-imap/releases/tag/v0.4.24>
- <https://github.com/ruby/net-imap/releases/tag/v0.5.14>
- <https://github.com/ruby/net-imap/releases/tag/v0.6.4>
- <https://access.redhat.com/security/cve/CVE-2026-42258>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2468498>
- <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-42258.json>
- <https://access.redhat.com/errata/RHSA-2026:37397>
- <https://access.redhat.com/errata/RHSA-2026:35895>
- <https://access.redhat.com/errata/RHSA-2026:33565>
- <https://access.redhat.com/errata/RHSA-2026:33540>
- <https://access.redhat.com/errata/RHSA-2026:33514>
- <https://access.redhat.com/errata/RHSA-2026:33515>
- <https://access.redhat.com/errata/RHSA-2026:35866>
- <https://access.redhat.com/errata/RHSA-2026:35867>
- <https://access.redhat.com/errata/RHSA-2026:34076>
- <https://access.redhat.com/errata/RHSA-2026:35834>
- <https://access.redhat.com/errata/RHSA-2026:33630>
- <https://access.redhat.com/errata/RHSA-2026:36099>
- <https://access.redhat.com/errata/RHSA-2026:33462>

---

Data as of 2026-12-05T04:24:58.255Z. 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
