Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
VOLERION
Volerion Security Research

NOT DEFERRED DATABASE

VULNERABILITIES

CVE-2026-47240 Details

ANALYZED


This CVE record has been analyzed and enriched by NVDAPI.com as an independent party.

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 data" argument that is sent verbatim after validation to prevent command injection. However, if a server does not support non-synchronizing literals, it may still be possible to inject arbitrary IMAP commands inside non-synchronizing literals. A server without support for non-synchronizing literals may interpret the "+}\r\n" as the end of a malformed command line and respond with a tagged BAD. In that case, the contents of the literal will be interpreted as one or more new pipelined commands, allowing a CRLF command injection attack to succeed. This affects criteria for #search and #uid_search; search_keys for #sort, #thread, #uid_sort, and #uid_thread; and attr for #fetch and #uid_fetch. This vulnerability is fixed in 0.6.5 and 0.5.15.

Metrics

CVSS 3.x Severity and Vector Strings:

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.

Weakness Enumeration

CWE-IDCWE NameSource
CWE-77Improper Neutralization of Special Elements used in a Command ('Command Injection')[email protected]
CWE-93Improper Neutralization of CRLF Sequences ('CRLF Injection')[email protected]

Affected Products

ProductVersions
Ruby Net::IMAP
>= 0.6.0, <= 0.6.4 (semver)
> 0, <= 0.5.14

CPE

  • cpe:2.3:a:ruby-lang:net::imap:*:*:*:*:*:ruby:*:*

Remediation

  • Upgrade: 0.6.4.1moderate effort
  • Upgrade: 0.5.15moderate effort
  • Mitigation:low effort

    Validate user-controlled inputs to prevent embedded non-synchronizing literals unless the server supports them.

  • Mitigation:low effort

    Prohibit all embedded literals by checking that string inputs do not contain any CR or LF bytes.

  • Mitigation:low effort

    Verify that the server advertises any of the LITERAL+, LITERAL-, or IMAP4rev2 capabilities before using untrusted string inputs for the affected "raw data" arguments.

Change History

2 change records found show changes


QUICK INFO

CVE Dictionary Entry:
CVE-2026-47240
NVD Published Date:
Jun 22, 2026
NVD Last Modified:
Jun 23, 2026
Source:
[email protected]
CVE-2026-47240 Details - Not Deferred