CVE-2026-47241: Ruby Net-Imap
Low severity, CVSS 2.1. EPSS: 0.4% probability of exploitation activity in the next 30 days.
Net::IMAP implements Internet Message Access Protocol (IMAP) client functionality in Ruby. Prior to 0.6.5 and 0.5.15, several Net::IMAP commands accept a raw string argument which is only validated to prevent CRLF injection and then sent verbatim. If this string is derived from user-controlled input, an attacker can force the next command to be absorbed as a continuation of the first command. This will cause the first command to eventually fail, but also prevents it from returning until another command is sent (from another thread). That other command will not return until the connection is closed. This vulnerability is fixed in 0.6.5 and 0.5.15.
What to do
The record states a fixed version for each range of affected versions. Update to the one for the range your version is in: a later release on another branch may not have the fix.
- Ruby Net-Imap, from 0.6.0, before 0.6.4.1: fixed in 0.6.4.1
- Ruby Net-Imap, before 0.5.15: fixed in 0.5.15
Affected products
Affected packages
- net-imap (RubyGems)
Published 2026-06-22. Last modified 2026-10-25.