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-47242 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, when Net::IMAP#id is called with a hash argument, although the ID field value strings are correctly quoted (escaping quoted specials), they were not validated to prohibit CRLF sequences. While Net::IMAP#enable does process its arguments for aliases, it does not validate them as valid atoms (or as a list of valid atoms). The #to_s value is sent verbatim. Arguments to either command could be used by an attacker to inject arbitrary IMAP commands. 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

    Do not use untrusted inputs for client ID field values.

  • Mitigation:low effort

    Add validation to ensure client ID field values do not contain CR or LF bytes.

Change History

3 change records found show changes


QUICK INFO

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