CVE-2026-47241

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

State
Published
Severity
2.1 Low
Published
Jun 22, 2026
Updated
Jun 23, 2026
Reserved
May 18, 2026

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
4.02.1 LowCVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:NGitHub_M

Weaknesses

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

Affected Products

ProductVersions
net-imapruby
  • >= 0.6.0, < 0.6.4.1Affected
  • < 0.5.15Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.