VDB

CVE-2026-42258

CVE-2026-42258 PUBLISHED CVSS 5.8 MEDIUM

net-imap: Command Injection via unvalidated Symbol inputs

Reported by github_m · Published May 9, 2026

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
rubygem-io-console-debuginfoerrata.rockylinux.org0.7.1-13.el10
rubygem-rsserrata.rockylinux.org0.3.2-33.module, 0.3.1-13.el10, 0.3.1-7.module, 0.2.9-167.el9
gitlab-rails-ce-fips-18.11Chainguard18.11.3-r2
rubygem-rdocerrata.rockylinux.org7.0.3-33.module, 6.6.3.1-7.module, 6.3.4.1-167.el9
rubygem-pg-docerrata.rockylinux.org1.6.3-1.module, 1.5.4-2.module
ruby-libs-debuginfoerrata.rockylinux.org3.3.10-13.el10, 3.3.10-7.module, 2.5.9-115.module
rubygem-opensslerrata.rockylinux.org2.1.2-115.module
rubygem-typeproferrata.rockylinux.org0.21.9-13.el10, 0.21.9-7.module
rubygem-mysql2errata.rockylinux.org0.5.7-1.module, 0.5.5-3.module, 0.5.5-1.module, 0.4.10-4.module
rubygem-rexmlerrata.rockylinux.org3.4.4-33.module, 3.4.4-13.el10, 3.4.4-7.module, 3.2.5-167.el9
rubygem-rakeerrata.rockylinux.org13.3.1-33.module, 13.1.0-7.module, 13.0.3-167.el9, 12.3.3-115.module
ruby3.3-rails-8.0Chainguard8.0.5-r2

48 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 4.0
5.8
CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N

Affected products

VendorProductVersions
rubynet-imap< 0.4.24, >= 0.5.0, < 0.5.14, >= 0.6.0, < 0.6.4
chainguardgitlab-rails-ce-fips-18.110
Red HatRed Hat OpenShift Dev Spaces
Red HatRed Hat Enterprise Linux AppStream AUS (v.8.4)
chainguardruby3.3-rails-8.00
chainguardruby4.0-rails-8.10
amazon:2023ruby4.0-rubygem-minitest0
chainguardlogstash-8.190
Red HatRed Hat Enterprise Linux 8
Red HatRed Hat 3scale API Management Platform 2
chainguardlogstash-9.10
chainguardruby3.2-rails-7.20
amazon:2023ruby3.4-rubygem-rdoc0
wolfiruby3.3-rails-8.10
amazon:2023ruby3.4-rubygem-racc0
chainguardruby4.0-rails-7.20
wolfiruby3.4-rails-8.10
amazon:2023ruby4.0-rubygems-devel0
chainguardgitlab-rails-ce-fips-18.90
amazon:2023ruby4.0-libs0

…and 156 more

Timeline

  • May 4, 2026 CVE Published
  • May 10, 2026 Security Advisory (27 in total, the first dated here)
  • May 18, 2026 EPSS Score (30 in total, the first dated here)
  • Jun 30, 2026 Distribution Patch (33 in total, the first dated here)
  • Aug 4, 2026 Coalition ESS Score
  • Sep 1, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-42258
vulnetix vdb fixes CVE-2026-42258

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-42258/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›