Advisory Database
  • Advisories
  • Dependency Scanning
  1. gem
  2. ›
  3. net-imap
  4. ›
  5. CVE-2026-47241

CVE-2026-47241: Net::IMAP: Denial of Service via incomplete raw argument validation

June 9, 2026

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.

References

  • github.com/advisories/GHSA-c4fp-cxrr-mj66
  • github.com/ruby/net-imap/releases/tag/v0.6.4.1
  • github.com/ruby/net-imap/security/advisories/GHSA-c4fp-cxrr-mj66
  • nvd.nist.gov/vuln/detail/CVE-2026-47241

Code Behaviors & Features

Detect and mitigate CVE-2026-47241 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.5.15, all versions starting from 0.6.0 before 0.6.4.1

Fixed versions

  • 0.5.15
  • 0.6.4.1

Solution

Upgrade to versions 0.5.15, 0.6.4.1 or above.

Impact 3.5 LOW

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L

Learn more about CVSS

Weakness

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

Source file

gem/net-imap/CVE-2026-47241.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 23 Jun 2026 12:23:15 +0000.