5.3Medium

Ruby-Lang Net\

CVE-2026-42258

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.

What this means for your business

  • It affects Ruby-Lang Net\. It matters if your company, or a supplier that handles your data, runs it.
  • An attacker can use it only with access to the machine itself, with an ordinary user login, and without anyone at your company clicking anything.
  • FIRST's prediction model gives it a 0.8% chance of attack attempts being seen in the next 30 days, ranking above 54% of all known flaws.

What to do

  1. 1Check whether your company or your suppliers run Ruby-Lang Net\, and which version. The affected versions are listed further down this page.
  2. 2If you do, apply the vendor's fix. A patch or vendor advisory has been published.

Not sure if your company is exposed?

Fastnexa’s certified penetration testers can check whether attackers could use this flaw, or others like it, against your websites, apps and network. The full test is free for our first 10 founding clients until 31 December 2026.

Scoring

CVSS
5.3 (v3.1)
Vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:L
CVSS v4
5.8
Weakness
CWE-77
Assigned by
security-advisories@github.com

Dates

Published
2026-05-09
Last modified
2026-08-24
Sources
NVD

Affected products

  • Ruby-Lang Net\- 0.4.24, 0.5.0 - 0.5.14, 0.6.0 - 0.6.4

As listed in the NVD configuration data. Not a statement about your estate.

References