CVE-2026-47241 PUBLISHED

Net::IMAP: Denial of Service via incomplete raw argument validation

Assigner: GitHub_M
Reserved: 18.05.2026 Published: 22.06.2026 Updated: 23.06.2026

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.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
CVSS Score: 2.1

Product Status

Vendor ruby
Product net-imap
Versions
  • Version >= 0.6.0, < 0.6.4.1 is affected
  • Version < 0.5.15 is affected

References

Problem Types

  • CWE-162: Improper Neutralization of Trailing Special Elements CWE
  • CWE-182: Collapse of Data into Unsafe Value CWE
  • CWE-186: Overly Restrictive Regular Expression CWE